Page 1 of 1

TAtSynEdit - Wrap Text, But Keep Tab Indent?

Posted: 16.06.2024 11:13
by TomC
Hello,

Was Wondering, With "Wrapped" TAtSynEdit Text, for Example:

Code: Select all

Descripton:{Tab}This is a test line that wraps, and 
		wraps some more...
Is there a way to have the wrapped lines align with the tab, like above?
Especially when using a variable width font...

Re: TAtSynEdit - Wrap Text, But Keep Tab Indent?

Posted: 16.06.2024 11:16
by main Alexey
No, and coord-converting functions don't support it too.
we have property OptTextCenteringCharWidth, somewhat related.

Re: TAtSynEdit - Wrap Text, But Keep Tab Indent?

Posted: 16.06.2024 11:18
by main Alexey
Component supports this ONLY if tab/space-chars are leading in line. But you have it not leading.