From 297195615ca19e881824358fcae3c8fa084b6b12 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 11 Sep 2013 13:30:43 +0200 Subject: todo with how to store undo history MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/editor.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') 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 -- cgit v1.2.3-70-g09d2