* 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/branches/BRANCH_1_4_X@14648 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2006-08-13 15:45:06 +00:00
parent 54c60ebe47
commit dcbfef703a
3 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* dociterator.C (forwardPosNoDescend): when at the end of the
inset, leave it, like forwardPos does (bug 2510).
2006-08-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org> 2006-08-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* buffer.C (updateDocLang): update labels when changing language. * buffer.C (updateDocLang): update labels when changing language.

View File

@ -398,7 +398,11 @@ void DocIterator::forwardPosNoDescend()
} }
//lyxerr << "... no next idx" << endl; //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();
} }

View File

@ -58,6 +58,8 @@ What's new
- Fix crash on save (including dataloss) when the backup directory - Fix crash on save (including dataloss) when the backup directory
was invalid or not writeable(bug 2740). was invalid or not writeable(bug 2740).
- Fix lockup when accepting a change in a text inset (bug 2510).
- Update labels on screen when changing language. - Update labels on screen when changing language.
- Show an error box when failing to update the TeX Information dalog data. - Show an error box when failing to update the TeX Information dalog data.