aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2017-11-30 23:05:17 +0100
committerThomas White <taw@physics.org>2017-11-30 23:05:17 +0100
commite75abf7dc73bbe54d8a11c7a628ac73b7c54be7b (patch)
tree3f495aa5ac85056e7b8b0406b59a887e39426ebf
parent52ac78ad63e0d34fba834076edbdc51e602f8514 (diff)
No text selection in paragraph highlight mode
-rw-r--r--src/sc_editor.c2
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);