Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » content assist, folding , hiding
content assist, folding , hiding [message #210267] Wed, 12 March 2008 12:47
Eclipse UserFriend
Originally posted by:


I've created a custom content assist processor that extends the xml
content assist processor.

I just override the inherited method isCursorAfterDoctype to return true
and override the getCMElementDeclaration method to set the document type
of the node owner document

I do this because I thinked I can create a page without declaring the
document type inside it (I want this because the editor represent the
code of a figure (code widget) placed on the design editor of my plugin)

Unfortunatly when I execute it, the content assist still need the
declaration of the content type inside the page.

So I'm asking now, if a solution exist for my case ...

I'm not sure if I can just hide the xml and document type declaration

I'm not sure if folding could work with a structured text editor (I've
enabled it

I really don't understand why the content assist needs the xml and
doctype declaration

Any ideas welcomed


Previous Topic:CompletionProposal offset
Next Topic:EMF XSD Parser Bug for SimpleType Definition in case of List and Union
Goto Forum:

Current Time: Tue May 22 18:08:44 GMT 2018

Powered by FUDForum. Page generated in 0.02010 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top