setModified() not being set in some cases (issue #766)

This commit is contained in:
benfry
2011-11-05 17:15:12 +00:00
parent 9de7613ee8
commit 6bfca1d72f
3 changed files with 7 additions and 3 deletions
+2
View File
@@ -1705,6 +1705,7 @@ public abstract class Editor extends JFrame implements RunnerListener {
textarea.select(textarea.getLineStartOffset(startLine),
textarea.getLineStopOffset(stopLine) - 1);
stopCompoundEdit();
sketch.setModified(true);
}
@@ -1758,6 +1759,7 @@ public abstract class Editor extends JFrame implements RunnerListener {
textarea.select(textarea.getLineStartOffset(startLine),
textarea.getLineStopOffset(stopLine) - 1);
stopCompoundEdit();
sketch.setModified(true);
}
+3 -3
View File
@@ -1,11 +1,11 @@
0202 core
X Rounded rect() does not have a maximum length for corner radius
X http://code.google.com/p/processing/issues/detail?id=813
_ video problem with P3D
A video problem with P3D
_ add inputPath() and outputPath() -> sketch folder or sd card
_ or should this just be a change to sketchPath() on Android?
_ also because input/output won't be different (since not data folder)
_ finish adding loadStrings(BufferedReader)
_ decide if we want to keep this (and/or others?)
+2
View File
@@ -5,6 +5,8 @@ X http://code.google.com/p/processing/issues/detail?id=846
X http://code.google.com/p/processing/issues/detail?id=887
X Incorrect tab/line shown for preprocessor errors when more than 2 tabs
X http://code.google.com/p/processing/issues/detail?id=873
X Commenting via menu or shortcut does not set sketch to "need save"
X http://code.google.com/p/processing/issues/detail?id=766
earlier
X IDE Export Application button exports applet