Lexer & Caret alignment
Posted: 21.03.2021 22:14
I experience an identical issue in 2 applications that use SynWrite as the code editor. GCB & FBedit
With commented code lines the editor(s) make green & Italic font for the text after comment chr.
Example 'This Is a Comment Line
The issue I have is the caret does not align to the actual text in parts of the line which make it difficult to edit (wrong chr deleted etc...) . The misalignment can also be observed when dragging selection on the line.
It is not so evident in short comment lines.
Q. Is this just a lexer issue with the app's (thought I would ask here first) or SynWrite [or maybe my installation].
My OS is Win7p x64
In attachment, the three lines 44,45,46 all have the same line end position. (for test 45 is Tabs & 46 is spaces issue = same)
1 chr is selected
With commented code lines the editor(s) make green & Italic font for the text after comment chr.
Example 'This Is a Comment Line
The issue I have is the caret does not align to the actual text in parts of the line which make it difficult to edit (wrong chr deleted etc...) . The misalignment can also be observed when dragging selection on the line.
It is not so evident in short comment lines.
Q. Is this just a lexer issue with the app's (thought I would ask here first) or SynWrite [or maybe my installation].
My OS is Win7p x64
In attachment, the three lines 44,45,46 all have the same line end position. (for test 45 is Tabs & 46 is spaces issue = same)
1 chr is selected