FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Suggestions
   Software Suggestions
(Moderator: fry)
   colour coding
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: colour coding  (Read 241 times)
benelek

35160983516098 WWW Email
colour coding
« on: Jan 30th, 2003, 1:56am »

the code "String" is not given the colour of a variable.
 
also, "SMOOTH_IMAGES" in "hint(SMOOTH_IMAGES)" is not given the colouring of its type.
 
perhaps more of a suggestion... i wouldn't mind it if defined custom classes were coloured as built-in classes are. it's probably a bit of work on your part for very little gain, but it may solve the colouring of p5-specific variables as well (such as String above). for example, in the following code "moo" could be coloured as a variable type:
 
Code:

void setup() {
  size(200,200);
  moo noodle = new moo();
}
 
void loop() {
}
 
class moo {
  moo() {
  }
}
 
 
Pages: 1 

« Previous topic | Next topic »