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

toggle_whole_word and other related commands do not work if the find_panel does not has focus #2914

Closed
evandrocoan opened this issue Aug 4, 2019 · 2 comments

Comments

@evandrocoan
Copy link

evandrocoan commented Aug 4, 2019

For example, if you set these keybindings in your user settings file:

    { "keys": ["alt+q", "ctrl+p"], "command": "toggle_wrap" },
    { "keys": ["alt+q", "ctrl+i"], "command": "toggle_in_selection" },
    { "keys": ["alt+q", "ctrl+h"], "command": "toggle_highlight" },
    { "keys": ["alt+q", "ctrl+t"], "command": "toggle_show_context" },
    { "keys": ["alt+q", "ctrl+b"], "command": "toggle_use_buffer" },
    { "keys": ["alt+q", "ctrl+s"], "command": "toggle_case_sensitive" },
    { "keys": ["alt+q", "ctrl+r"], "command": "toggle_regex" },
    { "keys": ["alt+q", "ctrl+w"], "command": "toggle_whole_word" },
    { "keys": ["alt+q", "ctrl+a"], "command": "toggle_preserve_case" },

And unfocus the find panel, none of them work. But if you focus back, they start working. (I also teste the functionality, other than just the visual).
zoom2

Related

  1. Add missing key bindings for toggling options in the find/replace panels #1447 Add missing key bindings for toggling options in the find/replace panels

Environment

  • Operating system and version:
    • Windows 10 build 15063 x64
    • Resolution 1920x1080
    • dpi_scale 1.0
    • Sublime Text:
    • Build 3207
    • 64 bit
@evandrocoan
Copy link
Author

evandrocoan commented Aug 4, 2019

I managed to fix this with this package:

  1. https://github.com/evandrocoan/FixedToggleFindPanel

@BenjaminSchaaf BenjaminSchaaf self-assigned this Jan 20, 2021
@BenjaminSchaaf
Copy link
Member

Fixed in build 4097. Those commands can now be run from the window, allowing for those custom keybindings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants