another keywords change, additional note in PApplet

This commit is contained in:
benfry
2005-04-06 18:56:57 +00:00
parent b9a2de2d21
commit 0661293424
2 changed files with 6 additions and 4 deletions

View File

@@ -92,9 +92,10 @@ public class PdeKeywords extends CTokenMarker {
keywordColoring.add(keyword, id);
}
if (pieces.length >= 3) {
//if (htmlFilename.length() > 0) {
keywordToReference.put(keyword, pieces[2]); //htmlFilename);
//}
String htmlFilename = pieces[2].trim();
if (htmlFilename.length() > 0) {
keywordToReference.put(keyword, htmlFilename);
}
}
}
}

View File

@@ -4645,6 +4645,8 @@ v PApplet.this.stop();
static public void main(String args[]) {
if (args.length < 1) {
System.err.println("Usage: PApplet <appletname>");
System.err.println("For additional options, " +
"see the javadoc for PApplet");
System.exit(1);
}
@@ -4652,7 +4654,6 @@ v PApplet.this.stop();
boolean external = false;
int location[] = null;
int editorLocation[] = null;
//boolean exactLocation = false;
String folder = System.getProperty("user.dir");
String name = null;
boolean present = false;