StyledText.setSelectionForeground

Sets the receiver's selection foreground color to the color specified by the argument, or to the default system color for the control if the argument is null. <p> Note that this is a <em>HINT</em>. Some platforms do not allow the application to change the selection foreground color. </p> @param color the new color (or null)

@exception IllegalArgumentException <ul> <li>ERROR_INVALID_ARGUMENT - if the argument has been disposed</li> </ul> @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> @since 2.1

class StyledText
void
setSelectionForeground

Meta