src/vs/editor/contrib/anchorSelect/browser/anchorSelect.ts/SelectionAnchorController/selectFromAnchorToCursor
class SelectionAnchorController:	selectFromAnchorToCursor(): void {
		if (this.editor.hasModel() && this.decorationId) {
			const start = this.editor.getModel().getDecorationRange(this.decorationId);
			if (start) {
				const end = this.editor.getPosition();
				this.editor.setSelection(Selection.fromPositions(start.getStartPosition(), end));
				this.cancelSelectionAnchor();
			}
		}
	}