On Thu, Dec 12, 2002 at 10:11:43AM +0100, Andre' Poenitz wrote:
> A bit, but all I can offer is to put the cursor immediately in front of the
> inset as "directly going to the start of the enclosing paragraph" would
> need more code in areas I do not want to touch right now.
The patch for this case would be:
? tmp.diff
? 1.diff
? cut.diff
? crash.diff
? haveit
? script.diff
? all
? rmcopyright.sh
? 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:15:28 -0000
@@ -506,6 +506,14 @@ Inset::RESULT InsetFormulaBase::localDis
updateLocal(bv, false);
break;
+ case LFUN_UP_PARAGRAPHSEL:
+ case LFUN_UP_PARAGRAPH:
+ case LFUN_DOWN_PARAGRAPHSEL:
+ case LFUN_DOWN_PARAGRAPH:
+ result = FINISHED;
+ updateLocal(bv, false);
+ break;
+
case LFUN_HOMESEL:
case LFUN_WORDLEFTSEL:
sel = true; // fall through