问题
Is there a trick to assign a specific color to "user-defined" function such as "function" below :
function[x_]:=x^3
Thanks to Mr.Wizard we are able to color all user defined symbols ( Syntax Coloring In Mathematica)
Would there be a way to refine the solution to have different colors for Functions symbols, Variables symbols & Options symbols ?
EDIT : Image for Simon

来源:https://stackoverflow.com/questions/6165977/user-defined-function-coloring-in-mathematica