I just noticed that when editing a an HTML file, TextMate seems to report the indent level of the tags rather than the column numbers. I have my indent set to two spaces (soft tabs) and the following code will show 2:2 when the cursor is at the beginning of the second paragraph tag when it should display 2:3.
<p> <p>
</p> </p>
TextMate version 2.0-beta.8 OSX version 10.10.5
On 18 Sep 2015, at 22:35, Curt Sellmer wrote:
I just noticed that when editing a an HTML file, TextMate seems to report the indent level of the tags rather than the column numbers. I have my indent set to two spaces (soft tabs) and the following code will show 2:2 when the cursor is at the beginning of the second paragraph tag when it should display 2:3.
It currently report the “bytes” counted. This is because of multi-byte characters (UTF-8) and combining characters (Unicode), I’ve postponed adding code for this because a simple implementation would at best be O(n) and already there are issues with long lines, so I didn’t want to add more issues.