Версия для печати темы
Нажмите сюда для просмотра этой темы в оригинальном формате
Форум программистов > SynUniHighlighter and SynEdit (English Language) > SynEditor word wrapping question


Автор: bherila 14.2.2008, 09:49
In a Linux program called Kile, there is a source editor that preserves wrapping like in the screen shot below.

user posted image

Essentially, the wrapped lines are indented automatically so they are on the same level as the start of the line. 

Is there any way to achieve this type of wrapping with a TSynEditor? I don't know where to start, and would much appreciate any pointers/code snippets. Can this be done somehow in SynEditWordWrap.pas?

Thanks in advance, and sorry about the poll. I do not understand Russian and could not figure out how to make a post without a poll. 

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)