ScintillaOrg / lexilla

A library of language lexers for use with Scintilla
https://www.scintilla.org/Lexilla.html
Other
179 stars 64 forks source link

COBOL * and / comments in columns 7 #231

Closed mpheath closed 5 months ago

mpheath commented 6 months ago

Bug report from https://sourceforge.net/p/scintilla/bugs/1893/

Hello I found a bug in the comment display using the Cobol of notepad ++ language the problem occurs when you insert a tag from position 1 to position 6 and in position 7 there is an asterisk; in this condition the comment is not colored in green. however, it only happens in these conditions, in fact, if the tag is long from position 1 to 5 and in position 6 is one space is displayed correctly. example:

ABCDE * Comment colored in green
ABCDEF* Comment NOT colored in green

and comment about / bug which can be same as * though / signals new page:

Just checked, but if this ever fixed, whoever does so, should also include a slash (/) as a comment in position 7. This is also a comment (albeit with a throw to a new page in the old days of printing via a system printer)

Fix to be posted here to commit here.

mpheath commented 6 months ago

Fix: 231.zip

Includes fixes from #229 and #230 so please commit after those 2 fixes have been committed.