|
Author |
Topic: code colouring (Read 316 times) |
|
benelek
|
code colouring
« on: Jan 9th, 2003, 7:45am » |
|
g'day team, some syntax like mousePressed exists both as a variable and a method. ie, it can be used as either mousePressed or mousePressed(){}. proce55ing colours these both with the same colour, which may lead to confusion in designers when sorting out bugs, and viewing structure. could the method be coloured the same as methods such as loop() and setup()? -jacob
|
|
|
|
fry
|
Re: code colouring
« Reply #1 on: Jan 9th, 2003, 4:23pm » |
|
i wish.. unfortunately i don't think the syntax coloring engine we're using is smart enough for that i noticed that as well and was a bit bummed. it's not quite contextual, and just goes by keywords, and since we overload our keywords in using them as methods and as variables, we get this trouble. i opted for the less intrusive variable-style coloring rather than having the function coloring.. this can be tweaked in lib/pde.properties as necessary..
|
|
|
|
|