Completed
Last Updated: 18 Jul 2022 06:40 by ADMIN
Release LIB 2022.2.718 (18 July 2022)
Created by: Ayrton1981
Comments: 0
Category: SyntaxEditor
Type: Bug Report
0
The completion list appears transparent when the Material theme is applied.
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.

Unplanned
Last Updated: 18 Nov 2021 10:32 by ADMIN

When using XML Tagger, XML Folding tagger with XML text document, the folding tagger freezes the UI while typing.
Generally in Visual Studio, the XML Folding tagger is processed in background while in SyntaxEditor this is done on the UI thread.
Several optimization options might be applied:

    - process xml folding in background

    - process folding similar to process search while typing - a period of inactivity time is needed to invalidate the search / folding

   - caching - if the edit does not change the folding configuration, no processing and redrawing of folding is required

  - some parts for extracting tooltip content and folded content should be optimized

Completed
Last Updated: 11 Oct 2021 14:28 by ADMIN
Release LIB 2021.3.1018 (18 Oct 2021)

When using LineHighlightTagger a NullReferenceException is thrown. To workaround this exception, you can add a custom TextFormatDefinition object to the TextFormatDefinitions collection of the RadSyntaxEditor.

this.syntaxEditor.TextFormatDefinitions.AddLast(LineHighlightTagger.LineHighlightFormatDefinition, new TextFormatDefinition(new Telerik.Windows.Controls.SyntaxEditor.UI.Pen(new SolidColorBrush(Colors.Gray), new Thickness(1))));

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: 22 Mar 2021 07:24 by ADMIN
Release LIB 2021.1.322

Shift + Alt + Down Selection then typing multiple characters results in all of them being typed in all selected lines.

Shift + Alt _ Down Selection then typing multiple characters results in only the first one being typed in all lines, then selection is lost and next chars are inserted in the last selected line only.

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: 26 Feb 2021 08:50 by ADMIN
Release LIB 2021.1.301 (1/03/2021)

//using System;

//usign System.Windows.Controls;

Two consecutive lines with commented using sections result in ArgumentOutOfRangeException in SyntaxEditor with CSharpFoldingTagger.

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: 27 Jan 2021 08:26 by ADMIN
Release LIB 2021.1.201

Character data sections are not recognized and colored by the XmlTagger in SyntaxEditor.

Visual Studio:

SyntaxEditor:

Also parsing such elements is wrong:

Expanded OK:

Collapsed BUG (Node is closed but it shouldnt):

issue 2 - single line CDATA does not need folding button

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: 23 Sep 2020 13:25 by ADMIN
Release LIB 2020.3.928

When the variation is changed in the VisualStudio2013 theme, the Foreground is not updated. 

As a workaround, you can reset the Template of the control:

var template = this.syntaxEditor.Template;
this.syntaxEditor.Template = null;
this.syntaxEditor.Template = template;

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 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
Unplanned
Last Updated: 10 Jul 2020 10:03 by ADMIN
Foldings are incorrect when there is a missing open or close tag.
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.
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: 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: 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

1 2