Known Bugs: * ??? Dot is not always restored properly (e.g. after closing file) need test case!!! * Null-byte in strings not always handled transparently * saving another user's file will only preserve the user when run as root (WON'T FIX!?) * Scintilla/Scinterm: sometimes indents too much (see e.g. state declarations) Features: * properly support Unicode encodings and the character-based model * link against libncursesw if possible * translate documents to Unicode strings * a position refers to a character/codepoint * refactor lexer macro library using new possibilities * protect ED hook executions (process like "(M0$)"). Perhaps use a long name for ED registers now. How about "ED"? * Progress indication in commandline cursor * catch OOM errors (can happen easily due to infinite loops) * undo-tokens per char limit (additional infinite loop safety) * Command to free Q-Register (remove from table) * autocompletion of long Q-Reg names * Q-Register aliasing/linking * EC command * perhaps support Bash completions * TECO syntax highlighting * multiline commandline * perhaps use Scintilla view as mini buffer * improve GTK interface * modifier for toggling string building processing * ??? optional modified-detection based on hash sums ??? * backup files, or even better Journal files: could write a Macro file for each modified file containing only basic commands (no loops etc.). it is removed when the file is saved. in case of an abnormal program termination the journal file can be replayed. Optimizations: * prevent command-line flickering when using function key macros. * check if Scinterm refreshing is optimal * refactor search commands (create proper base class) * refactor match-char state machine using MicroStateMachine class * simplify parser (static jump tables are unnecessary!) * search and other commands can be significantly optimized: in batch mode, or in loops/macros there is no need to rematch every character! -> immediate vs. non-immediate command execution * can be handled automatically in StateExpectString * batch mode can be optimized by preventing unnecessary allocations/deallocations for UNDO token creation. Check for undo.enabled in constructors like undo.push_msg|var() where the undo token destruction does not have any significant side effects. * use "friend" functions for C-linkage callbacks that must access a class' member instead of making that member public * when setting/getting Q-Reg string, use special dummy Scintilla view Documentation: * Code docs (Doxygen) * clean up/fix generate-docs.tes