Re: Plans for the next version?

From: Brian Schott <>
Date: Sat, 20 Feb 2010 11:56:30 -0800

My thoughts were that macros fill the gap between doing something
manually and writing a re-usable script. I just want a simple
record/play workflow.

- Brian

On 02/20/10 03:15, Rob wrote:
>>>> On 2/19/10, <> wrote:
>>>>> 2. Macro recording and playback.
>>> I think this was removed a while ago, because you could as well be
>>> scripting it.
>> Well, yes. I could. In fact, I have been known to do things like type
>> "buffer:home() buffer:word_right_extend() buffer:copy()
>> buffer:word_right() buffer:insert_text(buffer.current_pos, "\t")
>> buffer:paste() buffer:line_down() " and so on into the lua prompt, but
>> that's a huge amount of typing just to do the same thing to multiple
>> lines of text. (Granted this is a bad example because it might be
>> solved more easily with a regex search and replace, but you get the
>> idea)
> You're right, of course. However, with a place to put and access these
> scripts in the modules browser it could be easy to adapt the scripts
> as necessary. Is it possible at the moment to write a script like the
> above and assign it to keyboard short cut (without restarting
> Textadept)?
> - Robert
Received on Sat 20 Feb 2010 - 14:56:30 EST

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 11:39:17 EST