From a271f86d6d207ac79bf1a173faa369f654c0265e Mon Sep 17 00:00:00 2001 From: Casey Reas Date: Thu, 29 Nov 2012 19:06:05 +0000 Subject: [PATCH] New colors for text editor --- java/keywords.txt | 710 +++++++++++++++++++++---------------------- java/theme/theme.txt | 26 +- 2 files changed, 365 insertions(+), 371 deletions(-) diff --git a/java/keywords.txt b/java/keywords.txt index 924623629..8cd885347 100644 --- a/java/keywords.txt +++ b/java/keywords.txt @@ -1,15 +1,15 @@ -# KEY +# KEY 2.0b7+ -# LITERAL2 - constants -# KEYWORD1 - Java datatypes and keywords -# KEYWORD2 - functions -# FUNCTION2 - methods (functions inside a class) -# KEYWORD4 - fields (variables inside a class) -# KEYWORD5 - Processing variables (width, height, focused, etc.) +# LITERAL2 - Constants (QUARTER_PI, CORNERS, etc.) +# KEYWORD1 - Datatypes and keywords (void, int, boolean, etc.) +# KEYWORD2 - Fields [variables within a class] +# KEYWORD3 - Processing variables (width, height, focused, etc.) +# FUNCTION1 - Functions +# FUNCTION2 - Methods (functions inside a class) # -# LITERAL2 specifies constants +# LITERAL2 - Constants (QUARTER_PI, CORNERS, etc.) ADD LITERAL2 blend_ ALIGN_CENTER LITERAL2 @@ -31,6 +31,7 @@ BOTTOM LITERAL2 textAlign_ BURN LITERAL2 blend_ CENTER LITERAL2 CHATTER LITERAL2 +CHORD LITERAL2 CLAMP LITERAL2 CLICK LITERAL2 CLOSE LITERAL2 @@ -125,6 +126,7 @@ P2D LITERAL2 size_ P3D LITERAL2 size_ PERSPECTIVE LITERAL2 PI LITERAL2 PI +PIE LITERAL2 PIXEL_CENTER LITERAL2 POINT LITERAL2 POINTS LITERAL2 @@ -173,7 +175,7 @@ WAIT LITERAL2 cursor_ WHITESPACE LITERAL2 -# KEYWORD1 specifies datatypes and keywords +# KEYWORD1 - Java datatypes and keywords (void, int, boolean, etc.) Array KEYWORD1 Array ArrayList KEYWORD1 ArrayList @@ -209,7 +211,9 @@ extends KEYWORD1 extends false KEYWORD1 false final KEYWORD1 final finally KEYWORD1 +for KEYWORD1 for float KEYWORD1 float +if KEYWORD1 if implements KEYWORD1 implements import KEYWORD1 import instanceof KEYWORD1 @@ -228,6 +232,7 @@ short KEYWORD1 static KEYWORD1 static strictfp KEYWORD1 super KEYWORD1 super +switch KEYWORD1 switch this KEYWORD1 this throw KEYWORD1 throws KEYWORD1 @@ -237,8 +242,7 @@ try KEYWORD1 try void KEYWORD1 void volatile KEYWORD1 - -# Formerly KEYWORD1, but changed to paren handling (2.0b7) +# Special cases for color coding for FUNCTION1 for if FUNCTION1 if @@ -247,22 +251,14 @@ synchronized FUNCTION1 while FUNCTION1 while -# Deprecated API (commented these out for 2.0b7) - -#arraycopy FUNCTION1 arrayCopy_ -#openStream FUNCTION1 openStream_ -#OPENGL LITERAL2 size_ -#JAVA2D LITERAL2 size_ - - -# FUNCTION1 specifies functions and FUNCTION2 specifies methods # These items are a part of Processing but are not included in the reference +color KEYWORD1 color_datatype + boolean FUNCTION1 booleanconvert_ byte FUNCTION1 byteconvert_ -cache FUNCTION1 +cache FUNCTION2 char FUNCTION1 charconvert_ -color KEYWORD1 color_datatype start FUNCTION1 stop FUNCTION1 breakShape FUNCTION1 @@ -271,7 +267,6 @@ float FUNCTION1 floatconvert_ int FUNCTION1 intconvert_ str FUNCTION1 strconvert_ loadMatrix FUNCTION1 -noHint FUNCTION1 parseBoolean FUNCTION1 parseByte FUNCTION1 parseChar FUNCTION1 @@ -281,9 +276,9 @@ saveFile FUNCTION1 savePath FUNCTION1 sketchFile FUNCTION1 sketchPath FUNCTION1 -string FUNCTION1 strconvert_ +string KEYWORD2 strconvert_ + -#FUNCTION2 is an experimental designation for methods readLine FUNCTION2 BufferedReader_readLine_ close FUNCTION2 PrintWriter_close_ flush FUNCTION2 PrintWriter_flush_ @@ -297,6 +292,7 @@ substring FUNCTION2 String_substring_ toLowerCase FUNCTION2 String_toLowerCase_ toUpperCase FUNCTION2 String_toUpperCase_ + # Temporary additions 3 September 2012 as the reference is getting updated beginContour FUNCTION1 @@ -304,9 +300,6 @@ endContour FUNCTION1 end FUNCTION1 addChild FUNCTION1 -clip FUNCTION1 -noClip FUNCTION1 - # Operators are without KEYWORDS @@ -346,347 +339,346 @@ noClip FUNCTION1 ; semicolon -= subtractassign +# Suppressed from Generate to avoid conflicts with variables inside methods + +width KEYWORD3 width_ +height KEYWORD3 height_ + # THE TEXT ABOVE IS HAND-WRITTEN AND FOUND IN THE FILE "keywords_base.txt" # THE TEXT BELOW IS AUTO-GENERATED -abs FUNCTION1 abs_ -acos FUNCTION1 acos_ -alpha FUNCTION1 alpha_ -ambient FUNCTION1 ambient_ -ambientLight FUNCTION1 ambientLight_ -append FUNCTION1 append_ -applyMatrix FUNCTION1 applyMatrix_ -arc FUNCTION1 arc_ -arrayCopy FUNCTION1 arrayCopy_ -asin FUNCTION1 asin_ -atan FUNCTION1 atan_ -atan2 FUNCTION1 atan2_ -background FUNCTION1 background_ -beginCamera FUNCTION1 beginCamera_ -beginRaw FUNCTION1 beginRaw_ -beginRecord FUNCTION1 beginRecord_ -beginShape FUNCTION1 beginShape_ -bezier FUNCTION1 bezier_ -bezierDetail FUNCTION1 bezierDetail_ -bezierPoint FUNCTION1 bezierPoint_ -bezierTangent FUNCTION1 bezierTangent_ -bezierVertex FUNCTION1 bezierVertex_ -binary FUNCTION1 binary_ -blend FUNCTION1 blend_ -blendColor FUNCTION1 blendColor_ -blendMode FUNCTION1 blendMode_ -blue FUNCTION1 blue_ -box FUNCTION1 box_ -brightness FUNCTION1 brightness_ -camera FUNCTION1 camera_ -ceil FUNCTION1 ceil_ -clip FUNCTION1 clip_ -color FUNCTION1 color_ -colorMode FUNCTION1 colorMode_ -concat FUNCTION1 concat_ -constrain FUNCTION1 constrain_ -copy FUNCTION1 copy_ -cos FUNCTION1 cos_ -createFont FUNCTION1 createFont_ -createGraphics FUNCTION1 createGraphics_ -createImage FUNCTION1 createImage_ -createInput FUNCTION1 createInput_ -createOutput FUNCTION1 createOutput_ -createReader FUNCTION1 createReader_ -createShape FUNCTION1 createShape_ -createWriter FUNCTION1 createWriter_ -cursor FUNCTION1 cursor_ -curve FUNCTION1 curve_ -curveDetail FUNCTION1 curveDetail_ -curvePoint FUNCTION1 curvePoint_ -curveTangent FUNCTION1 curveTangent_ -curveTightness FUNCTION1 curveTightness_ -curveVertex FUNCTION1 curveVertex_ -day FUNCTION1 day_ -degrees FUNCTION1 degrees_ -directionalLight FUNCTION1 directionalLight_ -displayHeight LITERAL2 displayHeight -displayWidth LITERAL2 displayWidth -dist FUNCTION1 dist_ -draw FUNCTION1 draw_ -ellipse FUNCTION1 ellipse_ -ellipseMode FUNCTION1 ellipseMode_ -emissive FUNCTION1 emissive_ -endCamera FUNCTION1 endCamera_ -endRaw FUNCTION1 endRaw_ -endRecord FUNCTION1 endRecord_ -endShape FUNCTION1 endShape_ -exit FUNCTION1 exit_ -exp FUNCTION1 exp_ -expand FUNCTION1 expand_ -fill FUNCTION1 fill_ -filter FUNCTION1 filter_ -floor FUNCTION1 floor_ -focused LITERAL2 focused -frameCount LITERAL2 frameCount -frameRate LITERAL2 frameRate -frameRate FUNCTION1 frameRate_ -frustum FUNCTION1 frustum_ -get FUNCTION1 get_ -green FUNCTION1 green_ +abs FUNCTION1 abs +acos FUNCTION1 acos +alpha FUNCTION1 alpha +ambient FUNCTION1 ambient +ambientLight FUNCTION1 ambientLight +append FUNCTION1 append +applyMatrix FUNCTION1 applyMatrix +arc FUNCTION1 arc +arrayCopy FUNCTION1 arrayCopy +asin FUNCTION1 asin +atan FUNCTION1 atan +atan2 FUNCTION1 atan2 +background FUNCTION1 background +beginCamera FUNCTION1 beginCamera +beginRaw FUNCTION1 beginRaw +beginRecord FUNCTION1 beginRecord +beginShape FUNCTION1 beginShape +bezier FUNCTION1 bezier +bezierDetail FUNCTION1 bezierDetail +bezierPoint FUNCTION1 bezierPoint +bezierTangent FUNCTION1 bezierTangent +bezierVertex FUNCTION1 bezierVertex +binary FUNCTION1 binary +blend FUNCTION1 blend +blendColor FUNCTION1 blendColor +blendMode FUNCTION1 blendMode +blue FUNCTION1 blue +box FUNCTION1 box +brightness FUNCTION1 brightness +camera FUNCTION1 camera +ceil FUNCTION1 ceil +clip FUNCTION1 clip +color FUNCTION1 color +colorMode FUNCTION1 colorMode +concat FUNCTION1 concat +constrain FUNCTION1 constrain +copy FUNCTION1 copy +cos FUNCTION1 cos +createFont FUNCTION1 createFont +createGraphics FUNCTION1 createGraphics +createImage FUNCTION1 createImage +createInput FUNCTION1 createInput +createOutput FUNCTION1 createOutput +createReader FUNCTION1 createReader +createShape FUNCTION1 createShape +createWriter FUNCTION1 createWriter +cursor FUNCTION1 cursor +curve FUNCTION1 curve +curveDetail FUNCTION1 curveDetail +curvePoint FUNCTION1 curvePoint +curveTangent FUNCTION1 curveTangent +curveTightness FUNCTION1 curveTightness +curveVertex FUNCTION1 curveVertex +day FUNCTION1 day +degrees FUNCTION1 degrees +directionalLight FUNCTION1 directionalLight +displayHeight KEYWORD3 displayHeight_ +displayWidth KEYWORD3 displayWidth_ +dist FUNCTION1 dist +draw FUNCTION1 draw +ellipse FUNCTION1 ellipse +ellipseMode FUNCTION1 ellipseMode +emissive FUNCTION1 emissive +endCamera FUNCTION1 endCamera +endRaw FUNCTION1 endRaw +endRecord FUNCTION1 endRecord +endShape FUNCTION1 endShape +exit FUNCTION1 exit +exp FUNCTION1 exp +expand FUNCTION1 expand +fill FUNCTION1 fill +filter FUNCTION1 filter +floor FUNCTION1 floor +focused KEYWORD3 focused_ +frameCount KEYWORD3 frameCount_ +frameRate KEYWORD3 frameRate_ +frameRate FUNCTION1 frameRate +frustum FUNCTION1 frustum +get FUNCTION1 get +green FUNCTION1 green HALF_PI LITERAL2 HALF_PI -height LITERAL2 height -hex FUNCTION1 hex_ -hint FUNCTION1 hint_ -hour FUNCTION1 hour_ -hue FUNCTION1 hue_ -image FUNCTION1 image_ -imageMode FUNCTION1 imageMode_ -join FUNCTION1 join_ -key LITERAL2 key -keyCode LITERAL2 keyCode -keyPressed FUNCTION1 keyPressed_ -keyPressed LITERAL2 keyPressed -keyReleased FUNCTION1 keyReleased_ -keyTyped FUNCTION1 keyTyped_ -lerp FUNCTION1 lerp_ -lerpColor FUNCTION1 lerpColor_ -lightFalloff FUNCTION1 lightFalloff_ -lights FUNCTION1 lights_ -lightSpecular FUNCTION1 lightSpecular_ -line FUNCTION1 line_ -loadBytes FUNCTION1 loadBytes_ -loadFont FUNCTION1 loadFont_ -loadImage FUNCTION1 loadImage_ -loadPixels FUNCTION1 loadPixels_ -loadShader FUNCTION1 loadShader_ -loadShape FUNCTION1 loadShape_ -loadStrings FUNCTION1 loadStrings_ -loadTable FUNCTION1 loadTable_ -loadXML FUNCTION1 loadXML_ -log FUNCTION1 log_ -loop FUNCTION1 loop_ -mag FUNCTION1 mag_ -map FUNCTION1 map_ -match FUNCTION1 match_ -matchAll FUNCTION1 matchAll_ -max FUNCTION1 max_ -millis FUNCTION1 millis_ -min FUNCTION1 min_ -minute FUNCTION1 minute_ -modelX FUNCTION1 modelX_ -modelY FUNCTION1 modelY_ -modelZ FUNCTION1 modelZ_ -month FUNCTION1 month_ -mouseButton LITERAL2 mouseButton -mouseClicked FUNCTION1 mouseClicked_ -mouseDragged FUNCTION1 mouseDragged_ -mouseMoved FUNCTION1 mouseMoved_ -mousePressed FUNCTION1 mousePressed_ -mousePressed LITERAL2 mousePressed -mouseReleased FUNCTION1 mouseReleased_ -mouseX LITERAL2 mouseX -mouseY LITERAL2 mouseY -nf FUNCTION1 nf_ -nfc FUNCTION1 nfc_ -nfp FUNCTION1 nfp_ -nfs FUNCTION1 nfs_ -noClip FUNCTION1 noClip_ -noCursor FUNCTION1 noCursor_ -noFill FUNCTION1 noFill_ -noise FUNCTION1 noise_ -noiseDetail FUNCTION1 noiseDetail_ -noiseSeed FUNCTION1 noiseSeed_ -noLights FUNCTION1 noLights_ -noLoop FUNCTION1 noLoop_ -norm FUNCTION1 norm_ -normal FUNCTION1 normal_ -noSmooth FUNCTION1 noSmooth_ -noStroke FUNCTION1 noStroke_ -noTint FUNCTION1 noTint_ -open FUNCTION1 open_ -ortho FUNCTION1 ortho_ -perspective FUNCTION1 perspective_ +hex FUNCTION1 hex +hint FUNCTION1 hint +hour FUNCTION1 hour +hue FUNCTION1 hue +image FUNCTION1 image +imageMode FUNCTION1 imageMode +join FUNCTION1 join +key KEYWORD3 key_ +keyCode KEYWORD3 keyCode_ +keyPressed FUNCTION1 keyPressed +keyPressed KEYWORD3 keyPressed_ +keyReleased FUNCTION1 keyReleased +keyTyped FUNCTION1 keyTyped +lerp FUNCTION1 lerp +lerpColor FUNCTION1 lerpColor +lightFalloff FUNCTION1 lightFalloff +lights FUNCTION1 lights +lightSpecular FUNCTION1 lightSpecular +line FUNCTION1 line +loadBytes FUNCTION1 loadBytes +loadFont FUNCTION1 loadFont +loadImage FUNCTION1 loadImage +loadPixels FUNCTION1 loadPixels +loadShader FUNCTION1 loadShader +loadShape FUNCTION1 loadShape +loadStrings FUNCTION1 loadStrings +loadTable FUNCTION1 loadTable +loadXML FUNCTION1 loadXML +log FUNCTION1 log +loop FUNCTION1 loop +mag FUNCTION1 mag +map FUNCTION1 map +match FUNCTION1 match +matchAll FUNCTION1 matchAll +max FUNCTION1 max +millis FUNCTION1 millis +min FUNCTION1 min +minute FUNCTION1 minute +modelX FUNCTION1 modelX +modelY FUNCTION1 modelY +modelZ FUNCTION1 modelZ +month FUNCTION1 month +mouseButton KEYWORD3 mouseButton_ +mouseClicked FUNCTION1 mouseClicked +mouseDragged FUNCTION1 mouseDragged +mouseMoved FUNCTION1 mouseMoved +mousePressed FUNCTION1 mousePressed +mousePressed KEYWORD3 mousePressed_ +mouseReleased FUNCTION1 mouseReleased +mouseX KEYWORD3 mouseX_ +mouseY KEYWORD3 mouseY_ +nf FUNCTION1 nf +nfc FUNCTION1 nfc +nfp FUNCTION1 nfp +nfs FUNCTION1 nfs +noClip FUNCTION1 noClip +noCursor FUNCTION1 noCursor +noFill FUNCTION1 noFill +noise FUNCTION1 noise +noiseDetail FUNCTION1 noiseDetail +noiseSeed FUNCTION1 noiseSeed +noLights FUNCTION1 noLights +noLoop FUNCTION1 noLoop +norm FUNCTION1 norm +normal FUNCTION1 normal +noSmooth FUNCTION1 noSmooth +noStroke FUNCTION1 noStroke +noTint FUNCTION1 noTint +open FUNCTION1 open +ortho FUNCTION1 ortho +perspective FUNCTION1 perspective PFont KEYWORD1 PFont -list FUNCTION1 PFont_list_ -PGraphics FUNCTION1 PGraphics_ -beginDraw FUNCTION2 PGraphics_beginDraw_ -endDraw FUNCTION2 PGraphics_endDraw_ +list FUNCTION1 PFont_list +PGraphics FUNCTION1 PGraphics +beginDraw FUNCTION2 PGraphics_beginDraw +endDraw FUNCTION2 PGraphics_endDraw PI LITERAL2 PI PImage KEYWORD1 PImage -alpha FUNCTION2 PImage_alpha_ -blend FUNCTION2 PImage_blend_ -copy FUNCTION2 PImage_copy_ -filter FUNCTION2 PImage_filter_ -get FUNCTION2 PImage_get_ -height FUNCTION2 PImage_height_ -loadPixels FUNCTION2 PImage_loadPixels_ -mask FUNCTION2 PImage_mask_ -pixels FUNCTION2 PImage_pixels_ -resize FUNCTION2 PImage_resize_ -save FUNCTION2 PImage_save_ -set FUNCTION2 PImage_set_ -updatePixels FUNCTION2 PImage_updatePixels_ -width FUNCTION2 PImage_width_ -pixels LITERAL2 pixels -pmouseX LITERAL2 pmouseX -pmouseY LITERAL2 pmouseY -point FUNCTION1 point_ -pointLight FUNCTION1 pointLight_ -popMatrix FUNCTION1 popMatrix_ -popStyle FUNCTION1 popStyle_ -pow FUNCTION1 pow_ -print FUNCTION1 print_ -printCamera FUNCTION1 printCamera_ -println FUNCTION1 println_ -printMatrix FUNCTION1 printMatrix_ -printProjection FUNCTION1 printProjection_ -PShader FUNCTION1 PShader_ -PShader FUNCTION2 PShader_set_ +alpha FUNCTION2 PImage_alpha +blend FUNCTION2 PImage_blend +copy FUNCTION2 PImage_copy +filter FUNCTION2 PImage_filter +get FUNCTION2 PImage_get +loadPixels FUNCTION2 PImage_loadPixels +mask FUNCTION2 PImage_mask +pixels KEYWORD2 PImage_pixels_ +resize FUNCTION2 PImage_resize +save FUNCTION2 PImage_save +set FUNCTION2 PImage_set +updatePixels FUNCTION2 PImage_updatePixels +pixels KEYWORD3 pixels_ +pmouseX KEYWORD3 pmouseX_ +pmouseY KEYWORD3 pmouseY_ +point FUNCTION1 point +pointLight FUNCTION1 pointLight +popMatrix FUNCTION1 popMatrix +popStyle FUNCTION1 popStyle +pow FUNCTION1 pow +print FUNCTION1 print +printCamera FUNCTION1 printCamera +println FUNCTION1 println +printMatrix FUNCTION1 printMatrix +printProjection FUNCTION1 printProjection +PShader FUNCTION1 PShader +PShader FUNCTION2 PShader_set PShape KEYWORD1 PShape -addChild FUNCTION2 PShape_addChild_ -beginContour FUNCTION2 PShape_beginContour_ -disableStyle FUNCTION2 PShape_disableStyle_ -enableStyle FUNCTION2 PShape_enableStyle_ -end FUNCTION2 PShape_end_ -endContour FUNCTION2 PShape_endContour_ -getChild FUNCTION2 PShape_getChild_ -getVertex FUNCTION2 PShape_getVertex_ -getVertexCount FUNCTION2 PShape_getVertexCount_ -height FUNCTION2 PShape_height_ -isVisible FUNCTION2 PShape_isVisible_ -resetMatrix FUNCTION2 PShape_resetMatrix_ -rotate FUNCTION2 PShape_rotate_ -rotateX FUNCTION2 PShape_rotateX_ -rotateY FUNCTION2 PShape_rotateY_ -rotateZ FUNCTION2 PShape_rotateZ_ -scale FUNCTION2 PShape_scale_ -setVertex FUNCTION2 PShape_setVertex_ -setVisible FUNCTION2 PShape_setVisible_ -translate FUNCTION2 PShape_translate_ -width FUNCTION2 PShape_width_ -pushMatrix FUNCTION1 pushMatrix_ -pushStyle FUNCTION1 pushStyle_ +addChild FUNCTION2 PShape_addChild +beginContour FUNCTION2 PShape_beginContour +disableStyle FUNCTION2 PShape_disableStyle +enableStyle FUNCTION2 PShape_enableStyle +end FUNCTION2 PShape_end +endContour FUNCTION2 PShape_endContour +getChild FUNCTION2 PShape_getChild +getVertex FUNCTION2 PShape_getVertex +getVertexCount FUNCTION2 PShape_getVertexCount +isVisible FUNCTION2 PShape_isVisible +resetMatrix FUNCTION2 PShape_resetMatrix +rotate FUNCTION2 PShape_rotate +rotateX FUNCTION2 PShape_rotateX +rotateY FUNCTION2 PShape_rotateY +rotateZ FUNCTION2 PShape_rotateZ +scale FUNCTION2 PShape_scale +setVertex FUNCTION2 PShape_setVertex +setVisible FUNCTION2 PShape_setVisible +translate FUNCTION2 PShape_translate +pushMatrix FUNCTION1 pushMatrix +pushStyle FUNCTION1 pushStyle PVector KEYWORD1 PVector -add FUNCTION2 PVector_add_ -angleBetween FUNCTION2 PVector_angleBetween_ -array FUNCTION2 PVector_array_ -copy FUNCTION2 PVector_copy_ -cross FUNCTION2 PVector_cross_ -dist FUNCTION2 PVector_dist_ -div FUNCTION2 PVector_div_ -dot FUNCTION2 PVector_dot_ -get FUNCTION2 PVector_get_ -limit FUNCTION2 PVector_limit_ -mag FUNCTION2 PVector_mag_ -mult FUNCTION2 PVector_mult_ -normalize FUNCTION2 PVector_normalize_ -set FUNCTION2 PVector_set_ -setMag FUNCTION2 PVector_setMag_ -sub FUNCTION2 PVector_sub_ -quad FUNCTION1 quad_ -quadraticVertex FUNCTION1 quadraticVertex_ +add FUNCTION2 PVector_add +angleBetween FUNCTION2 PVector_angleBetween +array FUNCTION2 PVector_array +copy FUNCTION2 PVector_copy +cross FUNCTION2 PVector_cross +dist FUNCTION2 PVector_dist +div FUNCTION2 PVector_div +dot FUNCTION2 PVector_dot +get FUNCTION2 PVector_get +limit FUNCTION2 PVector_limit +mag FUNCTION2 PVector_mag +mult FUNCTION2 PVector_mult +normalize FUNCTION2 PVector_normalize +set FUNCTION2 PVector_set +setMag FUNCTION2 PVector_setMag +sub FUNCTION2 PVector_sub +quad FUNCTION1 quad +quadraticVertex FUNCTION1 quadraticVertex QUARTER_PI LITERAL2 QUARTER_PI -radians FUNCTION1 radians_ -random FUNCTION1 random_ -randomSeed FUNCTION1 randomSeed_ -rect FUNCTION1 rect_ -rectMode FUNCTION1 rectMode_ -red FUNCTION1 red_ -redraw FUNCTION1 redraw_ -requestImage FUNCTION1 requestImage_ -resetMatrix FUNCTION1 resetMatrix_ -resetShader FUNCTION1 resetShader_ -reverse FUNCTION1 reverse_ -rotate FUNCTION1 rotate_ -rotateX FUNCTION1 rotateX_ -rotateY FUNCTION1 rotateY_ -rotateZ FUNCTION1 rotateZ_ -round FUNCTION1 round_ -saturation FUNCTION1 saturation_ -save FUNCTION1 save_ -saveBytes FUNCTION1 saveBytes_ -saveFrame FUNCTION1 saveFrame_ -saveStream FUNCTION1 saveStream_ -saveStrings FUNCTION1 saveStrings_ -scale FUNCTION1 scale_ -screenHeight LITERAL2 screenHeight -screenWidth LITERAL2 screenWidth -screenX FUNCTION1 screenX_ -screenY FUNCTION1 screenY_ -screenZ FUNCTION1 screenZ_ -second FUNCTION1 second_ -selectFolder FUNCTION1 selectFolder_ -selectInput FUNCTION1 selectInput_ -selectOutput FUNCTION1 selectOutput_ -set FUNCTION1 set_ -setup FUNCTION1 setup_ -shader FUNCTION1 shader_ -shape FUNCTION1 shape_ -shapeMode FUNCTION1 shapeMode_ -shearX FUNCTION1 shearX_ -shearY FUNCTION1 shearY_ -shininess FUNCTION1 shininess_ -shorten FUNCTION1 shorten_ -sin FUNCTION1 sin_ -size FUNCTION1 size_ -smooth FUNCTION1 smooth_ -sort FUNCTION1 sort_ -specular FUNCTION1 specular_ -sphere FUNCTION1 sphere_ -sphereDetail FUNCTION1 sphereDetail_ -splice FUNCTION1 splice_ -split FUNCTION1 split_ -splitTokens FUNCTION1 splitTokens_ -spotLight FUNCTION1 spotLight_ -sq FUNCTION1 sq_ -sqrt FUNCTION1 sqrt_ -stroke FUNCTION1 stroke_ -strokeCap FUNCTION1 strokeCap_ -strokeJoin FUNCTION1 strokeJoin_ -strokeWeight FUNCTION1 strokeWeight_ -subset FUNCTION1 subset_ -Table FUNCTION1 Table_ -tan FUNCTION1 tan_ -text FUNCTION1 text_ -textAlign FUNCTION1 textAlign_ -textAscent FUNCTION1 textAscent_ -textDescent FUNCTION1 textDescent_ -textFont FUNCTION1 textFont_ -textLeading FUNCTION1 textLeading_ -textMode FUNCTION1 textMode_ -textSize FUNCTION1 textSize_ -texture FUNCTION1 texture_ -textureMode FUNCTION1 textureMode_ -textureWrap FUNCTION1 textureWrap_ -textWidth FUNCTION1 textWidth_ -tint FUNCTION1 tint_ -translate FUNCTION1 translate_ -triangle FUNCTION1 triangle_ -trim FUNCTION1 trim_ +radians FUNCTION1 radians +random FUNCTION1 random +randomSeed FUNCTION1 randomSeed +rect FUNCTION1 rect +rectMode FUNCTION1 rectMode +red FUNCTION1 red +redraw FUNCTION1 redraw +requestImage FUNCTION1 requestImage +resetMatrix FUNCTION1 resetMatrix +resetShader FUNCTION1 resetShader +reverse FUNCTION1 reverse +rotate FUNCTION1 rotate +rotateX FUNCTION1 rotateX +rotateY FUNCTION1 rotateY +rotateZ FUNCTION1 rotateZ +round FUNCTION1 round +saturation FUNCTION1 saturation +save FUNCTION1 save +saveBytes FUNCTION1 saveBytes +saveFrame FUNCTION1 saveFrame +saveStream FUNCTION1 saveStream +saveStrings FUNCTION1 saveStrings +scale FUNCTION1 scale +screenHeight KEYWORD3 screenHeight_ +screenWidth KEYWORD3 screenWidth_ +screenX FUNCTION1 screenX +screenY FUNCTION1 screenY +screenZ FUNCTION1 screenZ +second FUNCTION1 second +selectFolder FUNCTION1 selectFolder +selectInput FUNCTION1 selectInput +selectOutput FUNCTION1 selectOutput +set FUNCTION1 set +setup FUNCTION1 setup +shader FUNCTION1 shader +shape FUNCTION1 shape +shapeMode FUNCTION1 shapeMode +shearX FUNCTION1 shearX +shearY FUNCTION1 shearY +shininess FUNCTION1 shininess +shorten FUNCTION1 shorten +sin FUNCTION1 sin +size FUNCTION1 size +smooth FUNCTION1 smooth +sort FUNCTION1 sort +specular FUNCTION1 specular +sphere FUNCTION1 sphere +sphereDetail FUNCTION1 sphereDetail +splice FUNCTION1 splice +split FUNCTION1 split +splitTokens FUNCTION1 splitTokens +spotLight FUNCTION1 spotLight +sq FUNCTION1 sq +sqrt FUNCTION1 sqrt +stroke FUNCTION1 stroke +strokeCap FUNCTION1 strokeCap +strokeJoin FUNCTION1 strokeJoin +strokeWeight FUNCTION1 strokeWeight +subset FUNCTION1 subset +Table FUNCTION1 Table +tan FUNCTION1 tan +text FUNCTION1 text +textAlign FUNCTION1 textAlign +textAscent FUNCTION1 textAscent +textDescent FUNCTION1 textDescent +textFont FUNCTION1 textFont +textLeading FUNCTION1 textLeading +textMode FUNCTION1 textMode +textSize FUNCTION1 textSize +texture FUNCTION1 texture +textureMode FUNCTION1 textureMode +textureWrap FUNCTION1 textureWrap +textWidth FUNCTION1 textWidth +tint FUNCTION1 tint +translate FUNCTION1 translate +triangle FUNCTION1 triangle +trim FUNCTION1 trim TWO_PI LITERAL2 TWO_PI -unbinary FUNCTION1 unbinary_ -unhex FUNCTION1 unhex_ -updatePixels FUNCTION1 updatePixels_ -vertex FUNCTION1 vertex_ -width LITERAL2 width -XML FUNCTION1 XML_ -addChild FUNCTION2 XML_addChild_ -getAttributeCount FUNCTION2 XML_getAttributeCount_ -getChild FUNCTION2 XML_getChild_ -getChildCount FUNCTION2 XML_getChildCount_ -getChildren FUNCTION2 XML_getChildren_ -getContent FUNCTION2 XML_getContent_ -getFloat FUNCTION2 XML_getFloat_ -getInt FUNCTION2 XML_getInt_ -getName FUNCTION2 XML_getName_ -getParent FUNCTION2 XML_getParent_ -getString FUNCTION2 XML_getString_ -hasAttribute FUNCTION2 XML_hasAttribute_ -hasChildren FUNCTION2 XML_hasChildren_ -listAttributes FUNCTION2 XML_listAttributes_ -listChildren FUNCTION2 XML_listChildren_ -removeChild FUNCTION2 XML_removeChild_ -setContent FUNCTION2 XML_setContent_ -setFloat FUNCTION2 XML_setFloat_ -setInt FUNCTION2 XML_setInt_ -setName FUNCTION2 XML_setName_ -setString FUNCTION2 XML_setString_ -year FUNCTION1 year_ +unbinary FUNCTION1 unbinary +unhex FUNCTION1 unhex +updatePixels FUNCTION1 updatePixels +vertex FUNCTION1 vertex +XML FUNCTION1 XML +addChild FUNCTION2 XML_addChild +getAttributeCount FUNCTION2 XML_getAttributeCount +getChild FUNCTION2 XML_getChild +getChildCount FUNCTION2 XML_getChildCount +getChildren FUNCTION2 XML_getChildren +getContent FUNCTION2 XML_getContent +getFloat FUNCTION2 XML_getFloat +getInt FUNCTION2 XML_getInt +getName FUNCTION2 XML_getName +getParent FUNCTION2 XML_getParent +getString FUNCTION2 XML_getString +hasAttribute FUNCTION2 XML_hasAttribute +hasChildren FUNCTION2 XML_hasChildren +listAttributes FUNCTION2 XML_listAttributes +listChildren FUNCTION2 XML_listChildren +removeChild FUNCTION2 XML_removeChild +setContent FUNCTION2 XML_setContent +setFloat FUNCTION2 XML_setFloat +setInt FUNCTION2 XML_setInt +setName FUNCTION2 XML_setName +setString FUNCTION2 XML_setString +year FUNCTION1 year diff --git a/java/theme/theme.txt b/java/theme/theme.txt index d4a17dd4f..4d3cd5fb3 100644 --- a/java/theme/theme.txt +++ b/java/theme/theme.txt @@ -74,27 +74,29 @@ editor.brackethighlight.color = #006699 # TEXT - KEYWORDS -editor.function1.style = #cc6600,plain +# e.g. Functions +editor.function1.style = #006699,plain -editor.function2.style = #cc6600,bold +# e.g. Methods (functions inside a class) +editor.function2.style = #006699,plain -# e.g abstract, final, private -editor.keyword1.style = #cc6600,plain +# e.g. Datatypes and keywords (void, int, boolean, etc.) +editor.keyword1.style = #D86736,plain -# e.g. beginShape, point, line -editor.keyword2.style = #cc6600,plain +# e.g. Processing fields [variables within a class] +editor.keyword2.style = #EE3C96,plain -# e.g. byte, char, short, color -editor.keyword3.style = #cc6600,bold +# e.g. Processing variables (width, height, focused, etc.) +editor.keyword3.style = #EE3C96,plain # TEXT - LITERALS -# constants: e.g. null, true, this, RGB, TWO_PI -editor.literal1.style = #006699,plain +# e.g. Strings (text in quotes) +editor.literal1.style = #7D4793,plain -# p5 built in variables: e.g. mouseX, width, pixels -editor.literal2.style = #006699,plain +# e.g. Constants (QUARTER_PI, CORNERS, etc.) +editor.literal2.style = #669933,plain # e.g. + - = / editor.operator.style = #000000,plain