Slow buffer/lots of repeat

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

Post Reply
trenatos
Posts: 189
Joined: Wed Jul 03, 2013 6:46 am
Location: Virginia, USA
Contact:

Slow buffer/lots of repeat

Post by trenatos » Mon Apr 27, 2015 7:12 pm

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?
Marcus

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 6026
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Slow buffer/lots of repeat

Post by dunbarx » Mon Apr 27, 2015 8:20 pm

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

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”