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/Text/Impl/EditorPrimitives/DefaultTextViewPrimitive.cs')
-rw-r--r--src/Text/Impl/EditorPrimitives/DefaultTextViewPrimitive.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Text/Impl/EditorPrimitives/DefaultTextViewPrimitive.cs b/src/Text/Impl/EditorPrimitives/DefaultTextViewPrimitive.cs
index 80715de..4dca517 100644
--- a/src/Text/Impl/EditorPrimitives/DefaultTextViewPrimitive.cs
+++ b/src/Text/Impl/EditorPrimitives/DefaultTextViewPrimitive.cs
@@ -10,12 +10,13 @@ namespace Microsoft.VisualStudio.Text.EditorPrimitives.Implementation
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Text.Formatting;
+ using LegacySelection = Microsoft.VisualStudio.Text.Editor.LegacySelection;
internal sealed class DefaultTextViewPrimitive : TextView
{
private ITextView _textView;
private Caret _caret;
- private Selection _selection;
+ private LegacySelection _selection;
private TextBuffer _textBuffer;
private IViewPrimitivesFactoryService _viewPrimitivesFactory;
@@ -144,7 +145,7 @@ namespace Microsoft.VisualStudio.Text.EditorPrimitives.Implementation
get { return _caret; }
}
- public override Selection Selection
+ public override LegacySelection Selection
{
get { return _selection; }
}