Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » content assist, folding , hiding
content assist, folding , hiding [message #210267] Wed, 12 March 2008 08:47
Eclipse User
Originally posted by: alexjaquet.gmail.com

Hi,

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

Cheers

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


Current Time: Sun Apr 20 07:07:18 EDT 2014

Powered by FUDForum. Page generated in 0.01511 seconds