textview: Make "extend selection" only extend

Desktop / GNOME / GTK - Carlos Garnacho [gnome.org] - 18 December 2014 14:20 UTC

This mode could also shrink the selection, plus the starting point would seem somewhat arbitrary (actually dependent on the dragging direction of the last selection).

Made this mode more consistent by only allowing it to extend the selection, only in one direction for each operation, and so it keeps the current selection as a minimum.

8c091d1 textview: Make "extend selection" only extend
gtk/gtktextview.c | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)

Upstream: git.gnome.org


  • Share