View Revisions: Issue #1877
[ All Revisions ] [ Back to Issue ]
Summary | 0001877: Keypress claiming (text input fields etc.) | ||
---|---|---|---|
Revision | 2015-10-31 22:08 by Vincent Sanders | ||
Description | This patch modifies the way in which text input fields etc. are handled: the keypress handler callbacks are modified to return whether they've claimed the keypress, rather than assuming that if the callback is used, the keypress is automatically claimed. This allows callback handlers to more selectively override other keypress-triggered functions such as window scrolling, e.g. cursor up & down can be used to scroll even though the focus is in a single-line text input field. |
||
Revision | 2007-03-06 22:22 by dsalt | ||
Description | This patch modifies the way in which text input fields etc. are handled: the keypress handler callbacks are modified to return whether they've claimed the keypress, rather than assuming that if the callback is used, the keypress is automatically claimed. This allows callback handlers to more selectively override other keypress-triggered functions such as window scrolling, e.g. cursor up & down can be used to scroll even though the focus is in a single-line text input field. |