Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Strikethrough font style
Strikethrough font style [message #658544] Tue, 08 March 2011 21:42 Go to next message
Sebastian Benz is currently offline Sebastian BenzFriend
Messages: 24
Registered: July 2009
Junior Member
Hi,

is it possible to set the font style in the editor to "strikethrough"? In the highlighting configuration I can only set the style to normal, bold or italic. Is there another way to configure the text style?

Thanks in advance for your help...

Sebastian
Re: Strikethrough font style [message #658598 is a reply to message #658544] Wed, 09 March 2011 08:29 Go to previous messageGo to next message
Jan Koehnlein is currently offline Jan KoehnleinFriend
Messages: 760
Registered: July 2009
Location: Hamburg
Senior Member
You can set
textStyle.setStyle(TextAttribute.STRIKETHROUGH);
when creating the text style in the HighlightingConfiguration.

Am 08.03.11 22:42, schrieb Sebastian Benz:
> Hi,
>
> is it possible to set the font style in the editor to "strikethrough"?
> In the highlighting configuration I can only set the style to normal,
> bold or italic. Is there another way to configure the text style?
>
> Thanks in advance for your help...
>
> Sebastian


--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com


---
Get professional support from the Xtext committers at www.typefox.io
Re: Strikethrough font style [message #658651 is a reply to message #658598] Wed, 09 March 2011 11:49 Go to previous message
Sebastian Benz is currently offline Sebastian BenzFriend
Messages: 24
Registered: July 2009
Junior Member
Hi Jan,

thanks...that was easier than expected.

Cheers,

Sebastian
Previous Topic:How to navigate in the workspace
Next Topic:How to specify file extensions for the XMLBeautifier in a MWE2 workflow descriptor
Goto Forum:
  


Current Time: Fri Apr 26 19:57:47 GMT 2024

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

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

Back to the top