SELECT cmd
FROM
tree => {
index: Tree.Index ← GetSelectionValue[h];
PutAsTree[h, [subtree[index]]]};
lbl => PutLabelState[h];
lii => PutAsLabelInfoIndex[h, GetSelectionValue[h]];
sei => {
sei: Symbols.SEIndex ← GetSelectionValue[h];
IF PutAsSei[h, sei] THEN h.lastId ← LOOPHOLE[sei]};
nextse => {
nsei: Symbols.ISEIndex ← NextSe[h, h.lastId];
IF nsei # Symbols.ISENull THEN {[] ← PutAsSei[h, nsei]; h.lastId ← nsei};
};
hti => PutAsHti[h, GetSelectionValue[h]];
cti => PutAsCti[h, GetSelectionValue[h]];
bti => PutAsBti[h, GetSelectionValue[h]];
mdi => PutAsMdi[h, GetSelectionValue[h]];
rep => PutAsVariousRep[h, GetLongSelectionValue[h]];
body => PutCurrentBody[h];
stmt => PutCurrentStmt[h];
expr => PutCurrentExpr[h];
gFrames => ClearCachedFrames[h];
source => PutCurrentSource[h];
ENDCASE;