fix bug 571 (partly)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH-1_2_X@5377 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2002-10-10 11:51:56 +00:00
parent a1bf16356d
commit 5237d4f975
3 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2002-10-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* formulabase.C (localDispatch): support the WORD movement lfuns
(bug #571)
2002-09-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* math_parser.C (parse_into1): fix reading labels containing

View File

@ -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:

View File

@ -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