!7 sclass GeneralDefinitions extends DynModule { transient JPanel stack; JComponent visualize() { ret stack = dynamicVStack2(); } void unvisualize() { stack = null; } void update { fS s = trim(dm_getInterestingString()); removeAllComponents(stack); MultiMap map = mechMultiMapCI("General definitions (long list)"); L answers = map.get(s); S text = ""; if (empty(answers)) text = "No defintions found for " + quote(s); else text = lines(map(answers, func(S a) -> S { s + " = " + a })); addComponent(stack, jMultiLineLabel(text)); } }