Skip to content

Commit

Permalink
ISuggestSupport need full IModel to be able to access tokens, prep for
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Mar 8, 2017
1 parent 37d2953 commit abe11e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vs/editor/common/modes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,9 @@ export interface ISuggestSupport {

triggerCharacters?: string[];

provideCompletionItems(model: editorCommon.IReadOnlyModel, position: Position, token: CancellationToken): ISuggestResult | Thenable<ISuggestResult>;
provideCompletionItems(model: editorCommon.IModel, position: Position, token: CancellationToken): ISuggestResult | Thenable<ISuggestResult>;

resolveCompletionItem?(model: editorCommon.IReadOnlyModel, position: Position, item: ISuggestion, token: CancellationToken): ISuggestion | Thenable<ISuggestion>;
resolveCompletionItem?(model: editorCommon.IModel, position: Position, item: ISuggestion, token: CancellationToken): ISuggestion | Thenable<ISuggestion>;
}

/**
Expand Down

0 comments on commit abe11e1

Please sign in to comment.