static L lastRunTable_update(JTable table) { print("Updating last run table..."); new L l; for (S s : uniquifyList(reversedList(scanRunLog()))) { S progID = s; int i = s.indexOf(' '); if (i >= 0) { progID = substring(s, 0, i); s = trim(substring(s, i+1)); } else s = ""; // no arguments //S title = getSnippetTitle_cached(progID); l.add(litorderedmap("Program ID" := fsI(progID), "Title" := "?", "Arguments" := s)); } lastRunTable_addProgramTitles(l); dataToTable_uneditable(l, table); ret l; }