src/vs/editor/browser/controller/textAreaState.ts/TextAreaState/readFromTextArea
class TextAreaState:	public static readFromTextArea(textArea: ITextAreaWrapper): TextAreaState {
		return new TextAreaState(textArea.getValue(), textArea.getSelectionStart(), textArea.getSelectionEnd(), null, null);
	}