[TxMt] Select and Replace: magic needed....
Nicholas Cole
nicholas.cole at gmail.com
Mon Jun 15 18:11:07 UTC 2009
Dear All,
Many years ago, in a state of innocence, I hard-coded my LaTeX quotation marks.
> Thus I have text that `looks like this'.
I now find that it would have been MUCH better (if not essential) to have done:
> Thus I have text that \enquote{looks like this}
I can't do a search and replace, because there is no algorithm that
will get the quotes right, but I would like to be able to do the
following:
1. Select the text that needs changing with the mouse
2. Hit a key and have the text changed to the \enquote version.
I feel like this ought to be the sort of thing that TextMate excels
at. How should I do it?
Very best wishes,
Nicholas
More information about the textmate
mailing list