Unplanned
Last Updated: 14 Oct 2026 08:48 by ADMIN
Dennis
Created on: 14 Oct 2026 08:39
Category: SyntaxEditor
Type: Bug Report
0
SyntaxEditor: Text is clipped on the right when line numbers are hidden and word wrap is disabled

Text is clipped on the right when line numbers are hidden and word wrap is disabled.

1 comment
ADMIN
Dinko | Tech Support Engineer
Posted on: 14 Oct 2026 08:48

Hi Dennis,

Thank you for reporting this. As a workaround, we can remove the LineNumberMargin element from the Margins collection using the following code:

for (int index = margins.Count - 1; index >= 0; index--)
{
	if (margins[index] is LineNumberMargin)
	{
		margins.RemoveAt(index);
	}
}

Regards,
Dinko | Tech Support Engineer
Progress Telerik

Modernizing a WinForms application? Use the AI-powered WinForms Converter to simplify migration to Telerik UI for WinForms.