diff options
author | Sandy Armstrong <sandy@xamarin.com> | 2019-08-02 19:55:56 +0300 |
---|---|---|
committer | Sandy Armstrong <sandy@xamarin.com> | 2019-08-02 22:12:38 +0300 |
commit | a8500d1f2a0740f867fb0a7d869cc94d859608c3 (patch) | |
tree | 35e57607ccdc7f00e00b3677383fc50d408e816a | |
parent | 5f7f209e67b239bf8a05a63cfd1d90ac2bbd65c8 (diff) |
find stuffpr-sandy-selection-find
-rw-r--r-- | src/Editor/Text/Def/Extras/Find/FindCommandArgs.cs | 21 | ||||
-rw-r--r-- | src/Editor/Text/Def/TextUI/Commanding/CommandSelector.cs | 2 |
2 files changed, 22 insertions, 1 deletions
diff --git a/src/Editor/Text/Def/Extras/Find/FindCommandArgs.cs b/src/Editor/Text/Def/Extras/Find/FindCommandArgs.cs index 2bfe806..e605417 100644 --- a/src/Editor/Text/Def/Extras/Find/FindCommandArgs.cs +++ b/src/Editor/Text/Def/Extras/Find/FindCommandArgs.cs @@ -19,6 +19,13 @@ namespace Microsoft.VisualStudio.Text.Editor.Commanding.Commands } } + public sealed class FindNextLikeSelectionCommandArgs : EditorCommandArgs + { + public FindNextLikeSelectionCommandArgs(ITextView textView, ITextBuffer subjectBuffer) : base(textView, subjectBuffer) + { + } + } + public sealed class FindPreviousCommandArgs : EditorCommandArgs { public FindPreviousCommandArgs(ITextView textView, ITextBuffer subjectBuffer) : base(textView, subjectBuffer) @@ -26,6 +33,13 @@ namespace Microsoft.VisualStudio.Text.Editor.Commanding.Commands } } + public sealed class FindPreviousLikeSelectionCommandArgs : EditorCommandArgs + { + public FindPreviousLikeSelectionCommandArgs(ITextView textView, ITextBuffer subjectBuffer) : base(textView, subjectBuffer) + { + } + } + public sealed class ReplaceCommandArgs : EditorCommandArgs { public ReplaceCommandArgs(ITextView textView, ITextBuffer subjectBuffer) : base(textView, subjectBuffer) @@ -81,4 +95,11 @@ namespace Microsoft.VisualStudio.Text.Editor.Commanding.Commands { } } + + public sealed class SetSearchStringFromSelectionCommandArgs : EditorCommandArgs + { + public SetSearchStringFromSelectionCommandArgs(ITextView textView, ITextBuffer subjectBuffer) : base(textView, subjectBuffer) + { + } + } } diff --git a/src/Editor/Text/Def/TextUI/Commanding/CommandSelector.cs b/src/Editor/Text/Def/TextUI/Commanding/CommandSelector.cs index 343d261..91e2050 100644 --- a/src/Editor/Text/Def/TextUI/Commanding/CommandSelector.cs +++ b/src/Editor/Text/Def/TextUI/Commanding/CommandSelector.cs @@ -195,7 +195,7 @@ namespace Microsoft.VisualStudio.Text.Editor.Commanding /// <summary>⇧fn⇡, ⇧⇞</summary> public const string PageUpAndModifySelection = "pageUpAndModifySelection:"; - /// <summary>⌘F, ⌥⌘F, ⌘G, ⌥⌘G</summary> + /// <summary>⌘F, ⌥⌘F, ⌘G, ⌥⌘G, ⌘E</summary> public const string PerformTextFinderAction = "performTextFinderAction:"; /// <summary>fn⇡, ⇞</summary> |