On 26/7/2006, at 18:27, Eric D. Fields wrote:
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. [...]
I have changed the command to the following, which makes it leave the indent to the left of the start tag:
perl -pe 's/[$`\]/\$&/g; s/([ \t]*)(.+)/$1<${1:li}>$2</${1 /\s.*//}>/'