minor tweaks

This commit is contained in:
benfry
2004-07-17 00:10:14 +00:00
parent 666309340a
commit 96f1fb4798
3 changed files with 7 additions and 22 deletions
-17
View File
@@ -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.