private void HandleAfterStringLiteral(SnapshotPoint triggerPt, string fileName) { var tracker = TextBufferStateTracker.GetTrackerForTextBuffer(_textView.TextBuffer); var stmt = State.ToStatement(tracker.GetStateForPosition(triggerPt, fileName, _appSettings)); StatementLayout.GetCompletionsAfterToken(stmt, this); }
private void HandleAfterWord(string word, int curPos, ITextSnapshot snapshot, string fileName) { var tracker = TextBufferStateTracker.GetTrackerForTextBuffer(_textView.TextBuffer); var stmt = State.ToStatement(tracker.GetStateForPosition(curPos, snapshot, fileName, _appSettings)); StatementLayout.GetCompletionsAfterToken(stmt, this); }