StyledText.setLineBullet

Sets the bullet of the specified lines. <p> Should not be called if a LineStyleListener has been set since the listener maintains the line attributes. </p><p> All line attributes are maintained relative to the line text, not the line index that is specified in this method call. During text changes, when entire lines are inserted or removed, the line attributes that are associated with the lines after the change will "move" with their respective text. An entire line is defined as extending from the first character on a line to the last and including the line delimiter. </p><p> When two lines are joined by deleting a line delimiter, the top line attributes take precedence and the attributes of the bottom line are deleted. For all other text changes line attributes will remain unchanged. </p>

@param startLine first line the bullet is applied to, 0 based @param lineCount number of lines the bullet applies to. @param bullet line bullet

@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_ARGUMENT when the specified line range is invalid</li> </ul> @since 3.2

class StyledText
void
setLineBullet

Meta