Bug 277668 Custom Control Example: StyledTextTab Set/Get API incomplete
HEAD Custom Control Example: StyledTextTab Set/Get API is incomplete (e.g. misses block selection and margins).
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/StyledTextTab.java
* Gets the text for the tab folder item.
	 */
	String getTabText () {
		return "StyledText";
	}
	
	/**
	 * Hooks the custom listener specified by eventName.
	 */
	void hookCustomListener (final String eventName) {
		if (eventName == "ExtendedModifyListener") {
			styledText.addExtendedModifyListener (new ExtendedModifyListener() {
				public void modifyText(ExtendedModifyEvent event) {
					log (eventName, event);
				}
			});
		}
		if (eventName == "BidiSegmentListener") {
			styledText.addBidiSegmentListener (new BidiSegmentListener() {
				public void lineGetSegments(BidiSegmentEvent event) {
					log (eventName, event);
				}
			});
		}
		if (eventName == "LineBackgroundListener") {
			styledText.addLineBackgroundListener (new LineBackgroundListener() {
				public void lineGetBackground(LineBackgroundEvent event) {
					log (eventName, event);
				}
			});