]> git.lyx.org Git - lyx.git/commitdiff
DISPATCH -> dispatch_result
authorLars Gullik Bjønnes <larsbj@gullik.org>
Mon, 13 Oct 2003 01:35:47 +0000 (01:35 +0000)
committerLars Gullik Bjønnes <larsbj@gullik.org>
Mon, 13 Oct 2003 01:35:47 +0000 (01:35 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7900 a592a061-630c-0410-9148-cb99ea01b6c8

18 files changed:
src/ChangeLog
src/insets/ChangeLog
src/insets/inset.h
src/insets/insetcollapsable.C
src/insets/insetcollapsable.h
src/insets/insetert.C
src/insets/insetert.h
src/insets/insettabular.C
src/insets/insettabular.h
src/insets/insettext.C
src/insets/insettext.h
src/insets/updatableinset.C
src/insets/updatableinset.h
src/lyxfunc.C
src/lyxtext.h
src/mathed/ChangeLog
src/mathed/formulabase.C
src/text3.C

index dea28c94be0bddef05044f2bf940a4f0746da2a8..ce268232590ee454d540a898333bb19b303eaa38 100644 (file)
@@ -1,3 +1,9 @@
+2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * lyxfunc.C (dispatch): RESULT -> dispatch_result
+       * lyxtext.h: ditto
+       * text3.C (dispatch): ditto
+
 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
 
        * lyxserver.C (callback): adjust
 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
 
        * lyxserver.C (callback): adjust
index 761f360f582b5014a2e6d0d2a11228635d6ba6de..d8d11b9102b7760be373f34e60ecfc2720ce0ea7 100644 (file)
@@ -1,8 +1,29 @@
+2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * inset.h: get rid of RESULT typedef for dispatch_result
+
+       * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
+       * insetert.[Ch] (localDispatch): ditto
+       * insettabular.[Ch] (localDispatch): ditto
+       (moveRight): ditto
+       (moveLeft): ditto
+       (moveUp): ditto
+       (moveDown): ditto
+       * insettext.[Ch] (localDispatch): ditto
+       (moveRight): ditto
+       (moveLeft): ditto
+       (moveRightIntern): ditto
+       (moveLeftIntern): ditto
+       (moveUp): ditto
+       (moveDown): ditto
+       * updatableinset.[Ch] (localDispatch): ditto
+
 2003-10-12  Angus Leeming  <leeming@lyx.org>
 
        * renderbase.h (view, view_): removed.
        * renderbase.C: removed.
 2003-10-12  Angus Leeming  <leeming@lyx.org>
 
        * renderbase.h (view, view_): removed.
        * renderbase.C: removed.
-       * Makefile.am: remove render_base.C. The shortest lived file in history?
+       * Makefile.am: remove render_base.C. The shortest lived file in
+       history?
 
        * renderbutton.C (draw):
        * render_graphic.C (draw): don't cache the BufferView.
 
        * renderbutton.C (draw):
        * render_graphic.C (draw): don't cache the BufferView.
 
        * Makefile.am: add new files.
 
 
        * Makefile.am: add new files.
 
-       * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
-       allowing the class to be forward declared. (Also consistent with
-       all other Params classes.)
-       (write): moved out of the class. Move this function and those in
-       namespace anon to ExternalSupport.[Ch].
+       * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
+       allowing the class to be forward declared. (Also consistent with
+       all other Params classes.)
+       (write): moved out of the class. Move this function and those in
+       namespace anon to ExternalSupport.[Ch].
 
 2003-10-07  Angus Leeming  <leeming@lyx.org>
 
 
 2003-10-07  Angus Leeming  <leeming@lyx.org>
 
index cad92c891f3910f48b1d790dcd98e79e5aae1e3e..5e8cd824bebe4164aba96be15b437dad298c9b1a 100644 (file)
@@ -152,9 +152,6 @@ public:
                HIGHLY_EDITABLE
        };
 
                HIGHLY_EDITABLE
        };
 
-       ///
-       typedef dispatch_result RESULT;
-
        ///
        InsetOld();
        ///
        ///
        InsetOld();
        ///
index 59c66883b2fb417540838485cd1e6c3798e20f66..c54f763e4f6276e70768b281545467d9ba0fb6fa 100644 (file)
@@ -271,7 +271,7 @@ bool InsetCollapsable::hitButton(FuncRequest const & cmd) const
 }
 
 
 }
 
 
-InsetOld::RESULT InsetCollapsable::localDispatch(FuncRequest const & cmd)
+dispatch_result InsetCollapsable::localDispatch(FuncRequest const & cmd)
 {
        //lyxerr << "InsetCollapsable::localDispatch: "
        //      << cmd.action << " '" << cmd.argument << "'\n";
 {
        //lyxerr << "InsetCollapsable::localDispatch: "
        //      << cmd.action << " '" << cmd.argument << "'\n";
@@ -343,7 +343,7 @@ InsetOld::RESULT InsetCollapsable::localDispatch(FuncRequest const & cmd)
                        return DISPATCHED;
 
                default:
                        return DISPATCHED;
 
                default:
-                       UpdatableInset::RESULT result = inset.localDispatch(cmd);
+                       dispatch_result result = inset.localDispatch(cmd);
                        if (result >= FINISHED)
                                bv->unlockInset(this);
                        first_after_edit = false;
                        if (result >= FINISHED)
                                bv->unlockInset(this);
                        first_after_edit = false;
index e455544895910e18165fef4065715d4c45ab5582..37e61f70f1c18b95532ceea6b323942ed3aa3b1e 100644 (file)
@@ -68,7 +68,7 @@ public:
        ///
        int insetInInsetY() const;
        ///
        ///
        int insetInInsetY() const;
        ///
-       RESULT localDispatch(FuncRequest const &);
+       dispatch_result localDispatch(FuncRequest const &);
        ///
        int latex(Buffer const &, std::ostream &,
                  LatexRunParams const &) const;
        ///
        int latex(Buffer const &, std::ostream &,
                  LatexRunParams const &) const;
index 5ef362e02eec7af32f1bb24120271b829800a722..3c611f7f1842c92a76da58529768e1f230c6ae2e 100644 (file)
@@ -415,9 +415,9 @@ int InsetERT::docbook(Buffer const &, ostream & os, bool) const
 }
 
 
 }
 
 
-InsetOld::RESULT InsetERT::localDispatch(FuncRequest const & cmd)
+dispatch_result InsetERT::localDispatch(FuncRequest const & cmd)
 {
 {
-       InsetOld::RESULT result = UNDISPATCHED;
+       dispatch_result result = UNDISPATCHED;
        BufferView * bv = cmd.view();
 
        if (inset.paragraphs.begin()->empty()) {
        BufferView * bv = cmd.view();
 
        if (inset.paragraphs.begin()->empty()) {
index d6c342ff66486698a756feed161ca3cb73ab1478..d2fa9631486d51c762ec00f8f1f1852a93a3a773 100644 (file)
@@ -76,7 +76,7 @@ public:
        ///
        void validate(LaTeXFeatures &) const {}
        ///
        ///
        void validate(LaTeXFeatures &) const {}
        ///
-       RESULT localDispatch(FuncRequest const &);
+       dispatch_result localDispatch(FuncRequest const &);
        ///
        bool checkInsertChar(LyXFont &);
        ///
        ///
        bool checkInsertChar(LyXFont &);
        ///
index 7e280a424f6b2065b401746df2dfbf564df462b2..232ada36a41988e15a875d0d91b44ac17de5a06c 100644 (file)
@@ -625,12 +625,12 @@ void InsetTabular::lfunMouseMotion(FuncRequest const & cmd)
 }
 
 
 }
 
 
-InsetOld::RESULT InsetTabular::localDispatch(FuncRequest const & cmd)
+dispatch_result InsetTabular::localDispatch(FuncRequest const & cmd)
 {
        // We need to save the value of the_locking_inset as the call to
        // the_locking_inset->localDispatch might unlock it.
        old_locking_inset = the_locking_inset;
 {
        // We need to save the value of the_locking_inset as the call to
        // the_locking_inset->localDispatch might unlock it.
        old_locking_inset = the_locking_inset;
-       RESULT result = UpdatableInset::localDispatch(cmd);
+       dispatch_result result = UpdatableInset::localDispatch(cmd);
        BufferView * bv = cmd.view();
 
        if (cmd.action == LFUN_INSET_EDIT) {
        BufferView * bv = cmd.view();
 
        if (cmd.action == LFUN_INSET_EDIT) {
@@ -1353,7 +1353,7 @@ void InsetTabular::resetPos(BufferView * bv) const
 }
 
 
 }
 
 
-InsetOld::RESULT InsetTabular::moveRight(BufferView * bv, bool lock)
+dispatch_result InsetTabular::moveRight(BufferView * bv, bool lock)
 {
        if (lock && !old_locking_inset) {
                if (activateCellInset(bv))
 {
        if (lock && !old_locking_inset) {
                if (activateCellInset(bv))
@@ -1371,7 +1371,7 @@ InsetOld::RESULT InsetTabular::moveRight(BufferView * bv, bool lock)
 }
 
 
 }
 
 
-InsetOld::RESULT InsetTabular::moveLeft(BufferView * bv, bool lock)
+dispatch_result InsetTabular::moveLeft(BufferView * bv, bool lock)
 {
        bool moved = isRightToLeft(bv) ? moveNextCell(bv) : movePrevCell(bv);
        if (!moved)
 {
        bool moved = isRightToLeft(bv) ? moveNextCell(bv) : movePrevCell(bv);
        if (!moved)
@@ -1385,7 +1385,7 @@ InsetOld::RESULT InsetTabular::moveLeft(BufferView * bv, bool lock)
 }
 
 
 }
 
 
-InsetOld::RESULT InsetTabular::moveUp(BufferView * bv, bool lock)
+dispatch_result InsetTabular::moveUp(BufferView * bv, bool lock)
 {
        int const ocell = actcell;
        actcell = tabular.getCellAbove(actcell);
 {
        int const ocell = actcell;
        actcell = tabular.getCellAbove(actcell);
@@ -1406,7 +1406,7 @@ InsetOld::RESULT InsetTabular::moveUp(BufferView * bv, bool lock)
 }
 
 
 }
 
 
-InsetOld::RESULT InsetTabular::moveDown(BufferView * bv, bool lock)
+dispatch_result InsetTabular::moveDown(BufferView * bv, bool lock)
 {
        int const ocell = actcell;
        actcell = tabular.getCellBelow(actcell);
 {
        int const ocell = actcell;
        actcell = tabular.getCellBelow(actcell);
index 3a5629a41aa4192a269b2309e27ef6f1cd6e55a2..7878be10d1e5bc149b5a60b0d7f3e81198250fce 100644 (file)
@@ -105,7 +105,7 @@ public:
        ///
        bool display() const { return tabular.isLongTabular(); }
        ///
        ///
        bool display() const { return tabular.isLongTabular(); }
        ///
-       RESULT localDispatch(FuncRequest const &);
+       dispatch_result localDispatch(FuncRequest const &);
        ///
        int latex(Buffer const &, std::ostream &,
                  LatexRunParams const &) const;
        ///
        int latex(Buffer const &, std::ostream &,
                  LatexRunParams const &) const;
@@ -229,13 +229,13 @@ private:
        ///
        void setPos(BufferView *, int x, int y) const;
        ///
        ///
        void setPos(BufferView *, int x, int y) const;
        ///
-       RESULT moveRight(BufferView *, bool lock = true);
+       dispatch_result moveRight(BufferView *, bool lock = true);
        ///
        ///
-       RESULT moveLeft(BufferView *, bool lock = true);
+       dispatch_result moveLeft(BufferView *, bool lock = true);
        ///
        ///
-       RESULT moveUp(BufferView *, bool lock = true);
+       dispatch_result moveUp(BufferView *, bool lock = true);
        ///
        ///
-       RESULT moveDown(BufferView *, bool lock = true);
+       dispatch_result moveDown(BufferView *, bool lock = true);
        ///
        bool moveNextCell(BufferView *, bool lock = false);
        ///
        ///
        bool moveNextCell(BufferView *, bool lock = false);
        ///
index 6b3bede4da0b2f116486d7544e06ed155d4c4f2d..6224d2099aca6f6f5dedcc2b0a94e65110445fe9 100644 (file)
@@ -588,7 +588,7 @@ void InsetText::lfunMouseMotion(FuncRequest const & cmd)
 }
 
 
 }
 
 
-InsetOld::RESULT InsetText::localDispatch(FuncRequest const & cmd)
+dispatch_result InsetText::localDispatch(FuncRequest const & cmd)
 {
        BufferView * bv = cmd.view();
        setViewCache(bv);
 {
        BufferView * bv = cmd.view();
        setViewCache(bv);
@@ -668,7 +668,7 @@ InsetOld::RESULT InsetText::localDispatch(FuncRequest const & cmd)
        bool was_empty = paragraphs.begin()->empty() && paragraphs.size() == 1;
        no_selection = false;
 
        bool was_empty = paragraphs.begin()->empty() && paragraphs.size() == 1;
        no_selection = false;
 
-       RESULT result = UpdatableInset::localDispatch(cmd);
+       dispatch_result result = UpdatableInset::localDispatch(cmd);
        if (result != UNDISPATCHED)
                return DISPATCHED;
 
        if (result != UNDISPATCHED)
                return DISPATCHED;
 
@@ -1177,7 +1177,7 @@ void InsetText::fitInsetCursor(BufferView * bv) const
 }
 
 
 }
 
 
-InsetOld::RESULT InsetText::moveRight(BufferView * bv)
+dispatch_result InsetText::moveRight(BufferView * bv)
 {
        if (text_.cursorPar()->isRightToLeftPar(bv->buffer()->params()))
                return moveLeftIntern(bv, false, true, false);
 {
        if (text_.cursorPar()->isRightToLeftPar(bv->buffer()->params()))
                return moveLeftIntern(bv, false, true, false);
@@ -1186,7 +1186,7 @@ InsetOld::RESULT InsetText::moveRight(BufferView * bv)
 }
 
 
 }
 
 
-InsetOld::RESULT InsetText::moveLeft(BufferView * bv)
+dispatch_result InsetText::moveLeft(BufferView * bv)
 {
        if (text_.cursorPar()->isRightToLeftPar(bv->buffer()->params()))
                return moveRightIntern(bv, true, true, false);
 {
        if (text_.cursorPar()->isRightToLeftPar(bv->buffer()->params()))
                return moveRightIntern(bv, true, true, false);
@@ -1195,7 +1195,7 @@ InsetOld::RESULT InsetText::moveLeft(BufferView * bv)
 }
 
 
 }
 
 
-InsetOld::RESULT
+dispatch_result
 InsetText::moveRightIntern(BufferView * bv, bool front,
                           bool activate_inset, bool selecting)
 {
 InsetText::moveRightIntern(BufferView * bv, bool front,
                           bool activate_inset, bool selecting)
 {
@@ -1212,7 +1212,7 @@ InsetText::moveRightIntern(BufferView * bv, bool front,
 }
 
 
 }
 
 
-InsetOld::RESULT
+dispatch_result
 InsetText::moveLeftIntern(BufferView * bv, bool front,
                          bool activate_inset, bool selecting)
 {
 InsetText::moveLeftIntern(BufferView * bv, bool front,
                          bool activate_inset, bool selecting)
 {
@@ -1227,7 +1227,7 @@ InsetText::moveLeftIntern(BufferView * bv, bool front,
 }
 
 
 }
 
 
-InsetOld::RESULT InsetText::moveUp(BufferView * bv)
+dispatch_result InsetText::moveUp(BufferView * bv)
 {
        if (crow() == text_.firstRow())
                return FINISHED_UP;
 {
        if (crow() == text_.firstRow())
                return FINISHED_UP;
@@ -1237,7 +1237,7 @@ InsetOld::RESULT InsetText::moveUp(BufferView * bv)
 }
 
 
 }
 
 
-InsetOld::RESULT InsetText::moveDown(BufferView * bv)
+dispatch_result InsetText::moveDown(BufferView * bv)
 {
        if (crow() == text_.lastRow())
                return FINISHED_DOWN;
 {
        if (crow() == text_.lastRow())
                return FINISHED_DOWN;
index 8e21176b03b87af430d348f6108c9366fd986530..614e8f996e3754e1ddd53089804f5258c1c9e2c2 100644 (file)
@@ -80,7 +80,7 @@ public:
        bool unlockInsetInInset(BufferView *,
                                UpdatableInset *, bool lr = false);
        ///
        bool unlockInsetInInset(BufferView *,
                                UpdatableInset *, bool lr = false);
        ///
-       RESULT localDispatch(FuncRequest const &);
+       dispatch_result localDispatch(FuncRequest const &);
        ///
        int latex(Buffer const &, std::ostream &,
                  LatexRunParams const &) const;
        ///
        int latex(Buffer const &, std::ostream &,
                  LatexRunParams const &) const;
@@ -218,22 +218,22 @@ private:
        void lfunMouseMotion(FuncRequest const &);
 
        ///
        void lfunMouseMotion(FuncRequest const &);
 
        ///
-       RESULT moveRight(BufferView *);
+       dispatch_result moveRight(BufferView *);
        ///
        ///
-       RESULT moveLeft(BufferView *);
+       dispatch_result moveLeft(BufferView *);
        ///
        ///
-       RESULT moveRightIntern(BufferView *, bool front,
+       dispatch_result moveRightIntern(BufferView *, bool front,
                                               bool activate_inset = true,
                                               bool selecting = false);
        ///
                                               bool activate_inset = true,
                                               bool selecting = false);
        ///
-       RESULT moveLeftIntern(BufferView *, bool front,
+       dispatch_result moveLeftIntern(BufferView *, bool front,
                                              bool activate_inset = true,
                                              bool selecting = false);
 
        ///
                                              bool activate_inset = true,
                                              bool selecting = false);
 
        ///
-       RESULT moveUp(BufferView *);
+       dispatch_result moveUp(BufferView *);
        ///
        ///
-       RESULT moveDown(BufferView *);
+        dispatch_result moveDown(BufferView *);
        ///
        void setCharFont(Buffer const &, int pos, LyXFont const & font);
        ///
        ///
        void setCharFont(Buffer const &, int pos, LyXFont const & font);
        ///
index fd5f6f5ffb273c51dcea7f456890be6b89acfd6a..fd022a71b587a8421cea4eaa18413f8cdb475b5f 100644 (file)
@@ -108,7 +108,7 @@ void UpdatableInset::scroll(BufferView * bv, int offset) const
 
 
 ///  An updatable inset could handle lyx editing commands
 
 
 ///  An updatable inset could handle lyx editing commands
-InsetOld::RESULT UpdatableInset::localDispatch(FuncRequest const & ev)
+dispatch_result UpdatableInset::localDispatch(FuncRequest const & ev)
 {
        if (ev.action == LFUN_MOUSE_RELEASE)
                return (editable() == IS_EDITABLE) ? DISPATCHED : UNDISPATCHED;
 {
        if (ev.action == LFUN_MOUSE_RELEASE)
                return (editable() == IS_EDITABLE) ? DISPATCHED : UNDISPATCHED;
index a27cf2d85c03ace1a1d1387e9a4795fd36b127df..ba795e875989e2c31c318f9d656dedb8a989980e 100644 (file)
@@ -82,7 +82,7 @@ public:
                                        bool /*lr*/ = false)
                { return false; }
        ///  An updatable inset could handle lyx editing commands
                                        bool /*lr*/ = false)
                { return false; }
        ///  An updatable inset could handle lyx editing commands
-       virtual RESULT localDispatch(FuncRequest const & cmd);
+       virtual dispatch_result localDispatch(FuncRequest const & cmd);
        // We need this method to not clobber the real method in Inset
        int scroll(bool recursive = true) const
                { return InsetOld::scroll(recursive); }
        // We need this method to not clobber the real method in Inset
        int scroll(bool recursive = true) const
                { return InsetOld::scroll(recursive); }
index 25f67589a50d3ebdd1ef4683ef94fe450ce67751..5378660bc86822cca28608038e93f0da537a7afd 100644 (file)
@@ -889,7 +889,7 @@ void LyXFunc::dispatch(FuncRequest const & func, bool verbose)
 
 
        if (view()->available() && view()->theLockingInset()) {
 
 
        if (view()->available() && view()->theLockingInset()) {
-               InsetOld::RESULT result;
+               dispatch_result result;
                if (action > 1 || (action == LFUN_UNKNOWN_ACTION &&
                                     !keyseq.deleted()))
                {
                if (action > 1 || (action == LFUN_UNKNOWN_ACTION &&
                                     !keyseq.deleted()))
                {
index 5e9ec5cb720c89742446037f494ca6c51a571165..9492ca92fff647bf28584edf9fd4a831c9552229 100644 (file)
@@ -153,7 +153,7 @@ public:
        void metrics(MetricsInfo & mi, Dimension & dim);
 
        ///
        void metrics(MetricsInfo & mi, Dimension & dim);
 
        ///
-       InsetOld::RESULT dispatch(FuncRequest const & cmd);
+       dispatch_result dispatch(FuncRequest const & cmd);
 
        BufferView * bv();
 
 
        BufferView * bv();
 
index c182932080dac48ff6c1e3b2c44d80e2d2563864..bc811f88e55fdde653a72ced166c51f41a88de89 100644 (file)
@@ -1,3 +1,7 @@
+2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * formulabase.C (localDispatch): DISPATCH -> dispatch_result
+
 2003-10-12  Angus Leeming  <leeming@lyx.org>
 
        * formulabase.[Ch] (cache): added.
 2003-10-12  Angus Leeming  <leeming@lyx.org>
 
        * formulabase.[Ch] (cache): added.
@@ -31,7 +35,7 @@
 
        * formula.[Ch]: mods to PreviewImpl due to the changes to
        PreviewedInset.
 
        * formula.[Ch]: mods to PreviewImpl due to the changes to
        PreviewedInset.
-       
+
 2003-10-09  Angus Leeming  <leeming@lyx.org>
 
        * formula.C (metrics, draw): pass a buffer arg to PreviewedInset's
 2003-10-09  Angus Leeming  <leeming@lyx.org>
 
        * formula.C (metrics, draw): pass a buffer arg to PreviewedInset's
        add #include "LColor.h".
        * math_data.C, math_scriptinset.C: add #include <boost/assert.hpp>
        * math_exintinset.C: add #include <boost/scoped_ptr.hpp>
        add #include "LColor.h".
        * math_data.C, math_scriptinset.C: add #include <boost/assert.hpp>
        * math_exintinset.C: add #include <boost/scoped_ptr.hpp>
+
 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
 
        * command_inset.C
 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
 
        * command_inset.C
index ffdd3e4726b084c9710afac07bd6a58883fb9847..62f94bd749a431adabf964790015eb6c84c2ce8c 100644 (file)
@@ -379,7 +379,7 @@ dispatch_result InsetFormulaBase::localDispatch(FuncRequest const & cmd)
                return UNDISPATCHED;
 
        string argument    = cmd.argument;
                return UNDISPATCHED;
 
        string argument    = cmd.argument;
-       RESULT result      = DISPATCHED;
+       dispatch_result result      = DISPATCHED;
        bool sel           = false;
        bool was_macro     = mathcursor->inMacroMode();
        bool was_selection = mathcursor->selection();
        bool sel           = false;
        bool was_macro     = mathcursor->inMacroMode();
        bool was_selection = mathcursor->selection();
index 64114921639c564a8c14243ace69ca13c8738677..35380d1f2740ae243ce0789661b8b57ef5ab83ee 100644 (file)
@@ -389,9 +389,10 @@ void doInsertInset(LyXText * lt, FuncRequest const & cmd,
        }
 }
 
        }
 }
 
-}
+} // anon namespace
+
 
 
-InsetOld::RESULT LyXText::dispatch(FuncRequest const & cmd)
+dispatch_result LyXText::dispatch(FuncRequest const & cmd)
 {
        lyxerr[Debug::ACTION] << "LyXText::dispatch: action[" << cmd.action
                              <<"] arg[" << cmd.argument << ']' << "xy[" <<
 {
        lyxerr[Debug::ACTION] << "LyXText::dispatch: action[" << cmd.action
                              <<"] arg[" << cmd.argument << ']' << "xy[" <<