Re: IDE Editor Fix

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hi David,
Used the patch you supplied but if I use the mouse to page up & down on the
scroll bar in never releases focus.
I mean that if I then use the cursor up or down key the whole page scrolls
and I can't type anything. If I don't use the mouse the editor really works
much faster.

Regards
Tony Steward

Come Visit Me At www.locksdownunder.com

----- Original Message -----
From: "David Cuny" <dcuny at LANSET.COM>
To: "EUforum" <EUforum at topica.com>
Sent: Thursday, March 29, 2001 11:53 AM
Subject: IDE Editor Fix


>
>
> Here's a small fix for the IDE Editor that should speed it up quite a bit:
> In IDE_EDIT.EW, in the routines vscroll_Scroll and hscroll_Scroll, change
> the code:
>
>    setFocus( mle )
>    editorDraw()
>
> to:
>
>    if not hasFocus then
>       setFocus( mle )
>       editorDraw()
>    end if
>
> This prevents the scrollbar from repainting the window if it doesn't have
> focus. You should find the editor changes from slug-slow to nice and
> responsive, no matter what size the window is.
>
> There are compelling reasons to use an emulated editor, instead of a
hacked
> RTF control. Besides being more responsive and unlimited in size, it lends
> itself to adding such nice things as context-sensitive hints. I'll look
into
> adding something like this.
>
> -- David Cuny
>
>
>
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu