чување e47787e7b26c8f65c6cd42d1156367ccaca49cb5
родитељ 4a843ea662844a503a249306feb16a9868296c6e
Аутор: Страхиња Радић <contact@strahinja.org>
Датум: Sun, 27 Jun 2021 19:08:41 +0200
Updated TODO from wip-editing
Signed-off-by: Страхиња Радић <contact@strahinja.org>
Diffstat:
| M | TODO | | | 21 | ++++++++++++++++----- |
измењених датотека: 1, додавања: 16(+), брисања: 5(-)
diff --git a/TODO b/TODO
@@ -12,20 +12,31 @@
[x] Fix inserting characters at the start of
line (currently, line gets cut off)
[x] Fix movement
- [ ] Handle horizontal cursor position when
+ [x] Handle horizontal cursor position when
moving vertically
+ (Idea: sequences of move up/move down
+ commands are detected. When in such a
+ sequence, starting column is saved to
+ state->saved_column, and cleared when any
+ other key is pressed. Inside the sequence,
+ if a line is shorter, instead the cursor is
+ positioned to the end of line)
[x] Handle Enter and Backspace/Delete on end of
line
- [ ] Vertical movement when num. of lines >
+ [x] Vertical movement when num. of lines >
EDIT_HEIGHT/2+1
- [ ] Handle Tab (fixed 8-space, gets encoded to \t)
+ [x] Handle Tab (fixed 8-space, gets encoded to \t)
(Idea: physically stored as 0x9, but counts as 8
- characters - introduce state->input_display_column and
- state->display_length which hold the actual screen
+ characters - introduce state->input_display_column ~and
+ state->display_length~ which hold the actual screen
coordinates)
+ [x] Handle conversion \t <-> 0x9 in load_msgstr/save_msgstr
+ [ ] Previous/next word?
[ ] .po file load/save
+ [ ] Text selection?
+
[ ] Search (highlight, then navigate with next/prev)
[x] Update man page with key combos