[TxMt] column counter bug in conjunction with TABs?

Hans-Joerg Bibiko bibiko at eva.mpg.de
Mon Nov 6 12:18:50 UTC 2006


Hi,

Within TM's status bar you find 'Line: xx Column: xx'

If I use e.g. Tab Size: 4 and 'No Soft Tab' the column counter only  
works for TABs from the beginning of a line but not for TABs within a  
line.

Example:

I have the following line (numbers := column counter):

TAB TAB TAB Hallo
|   |   |   |
|   |   |   -13
|   |   -9
|   -5
-1

OK, but

TAB TAB TAB HalloTAB World
|   |   |   |        |
|   |   |   |        -21!!! (it should be 22!!)
|   |   |   |
|   |   |   -13
|   |   -9
|   -5
-1

The same also for 'Hallo TAB World'.

Please note: 'TAB ' means '\t' but easier to count.

Or am I completely wrong???

I'm using Cutting Edge TM 1.5.4 (1324)

Best,
Hans



More information about the textmate mailing list