update EditField docs

develop
Myk Taylor 2023-01-13 17:08:25 -08:00
parent e450af74aa
commit b77e896041
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
1 changed files with 4 additions and 3 deletions

@ -4468,9 +4468,10 @@ calling ``setFocus(true)`` on the field object.
If an activation ``key`` is specified, the ``EditField`` will manage its own If an activation ``key`` is specified, the ``EditField`` will manage its own
focus. It will start in the unfocused state, and pressing the activation key focus. It will start in the unfocused state, and pressing the activation key
will acquire keyboard focus. Pressing the Enter key will release keyboard focus will acquire keyboard focus. Pressing the Enter key will release keyboard focus
and then call the ``on_submit`` callback. Pressing the Escape key will also and then call the ``on_submit`` callback. Pressing the Escape key (or r-clicking
release keyboard focus, but first it will restore the text that was displayed with the mouse) will also release keyboard focus, but first it will restore the
before the ``EditField`` gained focus and then call the ``on_change`` callback. text that was displayed before the ``EditField`` gained focus and then call the
``on_change`` callback.
The ``EditField`` cursor can be moved to where you want to insert/remove text. The ``EditField`` cursor can be moved to where you want to insert/remove text.
You can click where you want the cursor to move or you can use any of the You can click where you want the cursor to move or you can use any of the