tools.completion: adding colors-matching.

db4
John Benediktsson 2012-09-24 15:06:54 -07:00
parent 556c54e4f9
commit 08821f38ea
1 changed files with 6 additions and 4 deletions

View File

@ -1,10 +1,10 @@
! Copyright (C) 2005, 2009 Slava Pestov. ! Copyright (C) 2005, 2009 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays assocs combinators fry io kernel locals USING: accessors arrays assocs colors.constants combinators fry
make math math.order namespaces sequences sorting strings io kernel locals make math math.order namespaces sequences
unicode.case unicode.categories unicode.data vectors vocabs sorting strings unicode.case unicode.categories unicode.data
vocabs.hierarchy words ; vectors vocabs vocabs.hierarchy words ;
IN: tools.completion IN: tools.completion
@ -95,3 +95,5 @@ PRIVATE>
: chars-matching ( str -- seq ) : chars-matching ( str -- seq )
name-map keys dup zip completions ; name-map keys dup zip completions ;
: colors-matching ( str -- seq )
named-colors dup zip completions ;