mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 21:55:29 +00:00
optimization.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16649 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
92a06e2719
commit
8121036b50
@ -392,6 +392,9 @@ void DocIterator::forwardPar()
|
|||||||
pos_type const lastp = lastpos();
|
pos_type const lastp = lastpos();
|
||||||
Paragraph const & par = paragraph();
|
Paragraph const & par = paragraph();
|
||||||
pos_type & pos = top().pos();
|
pos_type & pos = top().pos();
|
||||||
|
if (par.insetlist.empty())
|
||||||
|
pos = lastp;
|
||||||
|
else
|
||||||
while (pos < lastp && !par.isInset(pos))
|
while (pos < lastp && !par.isInset(pos))
|
||||||
++pos;
|
++pos;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user