fixing bugs with multi-tab undo, also adding loading.gif to the export

This commit is contained in:
benfry
2005-05-07 17:11:04 +00:00
parent e939ffe521
commit 9674b8b8aa
5 changed files with 82 additions and 35 deletions

View File

@@ -25,15 +25,25 @@
package processing.app;
import java.io.*;
import javax.swing.undo.*;
public class SketchCode {
public String name; // pretty name (no extension), not the full file name
/** Pretty name (no extension), not the full file name */
public String name;
/** File object for where this code is located */
public File file;
/** Type of code in this tab, Sketch.PDE or Sketch.JAVA */
public int flavor;
/** Text of the program text for this tab */
public String program;
/** Undo Manager for this tab, each tab keeps track of their own */
public UndoManager undo = new UndoManager();
// saved positions from last time this tab was used
public int selectionStart;
public int selectionStop;