Commit Graph

25 Commits (63e5c44c63f70137ef36ec11fa3bcedf34f0737a)

Author SHA1 Message Date
Bruno Windels 616ff5ce76 adjust list item numbers in test that are now preserved 2019-10-22 15:43:40 +02:00
Bruno Windels 7f4e070807 fix deserialize unit tests 2019-09-23 15:34:01 +02:00
Bruno Windels be79cdddb0 apply autocomplete changes to mock to fix editor unit tests 2019-08-29 18:00:38 +02:00
Bruno Windels c44fbb73d0 fix bug when replacing range starting at end of previous part 2019-08-28 15:52:39 +02:00
Bruno Windels 994bcb5c85 dont expect rendered to be called from `range.replace()` anymore
as this is now called from the `transform` method, unused in this test
2019-08-27 16:43:05 +02:00
Bruno Windels 0e65f71a37 support incrementing/decrementing doc positions with predicate 2019-08-26 16:16:27 +02:00
Bruno Windels 10291bafe0 add support for selecting ranges in the editor model, and replacing them
this to support finding emoticons and replacing them with an emoji
2019-08-26 16:16:27 +02:00
Bruno Windels 5cebce9bbf fix bug detected by tests 2019-08-22 14:41:40 +01:00
Bruno Windels 1dd052d9dd fix test after refactoring 2019-08-22 14:38:24 +01:00
Bruno Windels 299cf8542c Split MessageEditor in edit-specifics & reusable part for main composer 2019-08-05 15:31:18 +02:00
Bruno Windels af3eebd0a6 add undo steps after word boundary (or capped) when typing or removing 2019-08-02 11:31:01 +02:00
Bruno Windels 07b2e51dce put max step length in constant 2019-08-01 16:27:17 +02:00
Bruno Windels aa22c90f2c HistoryManager + unit tests 2019-08-01 11:25:04 +02:00
Bruno Windels 4b08bf0e76 add tests for removing multiple characters in edit 2019-07-30 12:31:40 +02:00
Bruno Windels b8a3c5ebd0 test serialization only produces html messages when needed 2019-07-25 18:47:29 +02:00
Bruno Windels 0b92077bba tests for turning caret position from model into dom position 2019-07-25 18:38:00 +02:00
Bruno Windels e8a31edeba test html to editor model deserialization 2019-07-25 17:27:47 +02:00
Bruno Windels 08ff9e598a put mock code in separate file to reuse elsewhere 2019-07-25 17:27:29 +02:00
Bruno Windels 94957fcfd0 add more tests for empty lines 2019-07-25 16:06:43 +02:00
Bruno Windels 7f5ba08de9 test typing in middle of pills 2019-07-25 15:06:32 +02:00
Bruno Windels a474f53c51 more auto-complete tests 2019-07-25 14:50:20 +02:00
Bruno Windels d6133eefd9 tests for non-editable parts 2019-07-25 14:50:20 +02:00
Bruno Windels a7259b31b6 first set of model tests 2019-07-25 14:50:20 +02:00
Bruno Windels 419c800167 add tests for diffAtCaret 2019-07-25 14:50:20 +02:00
Bruno Windels 595dc82543 unit test + fixes + comments + simplication for diffDeletion 2019-07-25 14:50:20 +02:00