]> git.lyx.org Git - lyx.git/commitdiff
more trivial tweaks to mathed bindings
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 11 Oct 2002 09:52:50 +0000 (09:52 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 11 Oct 2002 09:52:50 +0000 (09:52 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5380 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/ChangeLog
src/mathed/formulabase.C

index 670db7b17a491662cfba3fd1a9a061301e9b3c78..4cbb3fd960d03629d551be22bdfdfc537899acf3 100644 (file)
@@ -1,3 +1,8 @@
+2002-10-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * formulabase.C (localDispatch): make LFUN_WORDLEFTSEL and
+       LFUN_WORDRIGHTSEL coherent with their non-SEL counterparts
+
 2002-09-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
 
        * Makefile.am (INCLUDES): loose SIGC_INCLUDES
index 24881bc67724093ebea75cd34f345b9015002fc2..c6ee02b92debbe8db20a7e66c3cd3f77a32b35ca 100644 (file)
@@ -432,7 +432,6 @@ Inset::RESULT InsetFormulaBase::localDispatch(FuncRequest const & cmd)
                updateLocal(bv, true);
                break;
 
-       case LFUN_WORDRIGHTSEL:
        case LFUN_RIGHTSEL:
                sel = true; // fall through...
        case LFUN_RIGHT:
@@ -444,7 +443,6 @@ Inset::RESULT InsetFormulaBase::localDispatch(FuncRequest const & cmd)
                //bv->owner()->message(mathcursor->info());
                break;
 
-       case LFUN_WORDLEFTSEL:
        case LFUN_LEFTSEL:
                sel = true; // fall through
        case LFUN_LEFT:
@@ -473,6 +471,7 @@ Inset::RESULT InsetFormulaBase::localDispatch(FuncRequest const & cmd)
                break;
 
        case LFUN_HOMESEL:
+       case LFUN_WORDLEFTSEL:
                sel = true; // fall through
        case LFUN_HOME:
        case LFUN_WORDLEFT:
@@ -481,6 +480,7 @@ Inset::RESULT InsetFormulaBase::localDispatch(FuncRequest const & cmd)
                break;
 
        case LFUN_ENDSEL:
+       case LFUN_WORDRIGHTSEL:
                sel = true; // fall through
        case LFUN_END:
        case LFUN_WORDRIGHT: