mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
* dociterator.C (forwardPosNoDescend): when at the end of the
inset, leave it, like forwardPos does (bug 2510). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14645 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c94fcdeeae
commit
904fde99e2
@ -398,7 +398,11 @@ void DocIterator::forwardPosNoDescend()
|
||||
}
|
||||
//lyxerr << "... no next idx" << endl;
|
||||
|
||||
// otherwise we can't move on
|
||||
// otherwise leave inset and jump over inset as a whole
|
||||
pop_back();
|
||||
// 'top' is invalid now...
|
||||
if (!empty())
|
||||
++top().pos();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user