factor: fix bootstrap and test and doc
parent
6ac5bf66e8
commit
8eb7621b54
|
@ -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@
|
||||
|
|
|
@ -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* ;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue