]> gitweb.factorcode.org Git - factor.git/commitdiff
factor: fix bootstrap and test and doc
authorDoug Coleman <doug.coleman@gmail.com>
Tue, 30 Jul 2019 23:00:40 +0000 (18:00 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Tue, 30 Jul 2019 23:01:11 +0000 (18:01 -0500)
basis/sorting/human/human.factor
basis/ui/backend/cocoa/views/views.factor
basis/unicode/breaks/breaks-docs.factor

index a6eaf52bd49b660fadd4a5b3daa17e99923ee88c..51baf50d2250c4e9027a05eee3ebdb07c29875f1 100644 (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@
index 20c6ff773decd0567db2cfc964920c062b89e5a2..5ac61918eb1b4b40684554cd6e6d6628338575a0 100644 (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* ;
index b9d5dbb70948dc6cf0ef0e6bd970499d914311dc..cb31f48252dc6ffa5722fac5c303fc0f13bf6449 100644 (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