mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 10:40:48 +00:00
Reset anchor before selecting with S-button1
(cherry picked from commit b583fb26e8
)
This commit is contained in:
parent
e2489c1c31
commit
3e432ec631
@ -1607,6 +1607,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.argument() == "region-select"))
|
||||
cur.screenUpdateFlags(Update::FitCursor);
|
||||
if (bvcur.wordSelection())
|
||||
|
@ -88,6 +88,9 @@ What's new
|
||||
|
||||
- Let M-x give focus to minibuffer when it is already open.
|
||||
|
||||
- When doing a selection with Shift-click, make sure that the selection anchor
|
||||
is correct.
|
||||
|
||||
|
||||
* INTERNALS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user