CompletionApplyContext
data class CompletionApplyContext(val session: EditorSession, val completion: Completion, val from: DocPos, val to: DocPos)
Context passed to Completion.applyFn when a completion is accepted.
Parameters
session
The editor session to apply the completion to.
completion
The completion being applied.
from
Start of the text range being replaced.
to
End of the text range being replaced.