Skip to content

Commit

Permalink
Merge pull request #25 from Haacked/fixes-21
Browse files Browse the repository at this point in the history
Use document buffer
  • Loading branch information
haacked committed Jul 24, 2014
2 parents 37f48e5 + 54990e6 commit 13163f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ internal class EncourageIntellisenseControllerProvider : IIntellisenseController
public IIntellisenseController TryCreateIntellisenseController(ITextView textView, IList<ITextBuffer> subjectBuffers)
{
ITextDocument textDocument;
if (!TextDocumentFactoryService.TryGetTextDocument(textView.TextBuffer, out textDocument))
if (!TextDocumentFactoryService.TryGetTextDocument(textView.TextDataModel.DocumentBuffer, out textDocument))
{
return null;
}
Expand Down

0 comments on commit 13163f6

Please sign in to comment.