Cuis-Solitaire and Cuis-Unicode
Aside from some code cleanups, more Unicode tricks:
"Get Words"
str1 := 'The quick ("brown") fox can''t jump 32.3 feet, right?' asUniString.
str1 wordsBetween: 1 and: str1 size.
==> #( 'The' 'quick' 'brown' 'fox' 'can''t' 'jump' '32.3' 'feet' 'right') ).
"Display possible line breaks in the editor (useful for debug)"
str2 := '123a b567c
d90! foo, Yes bar. then x.
' asUniString.
breakArray := str2 possibleLineBreaksBetween: 1 and: str2 size.
(str2 breakDisplayUniString: breakArray) edit.
Enjoy!
-KenD
--
Ken [dot] Dickey [at] whidbey [dot] com
_______________________________________________
Cuis mailing list
[hidden email]
http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
-KenD