Completed
Last Updated: 29 Apr 2020 09:21 by ADMIN
Release 2020.1.427
Jürgen
Created on: 23 Apr 2020 05:33
Category: SyntaxEditor
Type: Bug Report
0
SyntaxEditor: Space key does not enter text and results in lost focus when the control is hosted in RadListBox

SyntaxEditor is in RadListBoxItem.

Entering space key does not produce text change and gets the focus lost our of the editor.

Workaround:

    private void RadSyntaxEditor_PreviewKeyDown(object sender, KeyEventArgs e)
        {
            if (e.Key == Key.Space)
            {
                (sender as RadSyntaxEditor).Insert(" ");
                e.Handled = true;
            }
        }
0 comments