diff --git a/src/Text3.cpp b/src/Text3.cpp index c6f047afb7..eafce2854c 100644 --- a/src/Text3.cpp +++ b/src/Text3.cpp @@ -1607,8 +1607,9 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd) bvcur.setMark(false); switch (cmd.button()) { case mouse_button::button1: - // Set the cursor - bvcur.resetAnchor(); + if (!bvcur.selection()) + // Set the cursor + bvcur.resetAnchor(); if (!bv->mouseSetCursor(cur, cmd.modifier() == ShiftModifier)) cur.screenUpdateFlags(Update::SinglePar | Update::FitCursor); if (bvcur.wordSelection())