loro/crates
东灯 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
..
bench-utils feat: Stable JSON representation for history (#368) 2024-06-07 13:18:30 +08:00
delta
dev-utils
examples feat: Stable JSON representation for history (#368) 2024-06-07 13:18:30 +08:00
fractional_index Fix undo with checkout (#375) 2024-07-04 18:15:44 +08:00
fuzz chore: update fuzz config 2024-07-04 20:06:18 +08:00
loro feat: add insert_utf8 and delete_utf8 for Rust Text API (#396) 2024-07-10 10:20:08 +08:00
loro-common feat: add insert_utf8 and delete_utf8 for Rust Text API (#396) 2024-07-10 10:20:08 +08:00
loro-ffi
loro-internal feat: add insert_utf8 and delete_utf8 for Rust Text API (#396) 2024-07-10 10:20:08 +08:00
loro-python
loro-wasm feat: add insert_utf8 and delete_utf8 for Rust Text API (#396) 2024-07-10 10:20:08 +08:00
rle feat: Stable JSON representation for history (#368) 2024-06-07 13:18:30 +08:00