Hi support team,
I use the Single-Line Editing with word wrap.
I defined a custom language with langdef-File, use a MergeableProgrammaticLexer for Lexing, a derived class from LLParserBase with a custom Grammar class.
Assume there are tokens like this "aaa", "bbb", "ccc", and so on. They can be added together in a text like this "aaa-bbb,ccc,ddd,eee,fff,ggg"
In a single line field with enough space for the text only in a single line, there is no word wrap, when I enter the sign "-" after a token.
When the single line field gets shorter (e.g. due to resizing a window) or there are already two lines of text in the single line field like this
and I enter a "-" between "aaa,bbb....."
the word wrap causes a text like this:
I would have expected something like this:
The sign "-" causes a kind of line break/word wrap with a lot of spaces, which is not the expected behaviour.
I know, it's hard due to my special custom classes with langdef-File, Grammar,..., to give me a solution.
But perhaps you will have a hint, which part of the syntax framework could cause this. Is it the MergeableProgrammaticLexer, the langdef, the Parser, the Grammar?
The question is, why is the word wrap located directly after the sign "-" and not after a "," or any valid token?
How and where does the word wrap locate the place in a text to "wrap". Does it look for special tokens?
I hope you have any hint, where I can look for and my description is not too complicated.