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/Impl/BraceCompletion/BraceCompletionAdornmentService.cs')
-rw-r--r--src/Editor/Text/Impl/BraceCompletion/BraceCompletionAdornmentService.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Editor/Text/Impl/BraceCompletion/BraceCompletionAdornmentService.cs b/src/Editor/Text/Impl/BraceCompletion/BraceCompletionAdornmentService.cs
index 430e947..c6a1704 100644
--- a/src/Editor/Text/Impl/BraceCompletion/BraceCompletionAdornmentService.cs
+++ b/src/Editor/Text/Impl/BraceCompletion/BraceCompletionAdornmentService.cs
@@ -24,7 +24,7 @@ namespace Microsoft.VisualStudio.Text.BraceCompletion.Implementation
#region Private Members
private ITrackingPoint _trackingPoint;
- private ITextView3 _textView;
+ private ICocoaTextView _textView;
private IXPlatAdornmentLayer _adornmentLayer;
private readonly IEditorFormatMap _editorFormatMap;
private Brush _brush;
@@ -33,9 +33,9 @@ namespace Microsoft.VisualStudio.Text.BraceCompletion.Implementation
#region Constructors
- public BraceCompletionAdornmentService(ITextView3 textView, IEditorFormatMap editorFormatMap)
+ public BraceCompletionAdornmentService(ITextView textView, IEditorFormatMap editorFormatMap)
{
- _textView = textView;
+ _textView = (ICocoaTextView)textView;
_editorFormatMap = editorFormatMap;
if (_textView == null)