[code][textadept] macro recording module

From: Heck Fy <shitpoet.att.gmail.com>
Date: Fri, 13 Jan 2017 02:22:01 +0300

hi, all!

i've written a macro recording module for TextAdept:

source code - https://github.com/shitpoet/ta-macro

i used it for a while, it mostly works fine. hovere i noticed that
sometimes there're some minor problems with whitespace handling.

i dont know if there any other macro recording modles or functions for
TextAdept in wiki. maybe my module can be useful for someone.

another notice: this module assigns many basic commands to keys:

```
keys.left = buffer.char_left
keys.left = buffer.char_left
keys.sleft = buffer.char_left_extend
keys.cleft = buffer.word_left
keys.csleft = buffer.word_left_extend
. . .
. . .
. . .
```

this is because the module is working at TextAdept level, not at
Scincilla level (Scincilla has its own functionality to record
macroses, if i remember well.)

the specific keys are not important for the module to work, just that
the assignment exists.

so if you include the module at top of your `init.lua`, then there
should be no problems with it and with your custom keybindings, as far
as i understand.

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Thu 12 Jan 2017 - 18:22:01 EST

This archive was generated by hypermail 2.2.0 : Fri 13 Jan 2017 - 06:41:37 EST