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: 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: 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: 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: 01 Jul 2020 10:19 by ADMIN
Release LIB 2020.1.302 (02/03/2020)
Introduce a property to control whether the matching of the start and end folding tags is case sensitive or not.
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: 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: 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: 30 Jun 2020 11:52 by ADMIN
Currently, if you load a big .xml file with big number of tags, the XmlFoldingTagger takes a lot of time to execute its logic. Improve the performance in those situations.
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: 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: 30 Apr 2020 06:46 by ADMIN
Release R2 2020
Currently the strings are not colored in C#, VB, JS documents working with CSharpTagger, JavaScriptTagger, VisualBasicTagger. Make the strings colored out of the box.
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: 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: 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: 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.

Declined
Last Updated: 17 May 2021 12:42 by ADMIN
Created by: Robby
Comments: 1
Category: SyntaxEditor
Type: Feature Request
0

Default keystroke in other editors to activate text replacement is: ctrl+H

Would be nive to enable this in the syntax editor.

 

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;