Bug 256844 [CSS] TK-UI CSS engine for Nebula widget
examples/org.eclipse.e4.ui.examples.css/src/org/eclipse/e4/ui/examples/css/editor/AbstractCSSSWTEditor.java
selectedCSSPropertyNameText.setText(property);
				selectedCSSPropertyValueText.setText(value);
			}
		}
	}
	protected void updateSelectedCSSPropertyValue(String text) {
		if (currentLine != -1 && currentLine + 1 >= textArea.getLineCount())
			return;
		int start = textArea.getOffsetAtLine(currentLine);
		int end = textArea.getOffsetAtLine(currentLine + 1) - 2;
		String startLineText = textArea.getText(0, start);
		String endLineText = textArea.getText(end, textArea.getCharCount() - 1);
		if (!text.endsWith(";") && !endLineText.startsWith(";"))
			text += ";";
		if (endLineText.startsWith(":"))
			endLineText.substring(1, endLineText.length());
		String newContent = startLineText + text + endLineText;
		textArea.setText(newContent);
	}
	
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.e4.ui.core.css.examples.csseditors.AbstractCSSEditor#createCSSEngine()
	 */
	protected CSSEngine createCSSEngine() {
		return new CSSSWTEngineImpl(shell.getDisplay());
	}
	/*
	 * (non-Javadoc)