java compliant line and column counting
The fast lexer generator for Java
Brought to you by:
lsf37,
steve_rowe
It would be nice to have an option to switch line and column counting into a mode that will only count \n and \r\n as new lines. I didnt't find an editor that handles the unicode line breaks correctly anyway and i am trying to write a java compliant lexer.
mfG Michael
actually java regards a sole \r as new line aswell
patch against the latest svn revision (623)
patch against the current release 1.4.3 to add a switch %javanl that switches to java compliant new line mode