]> git.lyx.org Git - features.git/commit
fix properly http://bugzilla.lyx.org/show_bug.cgi?id=2040
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 17 Sep 2008 14:51:27 +0000 (14:51 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 17 Sep 2008 14:51:27 +0000 (14:51 +0000)
commitd585528d50e7222951b8399cd15bf0db3f8f8605
treefa7e48b708b6da05b995d56e71af5b0ddcceb49e
parent9bbe7251af902bf5b83e537d20cbb40fa6cf2d75
fix properly http://bugzilla.lyx.org/show_bug.cgi?id=2040

* BufferView.cpp (setCursorFromInset): new method, useful to find
an inset that is known to be in the document.

* frontends/qt4/GuiView.cpp (dispatch): do a proper recordUndo
befire appplying changes to an inset. The insets are responsible
for recording additional undo steps that could be needed.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26428 a592a061-630c-0410-9148-cb99ea01b6c8
src/BufferView.cpp
src/BufferView.h
src/frontends/qt4/GuiView.cpp