2 The BEGINNINGS of a Document class for psycollider.
3 Currently has limitations compared to other Document implementations,
4 doesn't connect to all of psyco's potential.
6 PsycolliderDocument : Document {
8 <id; // Should be the "windowId" used in psycollider to uniquely identify the window
11 Document.implementationClass = PsycolliderDocument;
14 *new { arg title="Untitled", string="", makeListener=false;
15 ^super.prBasicNew.initByString(title, string.asString, makeListener);
17 initByString { arg title="Untitled", string="", makeListener=false;
19 path = "temp_newTextWindow";
20 tempFile = File(path, "w");
21 tempFile.write(string);
23 id = path.openWinTextFile;
27 ^Help.findHelpFile(str)