Ticket #323 (reimplimented editor macros)
commit8509b74f73d60e99d8de3000e8152a7905f19a73
authorIlia Maslakov <il.smind@gmail.com>
Fri, 21 Jan 2011 21:10:36 +0000 (21 21:10 +0000)
committerIlia Maslakov <il.smind@gmail.com>
Wed, 2 Mar 2011 11:16:44 +0000 (2 11:16 +0000)
tree9aeba0fa18fbbeb9ee9eb2db8ca27814d1825507
parent1636f8e956108f0248f56588f082c949bc6796d6
Ticket #323 (reimplimented editor macros)

Reimplemented editor macro engine:

    * added string binding "InsertChar" for action - "CK_Insert_Char"
    * added keybind_lookup_actionname - found action name by numeric constant
    * replaced struct macro to struct macro_action_t
    * added struct macros_t for describe editor scripts
    * rewritten edit_load_macro_cmd, edit_execute_macro
    * renamed edit_save_macro_cmd into edit_store_macro_cmd (WEdit * edit);
    * dropped Wedit properties: macro_i, macro_depth, macro[MAX_MACRO_LENGTH]
    * added GArray *macros_list to the store macroses of mcedit
    * added edit_get_macro

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
13 files changed:
lib/fileloc.h
lib/keybind.c
lib/keybind.h
lib/mcconfig/paths.c
src/editor/edit-impl.h
src/editor/edit-widget.h
src/editor/edit.c
src/editor/editcmd.c
src/editor/editdraw.c
src/editor/editkeys.c
src/editor/editwidget.c
src/main.c
src/main.h