Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » change text foreground color for specific words(how can I change text foreground color for specific words)
change text foreground color for specific words [message #1260259] Sat, 01 March 2014 08:33
yunmei lu is currently offline yunmei luFriend
Messages: 1
Registered: March 2014
Junior Member
I am developing an eclipse plugin. And I want to change text foreground color for specific words and pass the compiler rules in eclipse java editor environment. The specific words is like //Mytag or like #Mytag. I don't want to make a own editor. I want add this new syntax coloring to original java editor.

I ever try use a customized SourceViewerConfiguration to add new syntax coloring to original java editor. But it is not work.

Who knows whether I can use SourceViewerConfiguration to add new syntax coloring to original java editor. If not, which kinds of method I can meet my needs.

It bother me long ago. Very thanks your valuable advice!
Previous Topic:Misleading behavior of root.getJavaProject() in non-java projects?
Next Topic:jquery function call not working?
Goto Forum:
  


Current Time: Thu Apr 25 07:02:37 GMT 2024

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

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

Back to the top