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 03:33
yunmei lu is currently offline yunmei lu
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 Jul 24 23:55:55 EDT 2014

Powered by FUDForum. Page generated in 0.02371 seconds