IDE Editor Fix
- Posted by David Cuny <dcuny at LANSET.COM> Mar 28, 2001
- 470 views
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