diff --git a/src/mathed/ChangeLog b/src/mathed/ChangeLog index 670db7b17a..4cbb3fd960 100644 --- a/src/mathed/ChangeLog +++ b/src/mathed/ChangeLog @@ -1,3 +1,8 @@ +2002-10-10 Jean-Marc Lasgouttes + + * formulabase.C (localDispatch): make LFUN_WORDLEFTSEL and + LFUN_WORDRIGHTSEL coherent with their non-SEL counterparts + 2002-09-24 Lars Gullik Bjønnes * Makefile.am (INCLUDES): loose SIGC_INCLUDES diff --git a/src/mathed/formulabase.C b/src/mathed/formulabase.C index 24881bc677..c6ee02b92d 100644 --- a/src/mathed/formulabase.C +++ b/src/mathed/formulabase.C @@ -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: