[TxMt] Re: smart home

Robin Houston robin.houston at gmail.com
Tue Apr 10 14:05:20 UTC 2007


On 4/10/07, Robin Houston <robin.houston at gmail.com> wrote:
>
> You could record a macro that selects the current line (apple-L) then
> invokes the command.


Apple-SHIFT-L, sorry!

Also, the line of Ruby code I posted needs to be changed to

  line = line.gsub(/([\$\\`])/){"\\#$1"}

otherwise it gives an error when
 a) the cursor is already at the end of the initial whitespace on the line,
and
 b) the line contains a special character ($, \, or `).

Robin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20070410/403d4717/attachment.html>


More information about the textmate mailing list