EmojiCharString icon indicating copy to clipboard operation
EmojiCharString copied to clipboard

feat: support slice()

Open hotoo opened this issue 6 years ago • 3 comments

hotoo avatar May 05 '19 17:05 hotoo

Coverage Status

Coverage remained the same at 100.0% when pulling 8a2ef2761ca61c4935e31d913021dd1b4cf07960 on hotoo:feat/slice into 57a487e19c2303c04df54363b4a861eca87890cf on YingshanDeng:master.

coveralls avatar May 05 '19 17:05 coveralls

这个 PR 主要将 emojicharstring 升级为高阶的 String 类,修正了原生 String 类针对部分 Unicode 的 length 等相关属性和方法的处理错误。 而 slice 是 String 的一个普通方法,但是处理 Emoji 这些特殊 Unicode 字符有误,所以也需要复写处理。

hotoo avatar May 18 '19 05:05 hotoo

感觉不是很妥当,新增的方法中,有BUG。 image

YingshanDeng avatar May 19 '19 15:05 YingshanDeng