On Thursday, 16 April 2015 at 16:27:07 UTC, rcorre wrote:
For example, right now I've (rather haphazardly) patched DCD to accept a line/column number instead of a byte offset (dutyl does this trivially with vim's line2byte).

I've avoided adding this features because byte offset is very exact. Column counts can be thrown off by tab width settings in some editors. Requiring that the lexer know the tab width before it even starts running is a bit of nonsense I'd prefer to not deal with.

Reply via email to