]> git.lyx.org Git - features.git/commit
Improve Inset dissolve capability (bug 2201).
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 8 Sep 2006 14:08:26 +0000 (14:08 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 8 Sep 2006 14:08:26 +0000 (14:08 +0000)
commitfe8d08d72f4f03a5be0c80e3802ff134f60486b7
tree8168818364e5ec6bc14f86c574d410939d2ee548
parent45808381d014ac106d235f8fa7a642d598dfba39
Improve Inset dissolve capability (bug 2201).

* src/insets/insettabular.C (getStatus):
* src/insets/insettext.C (doDispatch,getStatus): remove special code
for LFUN_INSET_DISSOLVE.

* src/text.C (dissolveInset): new method.
(erase, backspace): use dissolveInset.

* src/text3.C (dispatch): use dissolveInset for LFUN_INSET_DISSOLVE.
(getStatus): disable LFUN_INSET_DISSOLVE if the inset has more than one  cell.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14940 a592a061-630c-0410-9148-cb99ea01b6c8
src/insets/insettabular.C
src/insets/insettext.C
src/lyxtext.h
src/text.C
src/text3.C