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;
}
}
SyntaxEditor showing XML/Html/XAML File and XMlFoldingTagger is registered.
Deleting the last bracket symbol ">" results in exception in XMLFoldingTagger.cs
Hello,
When we resize the syntaxEditor control, the folding buttons moved. You can reproduce this isssue in your demos.
Best regards,
I do have some feedback on this component. I love it, but of course there are some areas where improvement can be made. For instance, in the screenshot below, I have highlighted some words where improvement can be made.
If you have an XML attribute with a string value, but the value is not fully rendered into the viewport, its color defaults to black, instead of the expected blue color.
To work this around, you can create a custom XmlTagger and override its GetTags() method. This will allow you to properly catch the string value and return it as a tag span element with its ClassificationType set to "string".
Hello,
We would like to use SyntaxEditor by providing our own programming language definition. It would be great to have the ability to feed SyntaxEditor with a language definition file. This file could be use an EBNF-like format to provide syntax coloration.
Thanks & regards,