loro/crates/loro-internal/tests
东灯 86c760abd0
feat: add insert_utf8 and delete_utf8 for Rust Text API (#396)
* feat: add insert_utf8

* chore: merge insert functions

* fix: use utf8_to_unicode_index to reslove index

* fix: add bound-check and use unicode PosType

* feat: add delete_utf8

* perf: O(LogN) insert_utf8

* feat: add utf-16 cross unicode check

* perf: O(LogN) delete_utf8

* chore: add api

* chore: remove unused function

* fix: api name and bindgen name

* test: add utf8 js test

---------

Co-authored-by: Zixuan Chen <remch183@outlook.com>
2024-07-10 10:20:08 +08:00
..
autocommit.rs Undo (#361) 2024-05-21 06:14:49 +08:00
fugue.rs Feat-rust-api (#193) 2023-11-28 16:22:43 +08:00
richtext.md refactor: use rich text style config (#246) 2024-01-17 22:55:46 +08:00
richtext.rs refactor: use rich text style config (#246) 2024-01-17 22:55:46 +08:00
test.rs feat: add insert_utf8 and delete_utf8 for Rust Text API (#396) 2024-07-10 10:20:08 +08:00