mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 21:40:19 +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,8 +392,11 @@ void DocIterator::forwardPar()
|
||||
pos_type const lastp = lastpos();
|
||||
Paragraph const & par = paragraph();
|
||||
pos_type & pos = top().pos();
|
||||
while (pos < lastp && !par.isInset(pos))
|
||||
++pos;
|
||||
if (par.insetlist.empty())
|
||||
pos = lastp;
|
||||
else
|
||||
while (pos < lastp && !par.isInset(pos))
|
||||
++pos;
|
||||
}
|
||||
forwardPos();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user