So I'm building an IDE, and it's going quite well.
But I've run into a big issue, key buffer/repeat.
Basically, the whole thing is sluggish as cold syrup.
I have a large scrolling field for the main window, a small field next to it for line display, and trap keys using rawkeydown for things like save, open, the usual.
Scrolling with the arrows up and down, the whole thing takes forever to move, and the arrow keys are buffered, so the screen doesn't stop moving when you let go, it keeps "catching up".
You can feel the slowness when scrolling with the mouse too.
Any common tricks for dealing with this kind of issue?
Slow buffer/lots of repeat
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Slow buffer/lots of repeat
Marcus
Re: Slow buffer/lots of repeat
Hi.
How big is that field? I made one with a million lines in it, and a short arrow key routine in the card script, and field response was instantaneous, line by line. Scrolling worked fine.
Craig Newman
How big is that field? I made one with a million lines in it, and a short arrow key routine in the card script, and field response was instantaneous, line by line. Scrolling worked fine.
Craig Newman