[TxMt] Re: repeat scratch macro
Jacob Rus
jrus at hcs.harvard.edu
Mon Sep 11 15:58:53 UTC 2006
Andreas Wahlin wrote:
> I sometimes find myself reformating big chunks of code (html) and then i
> usually build a little scratch macro, and then i just hit shift
> +command+m lots of times to go through the code. while this works, is
> there an easy way to say something like "do this until end of file" or
> simmilar?
> perhaps make the macro dependant on finding the next text string of
> something until the end or something?
Interestingly, I was talking to Allan about this yesterday. I also
often end up repeating a scratch macro lots of times in a row. I asked
if we could get some kind of "do scratch macro for each line in
selection" action, and he said that it would be better to just have some
sort of "repeat macro for selection" menu option that would perform a
scratch macro repeatedly starting at the beginning of a selection and
going through the end of it. Apparently it would need to make sure that
the macro always steps forward, but there may be some way to do that.
So anyway, in response to your question, it's being thought about, and
we'll hopefully see a solution sometime.
-Jacob
More information about the textmate
mailing list