change tweak comment matcher (fixes #3742)

This commit is contained in:
Ben Fry
2015-09-11 09:43:39 -04:00
parent b8ed1abcdb
commit ebdccb9876
2 changed files with 13 additions and 9 deletions
@@ -627,9 +627,13 @@ public class SketchParser {
static private boolean hasTweakComment(String code) {
// https://github.com/processing/processing/issues/3742
return code.contains("/// tweak");
/*
Pattern p = Pattern.compile("\\/\\/.*tweak", Pattern.CASE_INSENSITIVE);
Matcher m = p.matcher(code);
return m.find();
*/
}
+9 -9
View File
@@ -14,15 +14,9 @@ X https://github.com/processing/processing/issues/3777
X copying just fine
X remove old versions of processing-java when installing on OS X
X https://github.com/processing/processing/issues/3786
_ add jar files from 'code' folder to the library path
_ Code editor wrongly detects errors for libraries in code folder
_ https://github.com/processing/processing/issues/3732
_ "color type detected! this shouldn't be happening! please report"
_ happens when user does 'new color' instead of 'color'
_ https://github.com/processing/processing/issues/3739
_ confusion when // tweak is used
_ https://github.com/processing/processing/issues/3742
X confusion when // tweak is used
X https://github.com/processing/processing/issues/3742
X change to /// tweak instead
jakub
X Error/warning location visualisation not updating when editor resizes
@@ -77,6 +71,12 @@ _ mouse events (i.e. toggle breakpoint) seem to be firing twice
3.0 final
_ https://github.com/processing/processing/milestones/3.0%20final
_ add jar files from 'code' folder to the library path
_ Code editor wrongly detects errors for libraries in code folder
_ https://github.com/processing/processing/issues/3732
_ "color type detected! this shouldn't be happening! please report"
_ happens when user does 'new color' instead of 'color'
_ https://github.com/processing/processing/issues/3739
_ change Tool API because it's not one Editor per Tool anymore?
_ or just change the documentation?
_ Contributions Manager UI design