Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » How to add underline to my textStyle(I want to add style like underline, but it doesn't work, why?)
How to add underline to my textStyle [message #1729887] Wed, 20 April 2016 03:13 Go to next message
wu yilun is currently offline wu yilunFriend
Messages: 1
Registered: April 2016
Junior Member
	protected TextStyle objectTextStyle() {
		TextStyle textStyle = defaultTextStyle().copy();
	        textStyle.setColor(new RGB(0, 188, 0));
	        textStyle.setStyle(SWT.UNDERLINE_DOUBLE);
	        return textStyle;
	}
Re: How to add underline to my textStyle [message #1729975 is a reply to message #1729887] Wed, 20 April 2016 15:52 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
Please Share all required code

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:Syntax Highlighting for One Particular keyword
Next Topic:Refering to UML elements
Goto Forum:
  


Current Time: Thu Apr 25 19:43:12 GMT 2024

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

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

Back to the top