[vte] widget: Fix backwards selection over wide characters



commit d07ea7c64cf7c13b639684e7277d97523e29f2a0
Author: Egmont Koblinger <egmont gmail com>
Date:   Mon Jan 19 20:18:13 2015 +0100

    widget: Fix backwards selection over wide characters
    
    https://bugzilla.gnome.org/show_bug.cgi?id=725909#c15

 src/vte.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/vte.c b/src/vte.c
index 2f3a538..ec6378a 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -6464,6 +6464,7 @@ vte_terminal_extend_selection_expand (VteTerminal *terminal)
                         sc->col = i;
                 }
         }
+        sc->col = find_start_column (terminal, sc->col, sc->row);
 
        /* Handle end-of-line at the end-cell. */
        rowdata = _vte_terminal_find_row_data(terminal, ec->row);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]