]> git.lyx.org Git - features.git/commit
Fix bug 4346: http://bugzilla.lyx.org/show_bug.cgi?id=4346.
authorVincent van Ravesteijn <vfr@lyx.org>
Sat, 21 Feb 2009 16:27:00 +0000 (16:27 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Sat, 21 Feb 2009 16:27:00 +0000 (16:27 +0000)
commitaedfb81808d837df00947e8ac86f8941045e538c
treebb6d3b79da0e12bb508c81438e7abc443a6913db
parent3ccf39a08485a668ce396535a0a31b045a81b8b4
Fix bug 4346: http://bugzilla.lyx.org/show_bug.cgi?id=4346.
Synchronizing insets asserts with two views open

It changes the autoOpen_ member of InsetCollapsable into a map, such that an autoOpen value can be specified for each bufferView. Now, the assertion is avoided and insetCollapsable can be open in one bufferview and be closed in the other in very special cases that the cursor end up in a closed inset.

Compare with the MathMacro::editing_ member.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28573 a592a061-630c-0410-9148-cb99ea01b6c8
src/insets/InsetBranch.cpp
src/insets/InsetBranch.h
src/insets/InsetCollapsable.cpp
src/insets/InsetCollapsable.h
src/insets/InsetERT.cpp
src/insets/InsetERT.h
src/insets/InsetFloat.cpp
src/insets/InsetFoot.cpp
src/insets/InsetListings.cpp
src/insets/InsetListings.h
src/insets/InsetWrap.cpp