Skip to main content



      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] Tue, 19 April 2016 23:13 Go to next message
Eclipse UserFriend
	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 11:52 Go to previous message
Eclipse UserFriend
Please Share all required code
Previous Topic:Syntax Highlighting for One Particular keyword
Next Topic:Refering to UML elements
Goto Forum:
  


Current Time: Fri Jul 04 02:33:41 EDT 2025

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

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

Back to the top