!7 sclass SFAutoComplete > DynObjectTable { start { doEveryAndNow(2000, r { if (!isVisible()) ret; JTextComponent c = optCast(JTextComponent, getFocusOwner()); if (c == null) ret; int i = getCaretPosition(c); S word = lastWord(takeFirst(getText(c), i)); setData(takeFirst(10, prefixSubSet(standardFunctionNames_sorted(), word)); }); } }