Skip to main content



      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
Eclipse UserFriend
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: Sun Apr 20 10:14:54 EDT 2025

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

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

Back to the top