This is an odd one - see attached GIF.
If I attempt to select characters with the mouse (left-click + drag), at the beginning of any line of text, it won't highlight (90+% of the time). That's if I'm dragging from left-to-right.
If I select the same text from right-to-left, it works every time.
Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
Thanks for the info, Dess.
Removing that margin, as you describe, does allow the selection process to work as expected.
Unfortunately, doing so also messes with the ShowLineNumbers functionality (which is a needed feature). The user is currently able to toggle line numbers on and off, but with the below code you suggest, now they overlap with the source. -- SEE ATTACHED GIF.
Thoughts on how to do both?
Thanks,
Joe
Hello, Joe,
I am really sorry that you are experiencing any difficulties with RadSyntaxEditor.
Following the provided information, I have tested the behavior on my end. Please refer to the attached gif file. It is important to note that whether the selection is started from the empty space before the code or from the first character on the line itself.
I am approving this item by changing its status to Unplanned. I have also updated your Telerik points.
A possible solution that i can suggest is to remove the FolderMarging:
this.radSyntaxEditor1.SyntaxEditorElement.Margins.ScrollableLeft.RemoveAt(1);
I hope this information helps. If you need any further assistance please don't hesitate to contact me.
Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.