src/vs/editor/contrib/inlineCompletions/inlineCompletionsModel.ts/InlineCompletionsSession/ghostText
class InlineCompletionsSession:	public get ghostText(): GhostText | undefined {
		const currentCompletion = this.currentCompletion;
		const mode = this.editor.getOptions().get(EditorOption.inlineSuggest).mode;
		return currentCompletion ? inlineCompletionToGhostText(currentCompletion, this.editor.getModel(), mode, this.editor.getSelection().getEndPosition()) : undefined;
	}