From f789d1a4be5ebd17ba5d2ddffba9c351e3071dfb Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Fri, 11 Oct 2002 09:52:50 +0000 Subject: [PATCH] more trivial tweaks to mathed bindings git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5380 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/ChangeLog | 5 +++++ src/mathed/formulabase.C | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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: -- 2.39.2