Commit Graph

18 Commits

Author SHA1 Message Date
Antonio Scandurra
0cd6bd19af Implement isWrapBoundary for DisplayLayer
So that we can correctly soft wrap CJK characters.
2016-03-18 18:30:35 +01:00
Antonio Scandurra
12376039a9 🎨 cjk -> CJK 2015-12-11 14:28:26 +01:00
Antonio Scandurra
9a2c3a49e7 Expose a isCjkCharacter text utility 2015-12-10 10:01:03 +01:00
Antonio Scandurra
4766c98bbe Treat Korean characters as different kinds of chars 2015-10-15 21:02:21 +02:00
Antonio Scandurra
8f7b303fc5 Recognize half width symbols 2015-10-15 19:01:23 +02:00
Antonio Scandurra
a3c3b48caa Recognize full width symbols 2015-10-15 18:59:12 +02:00
Antonio Scandurra
1fc9a25b5c Recognize half width characters 2015-10-15 18:57:11 +02:00
Antonio Scandurra
b2a7f4a28e Create utility function to recognize double width characters 2015-10-15 16:02:08 +02:00
Antonio Scandurra
4349b152d5 🎨 2015-09-14 18:22:31 +02:00
Antonio Scandurra
ac64245848 Avoid pairing null bytes characters 2015-09-03 19:54:55 +02:00
Kevin Sawicki
9b0f622ffb 📝 Mention combined characters in spec description 2014-10-24 13:31:42 -07:00
Kevin Sawicki
b6cc7273a1 Add combined characters to spec 2014-10-24 13:31:42 -07:00
Kevin Sawicki
f1fd13b0b2 Return as soon as first paired character is found
Previously the character count of the entire string was taken even
though it was only checking for the presence of a paired character.

Now hasPairedCharacter returns as early as possible and the now
unused getCharacterCount has been removed.
2014-09-17 10:35:33 -07:00
Kevin Sawicki
e343b0e0fc Don't treat consecutive variation selectors as a sequence 2014-09-17 10:17:27 -07:00
Kevin Sawicki
fb7061f500 📝 Mention variation sequence in specs 2014-09-17 10:17:26 -07:00
Kevin Sawicki
878da262d2 Add support for Unicode variation sequences
These are character pairs that should be treated as tokens with a
buffer delta of 2 and a screen delta of 1.
2014-09-17 10:17:26 -07:00
Kevin Sawicki
3c94ca4b9e Use relative paths in spec requires 2013-09-20 10:02:20 -07:00
Kevin Sawicki
a7a1244599 Flatten spec directory 2013-08-19 20:13:58 -07:00