[TxMt] column counter bug in conjunction with TABs?

Allan Odgaard throw-away-1 at macromates.com
Mon Nov 6 12:38:33 UTC 2006


On 6. Nov 2006, at 13:18, Hans-Joerg Bibiko wrote:

> TAB TAB TAB HalloTAB World
> |   |   |   |        |
> |   |   |   |        -21!!! (it should be 22!!)

No, it should be 21:

     % echo -n 'A'|expand -t4|wc -c
        1

     % echo -n '\t\t\tHello\tW'|expand -t4|wc -c
       21






More information about the textmate mailing list