[TxMt] [bug] re-indent pasted text

Ruben Debeerst ruben.debeerst at gmx.de
Fri Sep 23 08:39:14 UTC 2005


I use Version 1.1b17 and have the re-indent-preference activated.

When I have a text like this:
<table>
    <tr>
       <td></td>
    </tr>
</table>

and copy the 3rd line (the _hole_ line) and paste it between the 3rd and 
4th line, I get:
<table>
    <tr>
       <td></td>
          <td></td>
    </tr>
</table>

Instead I would rather expect:
<table>
    <tr>
       <td></td>
       <td></td>
    </tr>
</table>


This doesn't happen, if the line before has no starting td-tag.


Another problem: If you put the cursor between the starting and ending 
td-tag and press return, you'll get this:

<table>
    <tr>
       <td>
          (cursor here)
</td>
    </tr>
</table>

However, I would expect the ending td-tag to be indented.




More information about the textmate mailing list