[TxMt] Wrap text while preserving formatting

Kevin Ballard kevin at sb.org
Thu Jul 27 07:30:15 UTC 2006


Have you tried column-selecting the list, so none of the whitespace before
each number is in the selection?

> Perhaps I'm doing this wrong, but I'm trying to figure out a way to do
> wrap text using the command-ctrl-shift-w shortcut while preserving my
> code formatting.
>
> If i have this:
>
> <ul>
> 	1
> 	2
> 	3
> 	4
> </ul>
>
> then select my prospective list items, command-ctrl-shfit-w, and i get
> this:
>
> <ul>
> <li>	1</li>
> <li>	2</li>
> <li>	3</li>
> <li>	4</li>
> </ul>
>
> but i'd really like this:
>
> <ul>
> 	<li>1</li>
> 	<li>2</li>
> 	<li>3</li>
> 	<li>4</li>
> </ul>
>
> is this possible? is there any "special" way to select text so that
> i'm just selecting the items i want and not the formatted-related tabs
> or spaces? or is there yet a better way?

-- 
Kevin Ballard
http://www.tildesoft.com
http://kevin.sb.org
kevin at sb.org




More information about the textmate mailing list