I have to implement an Eclipse plugin that will offer all functionality of the regular CSS editor (highlighting, code completion, hover, etc, etc), but it needs to support an adapted version of the CSS language (CSS TV Profile 1.0), with some old CSS commands stripped and new commands added. What is the best way to do this:

1) build an editor from scratch?
2) reuse existing js editor code? SSE? Reuse of StructuredTextEditor and introduce new editorConfiguration?

Can you give me some pointers please? Pointers to example code?

Thanks in advance!