Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Changing background color of XtextEditor programmatically
Changing background color of XtextEditor programmatically [message #1763872] Mon, 22 May 2017 11:23 Go to next message
Alexander Fichtinger is currently offline Alexander FichtingerFriend
Messages: 66
Registered: January 2013
Member
Hi guys!

We want to change the background color of our Xtext Editor, because when it is readonly we want to give the user a clear feedback, that he cannot change anything.

Is it possible to change the background color of an editor in Eclipse programmatically?

Thanks for any help =)
Re: Changing background color of XtextEditor programmatically [message #1763997 is a reply to message #1763872] Tue, 23 May 2017 18:23 Go to previous message
Eclipse UserFriend
You can change editor colours using CSS, which is how the dark theme does it. You might ask on the Xtext forums as they may have a different approach.
Previous Topic:Adding dynamic context menu entry to Project Explorer
Next Topic:Decorating section of form fields
Goto Forum:
  


Current Time: Wed Apr 24 22:35:23 GMT 2024

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

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

Back to the top