diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2023-06-18 18:50:39 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2023-06-18 18:50:39 +0300 |
commit | 493504f12f79990dae7791efa27366b560151f2c (patch) | |
tree | 263ff3fefd2746ceae8a21e28dcc6fea6397b4eb /bootstrap.am | |
parent | 517ae85027f088615026fad6b880647dac5abf0a (diff) | |
download | sciteco-493504f12f79990dae7791efa27366b560151f2c.tar.gz |
fixed caret scrolling on startup
* Since Scintilla no longer automatically scrolls the caret (see 941f48da6dde691a7800290cc729aaaacd051392),
the caret wouldn't always end up in the view on startup.
* Added teco_interface_refresh() which includes SCI_SCROLLCARET and
is invoked on startup. This helps with the Curses backend.
It also reduces code redundancies.
* On Gtk, the caret cannot be easily scrolled on startup as long as no size is allocated
to the window, so we also added a size-allocate callback to the
window's event box. Sizes are less often allocated to the event box than to the
window itself for some strange reason.
Diffstat (limited to 'bootstrap.am')
0 files changed, 0 insertions, 0 deletions