Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vs-editor-api.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Editor/Text/Def/TextUICocoa/Extras/GoToLine/IGoToLinePresenter.cs')
-rw-r--r--src/Editor/Text/Def/TextUICocoa/Extras/GoToLine/IGoToLinePresenter.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/Editor/Text/Def/TextUICocoa/Extras/GoToLine/IGoToLinePresenter.cs b/src/Editor/Text/Def/TextUICocoa/Extras/GoToLine/IGoToLinePresenter.cs
new file mode 100644
index 0000000..ccf427e
--- /dev/null
+++ b/src/Editor/Text/Def/TextUICocoa/Extras/GoToLine/IGoToLinePresenter.cs
@@ -0,0 +1,18 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+//
+
+namespace Microsoft.VisualStudio.Text.Extras.GoToLine
+{
+ /// <summary>
+ /// Encapsulates the Go To Line UI in a similar fashion to
+ /// <see cref="Find.IFindPresenter"/>
+ /// </summary>
+ public interface IGoToLinePresenter
+ {
+ void Show();
+ void Hide();
+ bool NavigateToLine(int lineNumber);
+ }
+} \ No newline at end of file