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: 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: 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: 08 Sep 2022 15:41 by ADMIN
Release R3 2022
Created by: Petar
Comments: 1
Category: SyntaxEditor
Type: Feature Request
21
Add ability to disable horizontal scrollbar and enable word wrapping - fixed width of editor and if the word cannot fit - it is moved to next line.
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: 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: 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: 31 May 2021 08:01 by ADMIN
Release LIB 2020.2.406 (04/06/2020)
A message could be shown when using the Find mechanism, and you reach the end of the file or the starting point of the search. 
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.

1 2