1
1

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
Этот коммит содержится в:
Benno Schulenberg 2015-05-28 14:56:38 +00:00
родитель 3e8dadfb1b
Коммит 72b437bbd2
2 изменённых файлов: 13 добавлений и 10 удалений

Просмотреть файл

@ -3,6 +3,7 @@
the whitespace after the recent changes in logic. the whitespace after the recent changes in logic.
* src/prompt.c (do_yesno_prompt): Use 'width' instead of hardcoded * src/prompt.c (do_yesno_prompt): Use 'width' instead of hardcoded
16. Also always first set the string and then position the cursor. 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 <mahyar.abaspour@gmail.com> 2015-05-28 Mahyar Abbaspour <mahyar.abaspour@gmail.com>
* src/nano.c (handle_sigwinch, regenerate_screen), src/global.c, * src/nano.c (handle_sigwinch, regenerate_screen), src/global.c,
@ -26,7 +27,7 @@
to calculate the number of digits in UINT_MAX. to calculate the number of digits in UINT_MAX.
* src/files.c (get_next_filename): Limit the number of backup files * src/files.c (get_next_filename): Limit the number of backup files
to one hundred thousand -- which should be far more than enough -- 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. * src/utils.c (digits): Delete this now unneeded function.
2015-05-03 Benno Schulenberg <bensberg@justemail.net> 2015-05-03 Benno Schulenberg <bensberg@justemail.net>

20
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 - 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 e.g. specify a different alternate spell checker depending on which
file type we have open. 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 - 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 set via Ctrl-^) at various lines and/or columns in the buffer, and
allow movement between them with a single keystroke? (we're running allow movement between them with a single keystroke? (We're running
out of keystrokes) out of keystrokes, though.)
- Allow searching for and replacing newlines. - Allow searching for and replacing newlines.
- Fix handling of bad/incomplete UTF-8 sequences to display one Unicode - Fix handling of bad/incomplete UTF-8 sequences to display one Unicode
FFFD (Replacement Character) per sequence instead of one per byte. FFFD (Replacement Character) per sequence instead of one per byte.
For version 2.4: For version 2.6:
- New regression framework built on expect. - New regression framework built on expect.
- Allow text searches in the help browser. - Allow text searches in the help viewer.
- Handle window resizes better. After we resize, we should stay
wherever we were before we resized, as Pico does.
- Add the ability to move to different lines of the screen with a single - 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 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. 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 - 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 - 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 command's output (as the internal spell checker already does with
the "spell" command)? 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: For version 2.2:
- Rebindable keys? [DONE] - Rebindable keys? [DONE]
- Undo/Redo keys (M-U and M-E)? [DONE] - Undo/Redo keys (M-U and M-E)? [DONE]