mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-22 07:42:02 +00:00
If we call cur.setSelection() in line Text3.cpp:1256 we should require some
sort of repaint, because if the selection is adjusted, we may have to draw the selection again. Patch by Vincent. http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg143572.html git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26392 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c0fbe72e1d
commit
9b1c5d2233
@ -1254,9 +1254,12 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
|
||||
// selectWord but bvcur is current
|
||||
// mouse position.
|
||||
cur.bv().cursor().setSelection();
|
||||
}
|
||||
// We might have removed an empty but drawn selection
|
||||
// (probably a margin)
|
||||
cur.updateFlags(Update::SinglePar | Update::FitCursor);
|
||||
} else
|
||||
cur.noUpdate();
|
||||
// FIXME: We could try to handle drag and drop of selection here.
|
||||
cur.noUpdate();
|
||||
return;
|
||||
|
||||
case mouse_button::button2:
|
||||
|
Loading…
x
Reference in New Issue
Block a user