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

Bug 364102

Summary: not able to underline the text in textbox
Product: [Eclipse Project] Platform Reporter: Satish Pandey <satispande>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: eclipse.felipe
Version: 4.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Satish Pandey CLA 2011-11-18 00:20:39 EST
Build Identifier: 

Hi,
I am facing this problem...I want to implement a spell checker in my application and the client want to have the words which spelled wrong should be underline...is there any way in SWT to perform that.

Reproducible: Always
Comment 1 Felipe Heidrich CLA 2011-11-21 10:37:43 EST
the newsgroups is a better place for questions.

the answer is yes

See StyledText and StyleRange(TextStyle), it has different types for underline style and color.