[SVN] r6407

Allan Odgaard throw-away-1 at macromates.com
Sun Feb 11 14:25:14 UTC 2007


On 27. Dec 2006, at 22:43, Thomas Aylott wrote:

> support for tabs :/
> Argh! Finding the number_of_tabs_before_cursor is pretty stinkin  
> tricky.
> Allan, any chance you can supply us with environment variables like:
> actual_caret_position, text_before_caret & text_after_caret. That  
> would really make this stuff easier

TM_COLUMN_NUMBER is the *visual* column position of the caret (one  
based) where TM_LINE_INDEX is the (zero based) character index into  
the current line.





More information about the textmate-dev mailing list