Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312223 - StructuredContentAssistant does not support StyledString
Summary: StructuredContentAssistant does not support StyledString
Status: CLOSED DUPLICATE of bug 306261
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.sse (show other bugs)
Version: 3.1.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2.2   Edit
Assignee: Nick Sandonato CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-10 05:00 EDT by wangxinsheng CLA
Modified: 2010-08-09 15:09 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***