Vector35 / Vector35/binaryninja-api
ScriptingConsoleEdit widget should intercept shortcuts events when being focused
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.3k
- Forks
- 298
- Avg merge
- 5d 5h
- Merged PRs (30d)
- 19
Description
What is the feature you'd like to have?
Currently shortcuts can trigger other widgets, however i think ScriptingConsoleEdit when focused, should intercept them to not let other widgets being triggered. For example Ctrl+A and Ctrl+E in macOS often used to navigate to the edges of the text, thus if there is some widgets using this shortcuts, then it would be triggered when editing the text in the python console.
Additional Information:
For example IDAs scripting console exactly behave in this way - when focused, it won't let shortcuts being triggered.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the ScriptingConsoleEdit widget and its keyboard or shortcut event handling. Reproduce the issue in the Python console with focus on the editor, then verify that shortcuts such as Ctrl+A and Ctrl+E are consumed by the editor and do not trigger other widgets, matching the described macOS behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100