Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a edit_integer widget. #39

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

andrewray
Copy link
Collaborator

  • 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.

- 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`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant