src/vs/workbench/browser/parts/editor/textResourceEditor.ts/AbstractTextResourceEditor/revealLastLine
class AbstractTextResourceEditor:	revealLastLine(): void {
		const codeEditor = <ICodeEditor>this.getControl();
		const model = codeEditor.getModel();

		if (model) {
			const lastLine = model.getLineCount();
			codeEditor.revealPosition({ lineNumber: lastLine, column: model.getLineMaxColumn(lastLine) }, ScrollType.Smooth);
		}
	}