if (ranges == null) SWT.error(SWT.ERROR_NULL_ARGUMENT); setStyleRanges(0, 0, null, ranges, true);
if (ranges == null || styles == null) { setStyleRanges(start, length, null, null, false); } else { setStyleRanges(start, length, ranges, styles, false); }
public void setStyleRanges(StyleRange[] ranges) {	checkWidget();	if (isListening(LineGetStyle)) return; 	if (ranges == null) SWT.error(SWT.ERROR_NULL_ARGUMENT);	setStyleRanges(0, 0, null, ranges, true);}