aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cmdline.h
AgeCommit message (Collapse)AuthorFilesLines
2013-02-22resolved enter-key handling by introducing get_eol()Robin Haberkorn1-0/+2
2013-02-16function key support (keys without printable representation) using keyboard ↵Robin Haberkorn1-0/+8
macros * if enabled, when a function key is pressed it is looked up in Q-Registers ^F... e.g. HOME key corresponds to register ^FHOME * the string if available is inserted as if it was entered by key-presses (later it may be entered as a single input token which may be removed in a single rubout) * only NCurses currently, key names directly correspond to Curses key names * on Curses if function keys are enabled ESCAPE will be inserted after a delay (because function keys are transmitted via escape sequences). A function key macro may be used to define an alternative escape character
2013-02-14option for q-reg spec state machine to allocate (insert) new q-registersRobin Haberkorn1-0/+3
* enabled for all modifying Q-Reg commands
2013-02-03first draft of commandline-editing commands ({ and } as in VideoTECO)Robin Haberkorn1-0/+1
* simplified traditional commandline editing. no need to extend cmdline string one character at a time when inserting multiple. instead there's a marker (cmdline_pos) specifying the macro length to execute in a "step" and also the anchor for generating undo tokens * implementation does not yet work in macro calls * while editing the commandline, other buffers/registers may not be edited (need push-down-list and auxiliary q-register)
2013-01-23cleaned up QRegister state interface (can pass register by reference)Robin Haberkorn1-1/+1
2013-01-23moved StateExpectQReg from parser.h to qregisters.hRobin Haberkorn1-0/+1
* parser.cpp|h should be reserved for generic and misc. stuff. the StateExpectQReg class is used almost exclusively by qregisters.cpp|h * resolves a circular header dependency issue
2013-01-23implemented special save last commandline command ("*" at beginning of ↵Robin Haberkorn1-0/+44
commandline macro) * only works as part of commandline macro, * at the beginning of other macros, it is treated like an arithmetic asterisk * variables defined in cmdline.cpp are now declared by new cmdline.h