Minor fixes so it builds and exports as a functional, installable plugin. Previously it was only working inside Eclipse.

This commit is contained in:
lonnen
2010-06-17 18:21:14 +00:00
parent 63f98d277b
commit 6e2c0b99ed
9 changed files with 6 additions and 4 deletions
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: org.processing.editor
Bundle-SymbolicName: org.processing.editor;singleton:=true
Bundle-Version: 0.0.0
Bundle-Version: 0.0.1
Bundle-Activator: org.processing.editor.ProcessingEditorPlugin
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.ui,
@@ -3,4 +3,5 @@ output.. = bin/
bin.includes = plugin.xml,\
META-INF/,\
.,\
icons/
icons/,\
keywords.txt
@@ -157,7 +157,8 @@ public class ProcessingCodeScanner extends RuleBasedScanner {
wordRule.addWord(fgLabels[i], label);
for (int i= 0; i < fgOperators.length; i++)
wordRule.addWord(fgOperators[i], operator);
for (int i= 0; i < fgInvalids.length; i++)
wordRule.addWord(fgInvalids[i], invalid);
// Set these as the colorizing rules for the document
rules.add(wordRule);
@@ -27,7 +27,7 @@ public class ProcessingColorProvider {
public static final RGB KEYWORD1= new RGB(204, 102, 0);
public static final RGB KEYWORD2= new RGB(204, 102, 0);
public static final RGB KEYWORD3= new RGB(204, 102, 0);
public static final RGB LITERAL1= new RGB(0, 102, 153); // currently unused used [lonnen] june 16, 2010
public static final RGB LITERAL1= new RGB(0, 102, 153); // currently unused [lonnen] june 16, 2010
public static final RGB LITERAL2= new RGB(0, 102, 153);
public static final RGB LABEL= new RGB(0, 0, 128); // use listed as '?' in p5 doc
public static final RGB OPERATOR= new RGB(0, 0, 0);