On Thu, Dec 12, 2002 at 09:57:32AM +0100, Andre' Poenitz wrote:
> What's a paragraph in a formula?

Ok, next choice: see attached patch.

Btw, I noticed that this function does not break out of tables and notes.
Isn't that annoying, too?

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)
? tmp.diff
? 1.diff
? cut.diff
? crash.diff
? haveit
? script.diff
? all
? rmcopyright.sh
? .math_cursor.C.swp
? shared_ptr.diff
Index: formulabase.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/formulabase.C,v
retrieving revision 1.229
diff -u -p -r1.229 formulabase.C
--- formulabase.C       27 Nov 2002 10:30:27 -0000      1.229
+++ formulabase.C       12 Dec 2002 09:02:34 -0000
@@ -508,18 +508,22 @@ Inset::RESULT InsetFormulaBase::localDis
 
        case LFUN_HOMESEL:
        case LFUN_WORDLEFTSEL:
+       case LFUN_UP_PARAGRAPHSEL:
                sel = true; // fall through
        case LFUN_HOME:
        case LFUN_WORDLEFT:
+       case LFUN_UP_PARAGRAPH:
                result = mathcursor->home(sel) ? DISPATCHED : FINISHED;
                updateLocal(bv, false);
                break;
 
        case LFUN_ENDSEL:
        case LFUN_WORDRIGHTSEL:
+       case LFUN_DOWN_PARAGRAPHSEL:
                sel = true; // fall through
        case LFUN_END:
        case LFUN_WORDRIGHT:
+       case LFUN_DOWN_PARAGRAPH:
                result = mathcursor->end(sel) ? DISPATCHED : FINISHED_RIGHT;
                updateLocal(bv, false);
                break;

Reply via email to