No text selection in paragraph highlight mode
authorThomas White <taw@physics.org>
Thu, 30 Nov 2017 22:05:17 +0000 (23:05 +0100)
committerThomas White <taw@physics.org>
Thu, 30 Nov 2017 22:05:17 +0000 (23:05 +0100)
src/sc_editor.c

index da5a774..53b004b 100644 (file)
@@ -1155,7 +1155,7 @@ static gboolean button_press_sig(GtkWidget *da, GdkEventButton *event,
                        if ( fr->resizable && shift ) {
                                e->drag_status = DRAG_STATUS_COULD_DRAG;
                                e->drag_reason = DRAG_REASON_MOVE;
-                       } else {
+                       } else if ( !e->para_highlight ) {
                                e->drag_status = DRAG_STATUS_COULD_DRAG;
                                e->drag_reason = DRAG_REASON_TEXTSEL;
                                unset_selection(e);