[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.webtools.jsf] Re: Extending the HTMLEditor with custom operations

2) For operations that manipulate the document, I am directly changing the (XML API) Document with calls such as element.appendChild(). Is this the

This question is better asked on WTP forum since the shared model that underlies the XML editors (and therefore implementation of the XML API classes you are using) are owned by WST (web standard tools).


3) How can I change syntax high-lighting so that certain HTML attributes have a different color in the source code?

Windows->Preferences->Web->HTML Files->Editor->Syntax Coloring. In terms of more specific questions, the more general WTP forum would be better since they own the SSE (structured source editor) which is what you see your source in.


4) How can I add my own items to the code-completion of the source-code editor?

This depends on the source type (HTML vs. JSP etc.) and what you want to add. There are several layers which the WTP forum can help you with. If you need help specifically with adding content-assist for JSF elements, attributes and EL, we can give more help here if you give me specifics.



--Cam