GNOME Bugzilla – Bug 760748
GtkTextView should allow hooks for reseting blink time
Last modified: 2016-01-18 21:30:21 UTC
There is a situation I'm seeing in Vim mode in Builder, where it is possible to move the cursor while the blink is off. This makes it terribly difficult under key-repeat scenarios to quickly land on the target line.
I can make this happen with arrows, as well as j/k/l/h.
This seems to be caused by Builder having it's own extended set of movements, which do not allow for us to reset the blink time, or check/pend cursor blink.
Perhaps we should add a function for us to access this.
You need gtk_text_view_pend_cursor_blink made public, more or less ? That is what GtkTextView calls in its key-press handler to ensure the caret stays visible during keynav.
we need both
Created attachment 319302 [details] [review]
text view: Expose cursor blink control
Derived classes like GtkSourceView with their own ::key-event
handler need access to this, in order to make their keynav
as nice as the builtin one, wrt to caret visibility.
Review of attachment 319302 [details] [review]:
missmatching type between definition and declaration ( gboolean vs void)
Attachment 319302 [details] pushed as 1821c2d - text view: Expose cursor blink control