From 72b437bbd2f0e5ab8f75e505221f054bd4deee79 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Thu, 28 May 2015 14:56:38 +0000 Subject: [PATCH] Marking window resizes and better file-type detection as done. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5232 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 3 ++- TODO | 20 +++++++++++--------- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4882f9b7..db9ce17b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,7 @@ the whitespace after the recent changes in logic. * src/prompt.c (do_yesno_prompt): Use 'width' instead of hardcoded 16. Also always first set the string and then position the cursor. + * TODO: Mark window resizes and better file-type detection as done. 2015-05-28 Mahyar Abbaspour * src/nano.c (handle_sigwinch, regenerate_screen), src/global.c, @@ -26,7 +27,7 @@ to calculate the number of digits in UINT_MAX. * src/files.c (get_next_filename): Limit the number of backup files to one hundred thousand -- which should be far more than enough -- - before finding a unused filename takes an annoying amount of time. + before finding an unused filename takes an annoying amount of time. * src/utils.c (digits): Delete this now unneeded function. 2015-05-03 Benno Schulenberg diff --git a/TODO b/TODO index fef13de4..cb3dbbbb 100644 --- a/TODO +++ b/TODO @@ -17,30 +17,32 @@ For the future (no targeted version, catch-all) - Allow color syntaxes to apply to more than just color, so that we can e.g. specify a different alternate spell checker depending on which file type we have open. -- Allow even better file type detection than we have currently, e.g. - through libmagic? - Allow setting marks (saved positions, not to be confused with the mark set via Ctrl-^) at various lines and/or columns in the buffer, and - allow movement between them with a single keystroke? (we're running - out of keystrokes) + allow movement between them with a single keystroke? (We're running + out of keystrokes, though.) - Allow searching for and replacing newlines. - Fix handling of bad/incomplete UTF-8 sequences to display one Unicode FFFD (Replacement Character) per sequence instead of one per byte. -For version 2.4: +For version 2.6: - New regression framework built on expect. -- Allow text searches in the help browser. -- Handle window resizes better. After we resize, we should stay - wherever we were before we resized, as Pico does. +- Allow text searches in the help viewer. - Add the ability to move to different lines of the screen with a single keystroke, e.g. M-` (M-~) to go to the top line, M-& (M-7) to go to the center line, and M-' (M-") to go to the last line. - Detect when we're pasting text, so that we can handle it differently - (i.e. faster than currently with screen redraws) + (i.e. faster than currently with screen redraws). - Allow piping marked text to an external command and replacing it with the command's output (as the internal spell checker already does with the "spell" command)? +For version 2.4: +- Handle window resizes better. After we've resized, we should stay + wherever we were before we resized, as Pico does. [DONE] +- Allow even better file-type detection than we have currently, e.g. + through libmagic. [DONE] + For version 2.2: - Rebindable keys? [DONE] - Undo/Redo keys (M-U and M-E)? [DONE]