The gui elements in detail:
gui.history is current.postDoc method posts to old post-doc window or new.lineShorts, or the filtered lineShorts; selecting them in listview makes them come appear in post-doc window.(
h = History.new.lines_([
[0, \me, "1+2"],
[1, \me, "3+5"], [1.234, \you, "q = q ? ();"],
[3, \her, "\"Herstory\".speak"]
]);
g = h.makeWin;
g.findDoc;
g.postDoc(2);
)
h.document;
// how filtering works:
g.filters.postcs;
g.filterOff;
g.filterOn;
g.filtering;
g.setKeyFilter(\all);
g.setKeyFilter(\me);
g.setStrFilter("");
g.setStrFilter("3");
// internal state cached in gui:
g.filteredIndices;
g.filteredShorts;
// to do: execute line on special key in listview;
// window following?