[TxMt] Re: Cursor position in bytes
doob at me.com
Sun Aug 7 19:09:51 UTC 2016
> On 07 Aug 2016, at 16:20, Allan Odgaard <mailinglist at textmate.org> wrote:
> If you ask TextMate to jump to offset 1,000 then I assume you expect this to be based on the bytes on disk, but TextMate may convert encoding or line delimiters when loading a file, so it would need to map the offset to match the memory representation.
Right. Is TextMate using the same encoding as the file or an internal encoding. Or is that an implementation detail?
> IMHO the tool should be updated to output warnings/errors as line:column and not byte offset.
I can file an enhancement request for the tool and see what they say.
More information about the textmate