Open Find / Replace dialog in the current space.#1631
Open
xwmx wants to merge 2 commits intomacvim-dev:masterfrom
Open
Open Find / Replace dialog in the current space.#1631xwmx wants to merge 2 commits intomacvim-dev:masterfrom
xwmx wants to merge 2 commits intomacvim-dev:masterfrom
Conversation
Set the window's collection behavior to include NSWindowCollectionBehaviorMoveToActiveSpace. This tells macOS to always show the Find dialog in the current active space (the one where you press Command+F) rather than following the application to another space. Resolves macvim-dev#1629
Contributor
|
As MacVim is built for ancient macOS versions as well, this feature should be guarded by macOS version where it has first appear. |
Wrap setting collection behavior in a version check for macOS 10.7 or later.
Author
|
@eirnym Updated with macOS version check. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Set the window's collection behavior to include NSWindowCollectionBehaviorMoveToActiveSpace.
This tells macOS to always show the Find dialog in the current active space (the one where you press Command+F) rather than following the application to another space.
Resolves #1629
This solution was provided by Copilot and verified locally.