From 4f540c288cf505482069ffb338a25222999511e0 Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Fri, 16 Jan 2009 00:56:32 -0600 Subject: [PATCH] vocabs-matching now considers all vocabs, not just loaded vocabs --- basis/tools/completion/completion.factor | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/basis/tools/completion/completion.factor b/basis/tools/completion/completion.factor index b4be885d8a..4bf1f8253a 100644 --- a/basis/tools/completion/completion.factor +++ b/basis/tools/completion/completion.factor @@ -2,7 +2,8 @@ ! See http://factorcode.org/license.txt for BSD license. USING: accessors kernel arrays sequences math namespaces strings io fry vectors words assocs combinators sorting -unicode.case unicode.categories math.order vocabs ; +unicode.case unicode.categories math.order vocabs +tools.vocabs ; IN: tools.completion : (fuzzy) ( accum ch i full -- accum i ? ) @@ -75,4 +76,4 @@ IN: tools.completion all-words name-completions ; : vocabs-matching ( str -- seq ) - dictionary get values name-completions ; \ No newline at end of file + all-vocabs-seq name-completions ; \ No newline at end of file