handle storing caret and scroll bar positions for tabs

This commit is contained in:
benfry
2005-05-01 20:00:51 +00:00
parent 1cca0904e7
commit c6ce4caaeb
4 changed files with 103 additions and 92 deletions

View File

@@ -28,11 +28,17 @@ import java.io.*;
public class SketchCode {
String name; // pretty name (no extension), not the full file name
File file;
int flavor;
public String name; // pretty name (no extension), not the full file name
public File file;
public int flavor;
public String program;
// saved positions from last time this tab was used
public int selectionStart;
public int selectionStop;
public int scrollPosition;
String program;
public boolean modified;
//SketchHistory history; // TODO add history information