mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
minor tweaks
This commit is contained in:
@@ -499,13 +499,8 @@ public class PdeSketch {
|
||||
/**
|
||||
* Sets the modified value for the code in the frontmost tab.
|
||||
*/
|
||||
//public void setCurrentModified(boolean what) {
|
||||
//public void setModified(boolean what) {
|
||||
public void setModified() {
|
||||
//System.out.println("setting modified for " + current.program);
|
||||
//modified = true;
|
||||
current.modified = true;
|
||||
//editor.header.repaint();
|
||||
calcModified();
|
||||
}
|
||||
|
||||
@@ -521,18 +516,6 @@ public class PdeSketch {
|
||||
editor.header.repaint();
|
||||
}
|
||||
|
||||
/**
|
||||
* Return true if any of the items are modified.
|
||||
*/
|
||||
/*
|
||||
public boolean isModified() {
|
||||
for (int i = 0; i < codeCount; i++) {
|
||||
if (code[i].modified) return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Save all code in the current sketch.
|
||||
|
||||
Reference in New Issue
Block a user