Hi,
Editor.Document.CurrentSnapshot.GetText() returns the current text where new lines are \n characters rather than the usual \r\n.
Is there a specific reason for this behavior? Is it possible to act on some parameter to restore the usual behavior?
Thanks,
marc.
Using the visual studio,when the mouse over the code folding button,the code including region line will become thick.
look at the attachment.
How to realize for the RadSyntaxEditor?
Hey,
I'm looking to have a RadSyntaxEditor's horizontal scroll bar react to a trackpad or mouse wheel input.
Vertical scrolling works just fine, so I can hide the verticalscrollbar but I need to select the horizontal one to move horizontally.
Is there a way to set it for horizontal as well? Did I miss a setting somewhere?
I tried this solution : Horizontal Scrolling w/ Mouse Wheel/Trackpad in UI for WPF | Telerik Forums but it didn't work for me.
I don't know if it's because this solution is in a window and I'm in an usercontrol.
Thanks in advance !
Hello,
I'm currently using a RadSyntaxEditor for user text inputs. The problem I'm facing happens when a user tries to write anything using an Asian IME, for example the Japanese IME with Hiragana input. Instead of having a predictive text dropdown open at the point of the caret, it opens a little input box in the corner of the screen and the predictive text dropdown opens at that position.
Is there a way to have the predictive text dropdown open at the position of the caret in the SyntaxEditor?
For reference, I have reproduced the issue in the Telerik UI for WPF SDK Samples Browser, the "Custom Language Highlighting" demo and attached the screenshot of the observed behaviour.
Any help would be appreciated, thank you.
Hi,
I'm using the RadSyntaxEditor with the XmlTaggers.
Unfortunately, when I switch from Light theme to Dark theme, the background color change in black but the text don't became white.
So we haven't a lot of contrast between background and text.
I use implicit style :
<ResourceDictionary Source="/Telerik.Windows.Themes.VisualStudio2013;component/Themes/Telerik.Windows.Controls.SyntaxEditor.xaml"/>
I try to force it : <telerik:RadSyntaxEditor x:Name="SyntaxEditor" Margin="10,10,0,10" telerik:StyleManager.Theme="VisualStudio2013">.
Nothing change. You will find attached two pictures describing the situation.
Oh, and I'm using Telerik 2020.1.115.45.
Regards,
Florian
Hello,
Where can I download this demo source code? Is it available?
Thank you,
Alberto