def _select_word_under_mouse_cursor(self):
cursor = TextHelper(self.editor).word_under_mouse_cursor()<EOL>if (self._previous_cursor_start != cursor.selectionStart() and<EOL>self._previous_cursor_end != cursor.selectionEnd()):<EOL><INDENT>self._remove_decoration()<EOL>self._add_decoration(cursor)<EOL><DEDENT>self._previous_cursor_start = cursor.selectionStart()<EOL>self._previous_cursor_end = cursor.selectionEnd()<EOL>
Selects the word under the mouse cursor.