[TxMt] Strange whitespace behaviour?

Sven Fuchs svenfuchs at artweb-design.de
Sat Oct 21 13:56:19 UTC 2006


I'd be super-happy if someone could help me with the following  
Textmate behaviour.

a. The cursor is in any line that has more characters than the  
previous line, like so:

line 1 | ¬
line 2 | 12345¬

When the cursor is at the end (column 6) of line 2 and moved up one  
line then it stays in column 6, i.e. behind the ¬ end-of-line marker  
of line 1. Like this:

line 1 | ¬     x
line 2 | 12345¬

b. When now return/enter is hit so that a new line gets inserted then  
there are also spaces inserted (filling up the place between the end- 
of-line marker and the previous place of the cursor) in line 1.

line 1 |      ¬
line 2 | ¬
line 3 | 12345¬

Is there any reasoning behind this? It feels really strange to me and  
conflicts with several editing habits of mine.

While editing code the insertion of whitespace in line 1 actually  
leads to masses of whitespace cluttered all over the place. I can't  
imagine that this is intentional. :)

Any hints?

--
sven fuchs			fon:  +49 (58 45) 98 89 58
artweb design			fax:  +49 (58 45) 98 89 57
breite straße 65		www: http://www.artweb-design.de
de-29468 bergen		mail: svenfuchs at artweb-design.de



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the textmate mailing list