code: private void highlightText(int start) {
          editor.setCaretPosition(editor.getText().length());
          editor.moveCaretPosition(start);
      }
docs: Highlight the text from the given start location to the end of the text.
  
  @param start Starting location to highlight