mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 23:09:40 +00:00
We only need to set this once.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35641 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e9cf7aabcb
commit
03046ddfb0
@ -1513,9 +1513,10 @@ void BufferView::dispatch(FuncRequest const & cmd, DispatchResult & dr)
|
||||
DocIterator end = cur.selectionEnd();
|
||||
if (beg.pit() == end.pit()) {
|
||||
for (pos_type p = beg.pos() ; p < end.pos() ; ++p) {
|
||||
if (!cur.inMathed()
|
||||
&& cur.paragraph().isDeleted(p))
|
||||
if (!cur.inMathed() && cur.paragraph().isDeleted(p)) {
|
||||
has_deleted = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user