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,8 +392,11 @@ 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();
|
||||||
while (pos < lastp && !par.isInset(pos))
|
if (par.insetlist.empty())
|
||||||
++pos;
|
pos = lastp;
|
||||||
|
else
|
||||||
|
while (pos < lastp && !par.isInset(pos))
|
||||||
|
++pos;
|
||||||
}
|
}
|
||||||
forwardPos();
|
forwardPos();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user