Text.getText

Returns a range of text. Returns an empty string if the start of the range is greater than the end. <p> Indexing is zero based. The range of a selection is from 0..N-1 where N is the number of characters in the widget. </p>

@param start the start of the range @param end the end of the range @return the range of text

@exception SWTException <ul> <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> </ul>

  1. String getText()
  2. String getText(int start, int end)
    class Text
    String
    getText
    (
    int start
    ,
    int end
    )

Meta