[TxMt] Re: Cursor position in bytes
mailinglist at textmate.org
Tue Aug 9 18:59:20 UTC 2016
On 6 Aug 2016, at 21:01, Jacob Carlborg wrote:
> I’m currently working on adding some new features to the D bundle.
> These are features like code completion, go-to-definition and similar
> features. These commands are using a parser tool which expects the
> current cursor position in bytes from the start of the source file.
> TextMate only provides the cursor position in the form of column and
> line number.
We can provide this as a variable but the user can have multiple
insertion points, column selections, and place carets beyond end-of-line
or a tab character.
Any suggestion as for how to provide this info?
More information about the textmate