diff options
| author | Mattias Andrée <maandree@operamail.com> | 2013-09-11 13:30:43 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@operamail.com> | 2013-09-11 13:30:43 +0200 |
| commit | 297195615ca19e881824358fcae3c8fa084b6b12 (patch) | |
| tree | a3573348fd361dceca8acf81947c30230c6568cd | |
| parent | fix doc for move_point (diff) | |
| download | pytagomacs-297195615ca19e881824358fcae3c8fa084b6b12.tar.gz pytagomacs-297195615ca19e881824358fcae3c8fa084b6b12.tar.bz2 pytagomacs-297195615ca19e881824358fcae3c8fa084b6b12.tar.xz | |
todo with how to store undo history
Signed-off-by: Mattias Andrée <maandree@operamail.com>
| -rw-r--r-- | src/editor.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/editor.py b/src/editor.py index d082543..b911306 100644 --- a/src/editor.py +++ b/src/editor.py @@ -72,6 +72,14 @@ class Jump(): ## TODO colours should be configurable with rc file ## TODO ring limits should be configurable with rc file ## TODO widthless characters should be ignored when calculating the size a text + +## TODO implement undo history +## +## Until the user has halted for 1 second (configurably) or has navigated using arrow keys or alternative key combinations, +## edits should be accumulated and then stored in the editring. The edits is stored when the next keystroke is made, there +## should not be a timer waits for the user to idle. +## + class TextArea(): ''' GNU Emacs alike text area |
