[TxMt] Hard wrapping again
Guido Governatori
guido at itee.uq.edu.au
Wed Oct 31 10:24:19 UTC 2007
On 31/10/2007, at 7:34 PM, Andy Armstrong wrote:
> On 31 Oct 2007, at 08:46, Guido Governatori wrote:
>> Reformat paragraph alone (^Q) does not work in the way I like, but
>> selecting a line Shift-cmd-L and ^Q does what I want.
>>
>> What I would like to know is whether there is a way to automate
>> this procedure for a file (all the line in the file), or whether I
>> have to write my own command for this (or there is a script called
>> by ^Q).
>
>
> Just set up a command that pipes the text through fmt.
It merges lines.
line
\[
math
\]
line
is transformed into
line \[
math
\] line
But the worst part is with comments :-(
Thanks anyway
Guido
--
Dr Guido Governatori
School of Information Technology and Electrical Engineering
The University of Queensland
Brisbane, Queensland, 4072, Australia
Phone: +61-(0)7-336 52907
Fax: +61-(0)7-336 54999
http://www.governatori.net/TextMate
http://www.defeasible.org
More information about the textmate
mailing list