commit b583fb26e89ccdc242e5c11d5e9d8b0606bee957
Author: Jean-Marc Lasgouttes <[email protected]>
Date:   Tue Aug 23 12:22:35 2016 +0200

    Reset anchor before selecting with S-button1
---
 src/Text3.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/Text3.cpp b/src/Text3.cpp
index 3f48d19..c6f047a 100644
--- a/src/Text3.cpp
+++ b/src/Text3.cpp
@@ -1608,6 +1608,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
                switch (cmd.button()) {
                case mouse_button::button1:
                        // Set the cursor
+                       bvcur.resetAnchor();
                        if (!bv->mouseSetCursor(cur, cmd.modifier() == 
ShiftModifier))
                                cur.screenUpdateFlags(Update::SinglePar | 
Update::FitCursor);
                        if (bvcur.wordSelection())

Reply via email to