Open
Conversation
- Refactor the bindings code so it can be overridden and customised (via an optional parameter to `edit`) - Add new action [Custom_skip] similar to `Custom` except the user function returns a bool. If false is returned the action is halted and the message is propogated up. Specific use is so that focus can move out of the `edit_integer` widget on `Left`/`Right` when at the beginning/end of the text. Not 100% sure how well this interacts with the macro code. - add `is_valid_char` method to `edit` - Add example `editint`.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
customised (via an optional parameter to
edit)Custom_skipsimilar toCustomexcept the userfunction returns a bool. If false is returned the action is halted
and the message is propogated up. Specific use is so that focus
can move out of the
edit_integerwidget onLeft/Rightwhenat the beginning/end of the text. Not 100% sure how well this
interacts with the macro code.
is_valid_charmethod toediteditint.