mirror of
https://github.com/processing/processing4.git
synced 2026-02-03 13:49:18 +01:00
handle storing caret and scroll bar positions for tabs
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user