} else if (style.foreground != null) return false;
} else if (style.foreground != null) { return false; }
public boolean similarTo(StyleRange style) {	if (this.foreground != null) {		if (!this.foreground.equals(style.foreground)) return false;	} else if (style.foreground != null) return false;	if (this.background != null) {		if (!this.background.equals(style.background)) return false;	} else if (style.background != null) return false; 	if (this.fontStyle != style.fontStyle) return false;	if (this.underline != style.underline) return false;	if (this.strikeout != style.strikeout) return false;	return true;}