Martin Vermeer wrote:
On Tue, Nov 28, 2006 at 11:03:06AM +0100, Abdelrazak Younes wrote:
This is mysterious.
Not that much once you take the effort to go through the dispatch
machinery step by step. But this sure takes a great deal of time and is
awfully complicated...
Can this somehow be si
On Tue, Nov 28, 2006 at 11:03:06AM +0100, Abdelrazak Younes wrote:
> Martin Vermeer wrote:
> >>Hmmm, would the construct
> >>
> >>cur.updateFlags(Update::FitCursor | Update::SinglePar);
> >>
> >>work here? It would update always only the paragraph the math inset is
> >>in, but the whole
Martin Vermeer wrote:
Hmmm, would the construct
cur.updateFlags(Update::FitCursor | Update::SinglePar);
work here? It would update always only the paragraph the math inset is
in, but the whole screen only if the cursor lands outside it.
- Martin
OK so I tried this... doesn't
On Wed, 2006-11-22 at 17:15 +0200, Martin Vermeer wrote:
> On Wed, 2006-11-22 at 14:45 +, [EMAIL PROTECTED] wrote:
> > Author: younes
> > Date: Wed Nov 22 15:45:33 2006
> > New Revision: 16011
> >
> > URL: http://www.lyx.org/trac/changeset/16011
> > Log:
> > * InsetMathNest::lfunMouseRelease()
Andre Poenitz wrote:
On Wed, Nov 22, 2006 at 04:23:54PM +0100, Abdelrazak Younes wrote:
But the real performance fix is to know if we are still in the same
inset or not. I am sure this info is obtainable in some of the following
lines but I have no time to look at it.
That's easy. Store the c
On Wed, Nov 22, 2006 at 04:23:54PM +0100, Abdelrazak Younes wrote:
> But the real performance fix is to know if we are still in the same
> inset or not. I am sure this info is obtainable in some of the following
> lines but I have no time to look at it.
That's easy. Store the cursor before movem
Martin Vermeer wrote:
--- lyx-devel/trunk/src/mathed/InsetMathNest.C (original)
+++ lyx-devel/trunk/src/mathed/InsetMathNest.C Wed Nov 22 15:45:33 2006
@@ -493,7 +493,11 @@
break;
case LFUN_CHAR_FORWARD:
- cur.updateFlags(Update::FitCursor);
+ // F
On Wed, 2006-11-22 at 14:45 +, [EMAIL PROTECTED] wrote:
> Author: younes
> Date: Wed Nov 22 15:45:33 2006
> New Revision: 16011
>
> URL: http://www.lyx.org/trac/changeset/16011
> Log:
> * InsetMathNest::lfunMouseRelease(): keep the optimization only if
> there is no selection. This allows to s