factor: fix bootstrap and test and doc

clean-linux-x86-64
Doug Coleman 2019-07-30 18:00:40 -05:00
parent 6ac5bf66e8
commit 8eb7621b54
3 changed files with 4 additions and 2 deletions

View File

@ -32,7 +32,7 @@ TUPLE: alphanum obj ;
: <alphanum-insensitive> ( obj -- alphanum )
alphanum new
swap dup string? [ w/collation-key ] when >>obj ; inline
swap dup string? [ collation-key/nfd drop ] when >>obj ; inline
M: alphanum <=>
[ obj>> ] bi@

View File

@ -15,6 +15,8 @@ ui.backend.cocoa.input-methods.editors io.encodings.utf16n
io.encodings.string classes.struct ;
IN: ui.backend.cocoa.views
SLOT: window
: send-mouse-moved ( view event -- )
[ mouse-location ] [ drop window ] 2bi
[ move-hand fire-motion yield ] [ drop ] if* ;

View File

@ -24,7 +24,7 @@ $nl "Operations for graphemes:"
} ;
HELP: first-grapheme
{ $values { "str" string } { "i" "an index" } }
{ $values { "entire-str" string } { "start" string } { "i" "an index" } }
{ $description "Finds the length of the first grapheme of the string. This can be used repeatedly to efficiently traverse the graphemes of the string, using slices." } ;
HELP: last-grapheme