aboutsummaryrefslogtreecommitdiffhomepage
path: root/TODO
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2025-03-02 02:36:10 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2025-03-02 03:48:42 +0300
commit38ae2e440127137c57a2d782cecffc3ce5e19804 (patch)
treeb415680fe2cedfd5b0f93cff071524f6146a8ad4 /TODO
parent2e601e3c6c27de6625c9b7d5d32177141e25acf6 (diff)
downloadsciteco-38ae2e440127137c57a2d782cecffc3ce5e19804.tar.gz
GTK: always scroll caret when window size changes
* The old implementation would scroll only once for the file first opened and too early. As a result, opening via `sciteco file:number` did not always scroll to the correct position. Also, `?` would usually not scroll the topic into view. * Instead, we now always scroll in all views, but only if the size allocation changed. This ensures, we can still scroll with the mouse wheel. * Therefore, we have to store the current size allocation per view. Instead of allocating a separate heap object, I decided to subclass the Scintilla GTK class. * Some explicit casts are still necessary since teco_view_t is typedefed to `struct teco_view_t`, but we cannot easily rename the GObject instance structure.
Diffstat (limited to 'TODO')
-rw-r--r--TODO3
1 files changed, 0 insertions, 3 deletions
diff --git a/TODO b/TODO
index d297e1b..08b195c 100644
--- a/TODO
+++ b/TODO
@@ -4,9 +4,6 @@ Tasks:
"edit" hook.
Known Bugs:
- * ?^E$ does not scroll automatically on GTK.
- This is apparently since the buffer is newly added to the ring
- and the view is not yet realized.
* PDCurses/WinGUI: There is still some flickering, but it got better
since key macros update the command line only once.
Could already be fixed upstream, see: