Hi,
I would like to use WordWrapMode = Word.
Actually, I don't use it as the formatting rule of a text in our syntaxeditor should be,
to insert a tab before the word in the new line after a line break (NewLine: \r\n)
This works perfect (using TextFormatter) now for NewLine inserted with Enter-Key.
When I now want to use WordWrapMode = Word, I assume, "soft line breaks" are inserted.
As well there should be a tab before the word in the new line after a soft line break.
How can I recognize a soft line break in the text I get from the snapshot?
I tried it already with defining a token "SoftLineBreak" with regexp "\r\r\n" but this seems not to work.
As you can insert WordWrapGlyphs, you must be able to recognize the soft line break.
How do you do that?
Could you help me?
Cheers
Christel