Signal-iOS/SignalUI/ViewModels
Harry 224e5a7c6b
Parse text formatting styles in MessageBody
* add deserialization test for MessageBodyRanges

* Add style ranges to MessageBodyText

* add deserialization tests and fix small other test

* add basic mention hydration tests

* Add RTL support for @mention hydration

* Add a test with accents for unicode shenanigans

* unique-ify TODOs

* Add emoji test and fix implementation to account for multi-point unicode that is captured in NSString.length but not String.count

* Add more TODOs for text formatting

* Collapse style ranges on init

* Handle mention overlaps on MessageBodyRanges init

* add tests, update existing tests, fix bugs

* Update v2 deserialization test; the meaning of Style raw values has changed

* comment nit
2023-04-04 12:46:09 -07:00
..
ContactShareViewModel.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
CVItemViewModel.h Change license to AGPL 2022-10-13 08:25:37 -05:00
OWSQuotedReplyModel.h Change license to AGPL 2022-10-13 08:25:37 -05:00
OWSQuotedReplyModel.m Change license to AGPL 2022-10-13 08:25:37 -05:00
ThreadUtil+SignalUI.swift Add all JobQueues to environment, via a wrapper 2022-11-09 14:08:44 -06:00
ThreadViewModel.swift Parse text formatting styles in MessageBody 2023-04-04 12:46:09 -07:00