mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
parent
764a2163bb
commit
8998b88370
@ -2514,7 +2514,8 @@ bool BufferView::mouseSetCursor(Cursor & cur, bool select)
|
||||
bool update = leftinset;
|
||||
if (!do_selection && d->cursor_.inTexted()) {
|
||||
update |= checkDepm(cur, d->cursor_);
|
||||
if (cur.pos() && cur.paragraph().isEnvSeparator(cur.pos() - 1))
|
||||
if (cur.inTexted() && cur.pos()
|
||||
&& cur.paragraph().isEnvSeparator(cur.pos() - 1))
|
||||
cur.posBackward();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user