question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Additional bindings on `Input` would be beneficial

See original GitHub issue

I’m thinking of these:

Binding('ctrl+left', 'word_left', 'previous word', show=False),
Binding('ctrl+right', 'word_right', 'next word', show=False),
Binding('ctrl+u', 'delete_left_all', 'delete left all', show=False),
Binding('ctrl+w', 'delete_left_word', 'delete left word', show=False),
Binding('ctrl+f', 'delete_right_word', 'delete right word', show=False),
Binding('ctrl+k', 'delete_right_all', 'delete right all', show=False)

and have already implemented the above in a subclass in an app I’m working on, seem to work reasonably. I could work up a PR but I’m not sure how the unit and integration testing for this kind of thing would work.

Issue Analytics

  • State:open
  • Created 10 months ago
  • Reactions:3
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
willmcgugancommented, Dec 3, 2022

I think that may be fixed in main. We were responding to key events for home and end, but these were replaced with bindings. So if the focused widget has a binding it will now prevent the parent from handling it.

0reactions
learnbyexamplecommented, Dec 3, 2022

I’m not sure where the other functionality is implemented. Home/End are used to scroll the screen to top/bottom. What I’m asking is that when focus is in Input, it should not scroll the screen.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Input Bindings | Input System | 1.0.2 - Unity - Manual
An InputBinding represents a connection between an Action and one or more Controls identified by a Control path. An Action can have an...
Read more >
Bindings in Perspective - Ignition User Manual 8.0
Tag - Binds a property directly to a Tag which sets up a Tag subscription for that Tag, and every time the chosen...
Read more >
How to create custom input bindings - R Shiny
In this tutorial we'll learn how we can create our own custom input bindings. In a Shiny context, input bindings are mainly used...
Read more >
Bindings / Text inputs • Svelte Tutorial
Sometimes it's useful to break that rule. Take the case of the <input> element in this component — we could add an on:input...
Read more >
Binding Input in C++ with Unreal Engine 4 - Unrealistic
For example: Maybe you want a lockbox to start accepting input only once you hover your cursor over it. In addition, we are...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found