Completed
Last Updated: 13 Mar 2024 09:45 by ADMIN
Release 2024.1.130 (2024 Q1)
Created by: Felix
Comments: 0
Category: SyntaxEditor
Type: Feature Request
4
Currently the Caret of the SyntaxEditor does not behave like Caret in MS TextBox/ RichTextBox when IME is opened - IME opens on the bottom right part of the screen instead of below the caret. Also some input issues when selection is done in the IME should be addressed for a full support of this feature.
Completed
Last Updated: 13 Jul 2023 08:43 by ADMIN
Release R2 2023 SP1
Created by: Martin Ivanov
Comments: 0
Category: SyntaxEditor
Type: Feature Request
1

Localize the tooltips for the match case button, the match word button and the use regular expression button.

Currently, the tooltips of the buttons are using hardcoded strings in English.

To translate the tooltips, you can get the corresponding buttons on load of the syntax editor control and replace their tooltips manually.

private void syntaxEditor_Loaded(object sender, RoutedEventArgs e)
{
	var buttons = this.syntaxEditor.ChildrenOfType<RadToggleButton>();
	var matchCaseButton = buttons.FirstOrDefault(x => x.Name == "PART_MatchCaseButton");
	var matchWordButton = buttons.FirstOrDefault(x => x.Name == "PART_MatchWordButton");
	var useRegularExpressionsButton = buttons.FirstOrDefault(x => x.Name == "PART_UseRegularExpressionsButton");

	matchCaseButton.ToolTip = CreateToolTip("SyntaxEditor_MatchCase"); // these are custom localization resource keys that should be manually defined by the developer that uses this solution
	matchWordButton.ToolTip = CreateToolTip("SyntaxEditor_MatchWord");
	useRegularExpressionsButton.ToolTip = CreateToolTip("SyntaxEditor_UseRegularExpressions");
}

private static ToolTip CreateToolTip(string resourceKey)
{
	var toolTip = new ToolTip();
	toolTip.Content = LocalizationManager.Manager.GetStringOverride(resourceKey);
	return toolTip;
}

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: 02 Jun 2023 08:39 by ADMIN
Release R2 2023
An exception is thrown when the RadSyntaxEditor is disabled with the Expression_Dark theme being applied with StyleManager.
Completed
Last Updated: 16 Mar 2023 05:55 by ADMIN
Release LIB 2023.1.320 (20 Mar 2023)

Single line folding regions is falsely recognized (by default it should be avoided) and messes up with outer regions.
For example
1 [

2 [ inner region]

3]

There should be no folding button on the inner line.  Collapsing line 1 does not collapse 3 but only 1 and 2 which is wrong.

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: 06 Mar 2023 15:04 by ADMIN
Release R1 2023 SP1
string link = "https:////_a_w_e_bsite.com" will falsely recognize a commented section and color it in CSharpTagger
Expected : no commented section and comment coloring in this code line
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: 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: 29 Jun 2022 07:24 by ADMIN
Release LIB 2022.2.704 (04 July 2022)
Expose API to control the FontWeight and FontStyle of the highlighted words.
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: 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: 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: 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: 27 Apr 2023 07:51 by ADMIN
Release R2 2023

Good morning,

can You implement in one of the next releases the regex and case sensitive search? I provided you the Visual Studio 2019 search screenshot

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: 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 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:

1 2