diff options
author | Thomas White <taw@physics.org> | 2017-11-30 23:05:17 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2017-11-30 23:05:17 +0100 |
commit | e75abf7dc73bbe54d8a11c7a628ac73b7c54be7b (patch) | |
tree | 3f495aa5ac85056e7b8b0406b59a887e39426ebf | |
parent | 52ac78ad63e0d34fba834076edbdc51e602f8514 (diff) |
No text selection in paragraph highlight mode
-rw-r--r-- | src/sc_editor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sc_editor.c b/src/sc_editor.c index da5a774..53b004b 100644 --- a/src/sc_editor.c +++ b/src/sc_editor.c @@ -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); |