Skip to content

gtktextviewaccessible: update cursor position after text suppression

Samuel Thibault requested to merge sthibaul/gtk:textview-delete into gtk-3-22

delete_range_cb is set to be called before the text suppression done by the gtktextlayout (otherwise it does not work properly). But at that point the cursor position is not yet up to date. We thus need to move the accessibility cursor notification to after the actual text suppression, by using another callback.

This fixes cursor position in brltty screen reading.

Merge request reports