Commit graph

43 commits

Author SHA1 Message Date
John Preston
65310f32dc Count correctly elided text dimensions. 2023-11-06 11:28:27 +04:00
John Preston
24390ae853 Support complex dimensions in Ui::Text::String. 2023-11-03 09:05:30 +04:00
John Preston
6dc93b53a1 Support filling highlight path in Text. 2023-10-30 21:53:22 +04:00
John Preston
611224c52f Support three-color quote outlines. 2023-10-27 09:54:45 +04:00
John Preston
71d24af3a8 Support two-color quote outlines. 2023-10-23 21:26:49 +04:00
John Preston
5ffbb90fd6 Fix build with Xcode. 2023-10-17 20:12:53 +04:00
John Preston
8915f5d40d Fix modifications tracking with skip block. 2023-10-17 12:01:50 +04:00
John Preston
9eb9fcf043 Use quote instead of paragraph for quotes. 2023-10-13 18:29:45 +04:00
John Preston
48012d7f4a Count correct initial size for code blocks. 2023-10-13 17:27:00 +04:00
John Preston
46465fc5ce Support quote icon in blockquote. 2023-10-13 16:13:08 +04:00
John Preston
6e7c4c1c4d Improve blockquote / pre layout. 2023-10-13 15:14:58 +04:00
John Preston
a38b60636a Paint nice code blocks. 2023-10-13 10:03:40 +04:00
John Preston
ab5057f001 Optimize simple Ui::Text::String instances. 2023-10-12 13:53:44 +04:00
John Preston
45ffbdeef9 Track Ui::Text::String modifications on parse. 2023-10-11 21:49:00 +04:00
John Preston
02440524ea Add per-line geometry / colors customization for Text. 2023-10-04 22:17:27 +04:00
John Preston
ed00cd2809 Allow Text::String constructor with entitites. 2023-06-29 14:48:04 +04:00
John Preston
a110c6ea53 Allow pausing emoji and spoilers separately. 2023-02-21 16:30:59 +04:00
John Preston
7bcca23bfe Fix Text::String::isOnlyEmojiAndSpaces for empty string. 2023-01-30 14:10:11 +04:00
John Preston
f2e698f220 Track isOnlyEmojiAndSpaces in Ui::Text::String. 2023-01-27 19:00:30 +04:00
John Preston
0f77143905 Fix spoiler open link after String moving. 2022-09-23 11:59:25 +04:00
John Preston
bc76e4f601 Optimize spoiler revealing. 2022-09-18 16:51:29 +04:00
John Preston
a60fe582ad Render correct spoiler selections. 2022-09-18 15:17:19 +04:00
John Preston
73b6bc5e13 Implement animated spoilers. 2022-09-17 00:22:08 +04:00
23rd
1cc74a41c4 Moved out spoiler data from Ui::Text::String to separate structure. 2022-08-16 19:00:57 +03:00
John Preston
f27d756bcd Support getting OnlyCustomEmoji from Ui::Text::String. 2022-08-03 20:07:43 +03:00
John Preston
a5d7b23a63 Support custom emoji in IsolatedEmoji. 2022-07-25 17:54:15 +03:00
John Preston
187110f438 Allow unloading custom emoji data. 2022-06-24 20:33:46 +04:00
John Preston
87cd0b6127 Add initial support for custom emoji. 2022-06-23 17:51:36 +04:00
John Preston
5214f96bba Parse markup in Ui::Text::String::setMarkedText by default. 2022-02-27 17:48:43 +03:00
23rd
b81b9371e6 Removed TextParseRichText. 2022-01-08 08:24:06 +03:00
23rd
7e279bd83a Removed text commands. 2022-01-08 08:24:06 +03:00
23rd
3461c18cda Extracted ellipsis string from String::Text to global access. 2021-12-25 18:24:09 +03:00
23rd
44853e9334 Added ability to show or hide spoilers from outside. 2021-12-25 17:31:53 +03:00
23rd
2c1e6b458d Moved SpoilerClickHandler to separated file. 2021-12-24 15:49:02 +03:00
23rd
6c9d832ad8 Added nice corners for spoilers. 2021-12-24 15:49:02 +03:00
23rd
6b905f7754 Added text command for spoilers. 2021-12-24 15:49:02 +03:00
23rd
1819e6e3a5 Added initial spoiler support to Ui::Text::String. 2021-12-24 15:49:02 +03:00
John Preston
ab61721a13 Allow passing std::any context to link creation method. 2020-06-09 13:04:44 +04:00
John Preston
d71d2121b1 Move some methods out of the global scope. 2020-06-03 19:04:52 +04:00
John Preston
f7b4994887 Optimize Ui::Text::String blocks vector. 2020-06-03 15:49:31 +04:00
John Preston
b1d00d0b28 Add method to count max monospace paragraph width. 2020-05-12 11:05:55 +04:00
John Preston
00393b7b3b Correct String::countHeight with breakEverywhere. 2019-09-20 19:30:21 +03:00
John Preston
85c83003ca Initial commit. 2019-09-17 17:48:58 +03:00