Completed
Last Updated: 27 Feb 2020 12:49 by ADMIN
Release LIB 2020.1.302
Created by: Olivier
Comments: 1
Category: SyntaxEditor
Type: Bug Report
3

Hello,

When we resize the syntaxEditor control, the folding buttons moved. You can reproduce this isssue in your demos.

 

  1. Reduce the contents of the sample
  2. Increase the size of sample window and see the buttons are not besides the line

 

Best regards,

Completed
Last Updated: 14 Jul 2020 05:54 by ADMIN
Release LIB 2020.2.720 (7/20/2020)
Created by: Dinko
Comments: 0
Category: SyntaxEditor
Type: Bug Report
2
The GotoLine method is not implemented
Completed
Last Updated: 21 Apr 2022 14:03 by ADMIN
Release LIB 2022.1.207 (7 Feb 2022)
For example "//====" will not be commented in C#. 
Or "!====" wont' be commented in custom language if "!" is the commenting symbol.
The issue resides in the word splitting function in WordTaggerBase class.

Completed
Last Updated: 25 Nov 2019 15:04 by ADMIN
Release LIB 2019.3.1202

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".

Completed
Last Updated: 10 Apr 2020 05:08 by ADMIN
Release LIB 2020.1.413 (04/13/2020)
If secondary wpf window is opened in an application, the enter key does not work in SyntaxEditor. It does not produce new line as expected.
Completed
Last Updated: 14 May 2020 15:18 by ADMIN
Release LIB 2020.2.518 (18.05.2020)

When the control is inside ScrollViewer and you click it, focus is lost and caret disappears. Some controls have built in ScrollViewer , for example LayoutControl so placing the editor in LayoutControl also leads to the same issue.

Generally placing the syntaxeditor in scrollviewer is risky for the vertical virtualization so at least a height should be set to the control. In R2 2020 SP, an exception will be thrown if Syntax Editor with no height is added in scroll viewer or stack panel or other panel which measures vertically with infinity.

Workaround for this issue:

        private void syntaxEditor_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            e.Handled = true;
        }
Completed
Last Updated: 23 Sep 2020 12:55 by ADMIN
Release LIB 2020.3.928

In some scenarios, an ArgumentException is thrown when a folding region with selected text is collapsed. An example can be seen below:

Completed
Last Updated: 14 Oct 2020 11:05 by ADMIN
Release R3 2020 SP

After putting a folding region out of the viewport by scrolling and then bringing it back, the folding region is not drawn correctly when typing new lines into it.

Completed
Last Updated: 01 Mar 2021 05:56 by ADMIN
Release LIB 2021.1.301 (1/03/2021)
The highlighting of tags becomes invalid when scrolling horizontally.
Completed
Last Updated: 18 Feb 2021 14:43 by ADMIN
Release R1 2021 SP1

/* and */ words are start /end words for multiline comments in C#/SQL/VB 

They should be outside strings when they form a comment block.

Completed
Last Updated: 18 Nov 2022 06:13 by ADMIN
Release LIB 2022.3.1121 (21 Nov 2022)
Big text with many lines or lines long enough to cover the viewport height when wrapped with word wrapping break the virtualization mechanism in RadSyntaxEditor. This makes the scrolling and resizing performance slow.
Completed
Last Updated: 06 Mar 2023 15:23 by ADMIN
Release R1 2023 SP1
Enter key is improperly handled internally and this results in inability to use the key in combination with other modifier keys for custom commands.

For example this custom code completion command does not fire when pressing Ctrl + Enter:

        private void syntaxEditor_Loaded(object sender, RoutedEventArgs e)
        {
            var completionCommand = this.syntaxEditor.Commands.CodeCompletionCommand;
            InputBinding keyBinding = null;
            foreach (InputBinding item in this.syntaxEditor.EditorPresenter.Caret.InputBindings)
            {
                if (item.Command == completionCommand)
                {
                    keyBinding = item;
                    break;
                }
            }

            // unregister old key binding via Caret InputBindings
            this.syntaxEditor.EditorPresenter.Caret.InputBindings.Remove(keyBinding);

            // register new command in Syntaxeditor
            this.syntaxEditor.KeyBindings.RegisterCommand(completionCommand, Key.Enter, ModifierKeys.Control);
        }
Completed
Last Updated: 20 Jun 2023 06:04 by ADMIN
Release LIB 2023.2.619 (19 Jun 2023)
Searching "windows" in the text "Windows Windows Windows" with option MatchCase highlights all windows which is wrong - no highlight should be performed
Completed
Last Updated: 17 Oct 2019 08:29 by ADMIN
Release R3 2019 SP1
Folding tagger does not work for other languages than C#.
It should be renamed to CSharpFoldingTagger.
FoldingTagger should be base , extensible class with options to set collections of opening symbols (brackets) or words (for startinga  method / class, region) and closing symbols / words.

Completed
Last Updated: 22 Jan 2020 12:34 by ADMIN
Release LIB 2020.1.127 (01/27/2020)
'Cannot find resource named 'DragVisualStyle' error occurs in in the error list when using implicit styles.
Completed
Last Updated: 05 May 2021 10:03 by Petar
Release LIB 2021.1.301 (1/03/2021)
In some cases the string values in the XML attributes are not colored with the expected color, but default to black.
 
This was reproduced when there is only single quotation mark on visible on the line. And also if the count of the visible quotation marks on the line is an odd number (not always reproducible). 

Completed
Last Updated: 20 Apr 2020 10:11 by ADMIN
Release LIB 2020.1.420 (04/20/2020)

SyntaxEditor showing XML/Html/XAML File and XMlFoldingTagger is registered.

Deleting the last bracket symbol ">" results in exception in XMLFoldingTagger.cs

Completed
Last Updated: 29 Apr 2020 09:21 by ADMIN
Release 2020.1.427

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;
            }
        }
Completed
Last Updated: 22 May 2020 12:42 by ADMIN

For example:

some text // some comment

some text 2 // some comment 2

Specified argument was out of the range of valid values.
Parameter name: span

 

StackTrace:

at Telerik.Windows.SyntaxEditor.Core.Text.DataStructures.ConcatenationRopeNode.GetText(Span span) in C:\WPF_Scrum\Current\Controls\SyntaxEditor\SyntaxEditor.Core\Text\DataStructures\ConcatenationRopeNode.cs:line 140
   at Telerik.Windows.SyntaxEditor.Core.Text.TextSnapshot.GetText(Span span) in C:\WPF_Scrum\Current\Controls\SyntaxEditor\SyntaxEditor.Core\Text\TextSnapshot.cs:line 118
   at Telerik.Windows.Controls.SyntaxEditor.Taggers.CSharpFoldingTagger.GetFoldingRegionTitle(String inputValue, Span span, String startText) in C:\WPF_Scrum\Current\Controls\SyntaxEditor\SyntaxEditor\Taggers\Folding\CSharpFoldingTagger.cs:line 202

Completed
Last Updated: 18 May 2020 12:08 by ADMIN
Release LIB 2020.2.518 (05/18/2020)
Keyboard focus is lost on CompletionListWindow when setting runtime new collection to the CompletionListItems property. The values inside CompletionListWindow can't be selected through the keyboard arrow keys.
1 2