StyledText.getText

Returns the widget content between the two offsets.

@param start offset of the first character in the returned String @param end offset of the last character in the returned String @return widget content starting at start and ending at end @see #getTextRange(int,int) @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> @exception IllegalArgumentException <ul> <li>ERROR_INVALID_RANGE when start and/or end are outside the widget content</li> </ul>

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

Meta