Re: [Bug] b15 pv9: Issue with speed of return key to insert a line break
- From: Brendan Murphy <bmurphy@xxxxxxxxxxxxxxxxxxxxx>
- To: ftcdev@xxxxxxxxxxxxx
- Date: Wed, 30 Jan 2008 09:55:35 -0600
Sometimes pressing the return key to insert a line break results
in more then one line break. This behavior is due to the speed
optimzation of FTC.
I like to suggest that the return key waits for the "keyup" event
before it can insert a new line break. Otherwise it should be
slowed down a little bit so that at a normal typing speed only one
line break will be inserted.
There is no key up event. Key down events are generated by the OS
and are dependent on the user settings in the Keyboard properties
control panel. If the repeat delay in the control panel is to
short, you can get multiple key down events from a single key
stroke. So this really has nothing to do with the speed of the
FTC. The FTC is just responding to the events it receives.
Besides, waiting for key to be up will not solve the problem since
the OS will still send the queued key down events.
FTC Website: www.truenorthsoftware.com/Realbasic/FormattedText.html
Set List Options (digest and vacation modes): www.freelists.org/list/ftcdev
List Archive: www.freelists.org/archives/ftcdev
Unsubscribe: Send email to ftcdev-request@xxxxxxxxxxxxx with "unsubscribe" in
the subject field.
- Follow-Ups:
Other related posts:
- » Re: [Bug] b15 pv9: Issue with speed of return key to insert a line break
- » Re: [Bug] b15 pv9: Issue with speed of return key to insert a line break
Sometimes pressing the return key to insert a line break results in more then one line break. This behavior is due to the speed optimzation of FTC. I like to suggest that the return key waits for the "keyup" event before it can insert a new line break. Otherwise it should be slowed down a little bit so that at a normal typing speed only one line break will be inserted.