mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
bring back unused getCodeIndex() function for GUI Builder Tool
This commit is contained in:
@@ -1769,7 +1769,8 @@ public class Sketch {
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
// Cannot remove because this is used by GUI Builder for Processing
|
||||
// https://github.com/processing/processing4/issues/545
|
||||
public int getCodeIndex(SketchCode who) {
|
||||
for (int i = 0; i < codeCount; i++) {
|
||||
if (who == code[i]) {
|
||||
@@ -1778,7 +1779,6 @@ public class Sketch {
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
public SketchCode getCurrentCode() {
|
||||
|
||||
@@ -2,6 +2,19 @@
|
||||
X using Java 17 in more syntax
|
||||
X fix potential casting problem with Platform and DefaultPlatform
|
||||
X should be unreachable, but fixed anyway
|
||||
X bring back getCodeIndex() for GUI Builder Tool
|
||||
X https://github.com/processing/processing4/issues/545
|
||||
|
||||
contribs
|
||||
X Catalan translation for Processing 4.0.1
|
||||
X https://github.com/processing/processing4/issues/550
|
||||
X https://github.com/processing/processing4/pull/554
|
||||
|
||||
docs
|
||||
X added a "Translations" page to the wiki
|
||||
X https://github.com/processing/processing4/wiki/Translations
|
||||
X https://github.com/processing/processing/wiki/Localization
|
||||
|
||||
|
||||
_ set more build.xml files to use Java 17
|
||||
_ remove target.path from build/build.xml
|
||||
|
||||
Reference in New Issue
Block a user