code: def get_word_under_cursor(self, WORD=False):
          
          start, end = self.find_boundaries_of_current_word(WORD=WORD)
          return self.text[self.cursor_position + start: self.cursor_position + end]
docs: Return the word, currently below the cursor.
          This returns an empty string when the cursor is on a whitespace region.