Created
September 21, 2015 09:18
-
-
Save chergert/8cad0f6b0932fa91ed74 to your computer and use it in GitHub Desktop.
swap the selection order on double/triple click
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c | |
index e9860d7..395c919 100644 | |
--- a/gtk/gtktextview.c | |
+++ b/gtk/gtktextview.c | |
@@ -7711,7 +7711,7 @@ gtk_text_view_start_selection_drag (GtkTextView *text_view, | |
} | |
} | |
- gtk_text_buffer_select_range (buffer, &ins, &bound); | |
+ gtk_text_buffer_select_range (buffer, &bound, &ins); | |
gtk_text_iter_order (&orig_start, &orig_end); | |
data->orig_start = gtk_text_buffer_create_mark (buffer, NULL, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment