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?