Interface SelectionDelegate

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getSelectionEnd()
      Returns the end position of the selected text in the owner element.
      int getSelectionStart()
      Returns the start position of the selected text in the owner element.
      void setSelectionEnd​(int selectionEnd)
      Sets the end position of the selected text in the owner element.
      void setSelectionStart​(int selectionStart)
      Sets the start position of the selected text in the owner element.
    • Method Detail

      • getSelectionStart

        int getSelectionStart()
        Returns the start position of the selected text in the owner element.
        Returns:
        the start position of the selected text in the owner element
      • setSelectionStart

        void setSelectionStart​(int selectionStart)
        Sets the start position of the selected text in the owner element.
        Parameters:
        selectionStart - the start position of the selected text in the owner element
      • getSelectionEnd

        int getSelectionEnd()
        Returns the end position of the selected text in the owner element.
        Returns:
        the end position of the selected text in the owner element
      • setSelectionEnd

        void setSelectionEnd​(int selectionEnd)
        Sets the end position of the selected text in the owner element.
        Parameters:
        selectionEnd - the end position of the selected text in the owner element