function select() {
		removeListeners();
		const range = getColorRange() || editor.selection.getWordRange();
		if (!range || range?.isEmpty()) return;
		editor.selection.setSelectionRange(range);
		selectionMode($end);
	}
Select word at cursor position
@returns {void}