!7 static cached stdFunctions_idAndName() { ret map(stdFunctions_cached(), func(S name, S snippetID) -> S { snippetID + " - " + title }); } sclass SFQuickSearch extends DynQuickSearch { visualize { JComponent c = super.visualize(); onDoubleClickOrEnterThreaded(list, voidfunc(fS s) { dm_hideModule(); dm_openSnippetInEditor(beforeSpace(s)); }); ret c; } L calc_impl() { ret scoredSearch_eachTerm(query, stdFunctions_idAndName()); } }