Add the ability to change / disable pre-implemented keyboard shortcuts. #196
Labels
No labels
Area-Accessibility
Area-Build
Area-CodeCompletion
Area-Document
Area-Documentation
Area-Editing
Area-Folding
Area-Highlighting
Area-i18n
Area-Indentation
Area-NetFx
Area-Rendering
Area-Search
Area-Snippets
dependencies
duplicate
Feedback Needed
help wanted
invalid
Issue-Bug
Issue-Discussion
Issue-Enhancement
Issue-Performance
Issue-Question
on-hold
Resolution-Answered
Resolution-By Design
Resolution-Duplicate
Resolution-Fixed
Resolution-Won't Fix
Up-for-Grabs
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-icsharpcode/AvalonEdit#196
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'd love to see the ability to remap / disable some pre-implemented keyboard shortcuts such as CTRL+Z, CTRL+Y etc.
Usage example: In my application, I want to run some methods before and after the base.Undo() event, which is called by the CTRL+Z shortcut, but sadly, there's no way to catch it.
Another idea would be to add a Undone / Redone event to the editor, but I think shortcut remapping would also do the trick.
I'd really like to use AvalonEdit in my application, but I need to handle Undo/Redo outside the scope of any one control. Is there a way to get AvalonEdit to stop intercepting Ctrl-Z when it has focus so that my window-level input binding handles it? Otherwise I don't think it's going to be possible for me to use AvalonEdit at all.
Hope this helps...
Alternatively, you could implement your own TextAreaInputHandler(s)...