Bug 223732 [Viewers] Rename StyledStringBuilder to StyledString
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/StyledStringBuilder.java
* substrings of the string and do not overlap. Styles are applied using
 * instances of {@link Styler} to compute the result of {@link #toStyleRanges()}.
 * 
 * The styled string can be built in the following two ways:
 * <ul>
 * <li>new strings with stylers can be appended</li>
 * <li>stylers can by applied to ranges of the existing string</li>
 * </ul>
 * 
 * <p>
 * This class may be instantiated; it is not intended to be subclassed.
 * </p>
 * 
 * @since 3.4
 */
public class StyledStringBuilder {
	/**
	 * A styler will be asked to apply its styles to one ore more ranges in the
	 * {@link StyledStringBuilder}.
	 * 
	 */
	public static abstract class Styler {
		/**
		 * Applies the styles represented by this object to the given textStyle.
		 * 
		 * @param textStyle
		 *            the {@link TextStyle} to modify
		 */
		public abstract void applyStyles(TextStyle textStyle);
	}