Returns the line at the specified offset in the text
where 0 < offset < getCharCount() so that getLineAtOffset(getCharCount())
returns the line of the insert location.
@param offset offset relative to the start of the content.
0 <= offset <= getCharCount()
@return line at the specified offset in the 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>
@exception IllegalArgumentException <ul>
<li>ERROR_INVALID_RANGE when the offset is outside the valid range (< 0 or > getCharCount())</li>
</ul>
Returns the line at the specified offset in the text where 0 < offset < getCharCount() so that getLineAtOffset(getCharCount()) returns the line of the insert location.
@param offset offset relative to the start of the content. 0 <= offset <= getCharCount() @return line at the specified offset in the 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> @exception IllegalArgumentException <ul> <li>ERROR_INVALID_RANGE when the offset is outside the valid range (< 0 or > getCharCount())</li> </ul>