]> git.lyx.org Git - features.git/commit
Fix bug #7200: Crash when replacing newline by InsetQuote.
authorVincent van Ravesteijn <vfr@lyx.org>
Sun, 2 Jan 2011 12:07:33 +0000 (12:07 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Sun, 2 Jan 2011 12:07:33 +0000 (12:07 +0000)
commita3a7c046becc099e1407909ebcc477c143c6a749
treeea5b3d0c7cebeed1a666d0ef548c987d3419d6c3
parent8d5acc2235f91d811554a761db17b5bd758e4b9a
Fix bug #7200: Crash when replacing newline by InsetQuote.

We have to call cap::replaceSelection before determining whether we can insert an InsetQuote or a normal quote.

At least we should have updated the par variable after calling cap::replaceSelection, because the paragraph might have been deleted.

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