diff --git a/src/mathed/ChangeLog b/src/mathed/ChangeLog index 9871895539..a27acba49d 100644 --- a/src/mathed/ChangeLog +++ b/src/mathed/ChangeLog @@ -1,3 +1,8 @@ +2002-10-10 Jean-Marc Lasgouttes + + * formulabase.C (localDispatch): support the WORD movement lfuns + (bug #571) + 2002-09-11 Jean-Marc Lasgouttes * math_parser.C (parse_into1): fix reading labels containing diff --git a/src/mathed/formulabase.C b/src/mathed/formulabase.C index 80a25c9cdf..34283f1f02 100644 --- a/src/mathed/formulabase.C +++ b/src/mathed/formulabase.C @@ -468,17 +468,21 @@ InsetFormulaBase::localDispatch(BufferView * bv, kb_action action, break; case LFUN_HOMESEL: + case LFUN_WORDLEFTSEL: sel = true; case LFUN_HOME: + case LFUN_WORDLEFT: mathcursor->home(sel); updateLocal(bv, false); break; case LFUN_ENDSEL: + case LFUN_WORDRIGHTSEL: sel = true; case LFUN_END: + case LFUN_WORDRIGHT: mathcursor->end(sel); updateLocal(bv, false); break; @@ -552,10 +556,6 @@ InsetFormulaBase::localDispatch(BufferView * bv, kb_action action, mathcursor->selCopy(); break; - case LFUN_WORDRIGHTSEL: - case LFUN_WORDLEFTSEL: - break; - // Special casing for superscript in case of LyX handling // dead-keys: case LFUN_CIRCUMFLEX: diff --git a/status.12x b/status.12x index 051018674e..4f0a638cb2 100644 --- a/status.12x +++ b/status.12x @@ -54,6 +54,8 @@ What's new - when a viewer has not been found (set to "none"), remove the corresponding View menu entry +- fix handling of word-related cursor movement functions in math editor + - fix placement of cursor with mouse in presence of hfills - the reference dialog now lists the labels of the current buffer