Commit 62b9ee3b authored by Nalin Dahyabhai's avatar Nalin Dahyabhai

don't snap the beginning of selection to the next line in select-by-line

* src/vte.c: don't snap the beginning of selection to the next line in
	select-by-line mode.
parent bca5067b
2003-04-14 nalin
* src/vte.c: don't snap the beginning of selection to the next line in
select-by-line mode.
2003-04-14 nalin
* configure.in, src/vteglyph.c: fix macro invocations so that when
LCD and GRAY2/GRAY4 pixel modes are supported by freetype, we don't
......
......@@ -8957,8 +8957,9 @@ vte_terminal_extend_selection(GtkWidget *widget, double x, double y,
/* If the start point is to its right, then move the
* startpoint up to the beginning of the next line
* unless that would move the startpoint after the end
* point. */
if (sc->x > i) {
* point, or we're in select-by-line mode. */
if ((sc->x > i) &&
(terminal->pvt->selection_type != selection_type_line)) {
if (sc->y < ec->y) {
sc->x = 0;
sc->y++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment