TAtSynEdit - Wrap Text, But Keep Tab Indent?

Post Reply
TomC
Posts: 13
Joined: 29.05.2022 05:11

TAtSynEdit - Wrap Text, But Keep Tab Indent?

Post 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...
main Alexey
Posts: 2404
Joined: 25.08.2021 18:15

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

Post by main Alexey »

No, and coord-converting functions don't support it too.
we have property OptTextCenteringCharWidth, somewhat related.
main Alexey
Posts: 2404
Joined: 25.08.2021 18:15

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

Post by main Alexey »

Component supports this ONLY if tab/space-chars are leading in line. But you have it not leading.
Post Reply