-
I have a functionality with each keypress the line in Edit is autocompleted based on the existing history, however due to unavailability of key-press events on Multiline or Single Edit I'm not able to determine the position when the user input is ended. Are there any plans for supporting Keybuf other than for View? (or) possible to know the cursor position in the Widget (will be much more helpful)? Simplifying further, for immediate issue (ultimately keybuf as I need to capture more than printable chars), is it possible to know the last position in the Edit? I tried to isolate the requirement as below (at the end I wanted to store edit_cursor.webm |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 2 replies
-
Hi! The easy way to know the cursor position when the input in EditBox has finished, is to use the |
Beta Was this translation helpful? Give feedback.
-
In working in this issue: #187 I'll try to upload a patch this week that fixes this as well. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
WIP. Sending cursor position in |
Beta Was this translation helpful? Give feedback.
-
WIP. Sending cursor position in |
Beta Was this translation helpful? Give feedback.
-
Implemented in this commit: 788f43a |
Beta Was this translation helpful? Give feedback.
Implemented in this commit: 788f43a
Source code of previous examples here: https://nappgui.com/en/howto/guihello.html#h5