Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 312223

Summary: StructuredContentAssistant does not support StyledString
Product: [WebTools] WTP Source Editing Reporter: wangxinsheng <gady2003>
Component: wst.sseAssignee: Nick Sandonato <nsand.dev>
Status: CLOSED DUPLICATE QA Contact: Nitin Dahyabhai <thatnitind>
Severity: normal    
Priority: P3 CC: nsand.dev
Version: 3.1.2   
Target Milestone: 3.2.2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description wangxinsheng CLA 2010-05-10 05:00:46 EDT
Build Identifier: 20090917225226

when I used contentassistprocessor  extention point as below:
 <extension
         point="org.eclipse.wst.sse.ui.editorConfiguration">
      <provisionalConfiguration
            class="com.taobao.webx.tools.xml.contentassist.AllTagContentAssistProcessor"
            target="org.eclipse.wst.xml.XML_DEFAULT"
            type="contentassistprocessor">
      </provisionalConfiguration>
   </extension>

I want to implement my styled String display like java ContentAssist , so I implement the 
interface of ICompletionProposalExtension6 to dispaly my styled text. Unfortunately ,  that doesn't work since 
the class of StructuredContentAssistant doesn't  configure  the method of enableColoredLabels in the class of 
ContentAssistant. 

Reproducible: Always
Comment 1 Nick Sandonato CLA 2010-08-09 15:09:28 EDT
The fix for Bug 306261 addresses this by enabling colored labels. Thanks for your report.

*** This bug has been marked as a duplicate of bug 306261 ***