]> git.lyx.org Git - features.git/commit
Fix bug 5744: http://bugzilla.lyx.org/show_bug.cgi?id=5744.
authorVincent van Ravesteijn <vfr@lyx.org>
Wed, 25 Feb 2009 00:39:55 +0000 (00:39 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Wed, 25 Feb 2009 00:39:55 +0000 (00:39 +0000)
commit708e38ddb3e5ad39faa8cd825a7656b7e8119431
treef257a9a789463f65457c116c53900542192db627
parente2823ac4dcfec52e7f5ed01c0db61296796e70e6
Fix bug 5744: http://bugzilla.lyx.org/show_bug.cgi?id=5744.
Crash with completion in mathed.

When deleting an inset, the stored DocIterator might contain a reference to a non-existent Inset and Text. Therefore, if we detect that the depth has changed, we are (for sure) not in the same paragraph, but we should make sure not to ask for the innerParagraph.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28596 a592a061-630c-0410-9148-cb99ea01b6c8
src/BufferView.cpp