Unplanned
Last Updated: 09 Feb 2021 08:11 by ADMIN
Ken
Created on: 09 Feb 2021 08:07
Category: SyntaxEditor
Type: Bug Report
1
RadSyntaxEditor: Very long strings are not colored properly when they are not entirely visible
1 comment
ADMIN
Hristo
Posted on: 09 Feb 2021 08:11

Hi,

The issue is caused by the insufficient horizontal cache.

Workaround: Increase the HorizontalVirtualizationStep

typeof(LineBasedUILayer<ClassificationTag>).GetField("HorizontalVirtualizationStep", BindingFlags.Static | BindingFlags.NonPublic).SetValue(null, 200);

Result:

Setting a very big step may affect the performance and even with such a step the coloring may fail in certain cases when you have extremely long strings.

Regards,
Hristo
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/.