diff --git a/Src/VimMac/VimHost.cs b/Src/VimMac/VimHost.cs index 17d210cf64..16cca0c712 100644 --- a/Src/VimMac/VimHost.cs +++ b/Src/VimMac/VimHost.cs @@ -379,7 +379,7 @@ public bool IsDirty(ITextBuffer textBuffer) public bool IsFocused(ITextView textView) { - return true; + return TextViewFromDocument(IdeServices.DocumentManager.ActiveDocument) == textView; } public bool IsReadOnly(ITextBuffer textBuffer)