CompletionApplicationRequest
CompletionApplicationRequest =
CompletionApplicationDocument&object
The document an accepted item is applied against.
document and offset are what the request went out with, and the item’s ranges are positions
in that text. caretOffset and caretAffinity are where the caret has reached since — rarely the
same position, because the widget stays up while the user keeps typing.
Type Declaration
Section titled “Type Declaration”caretAffinity
Section titled “caretAffinity”
readonlycaretAffinity:SelectionAffinity
caretOffset
Section titled “caretOffset”
readonlycaretOffset:number