Request for editor scripting help

Brian Schott briancschott at gmail.com
Tue Aug 13 00:08:27 PDT 2013


On Tuesday, 13 August 2013 at 06:58:23 UTC, Tobias Pankrath wrote:
> How hard would it be  for dcd to offer completion based on line 
> and column numbers instead of byte offsets?

It's more code to maintain, but it's possible. The token 
structure stores its line and column.

https://github.com/Hackerpilot/Dscanner/blob/master/stdx/d/lexer.d#L129


More information about the Digitalmars-d mailing list