Commit graph

28 commits

Author SHA1 Message Date
Ilya Fedin
ce3459e249 Don't rely on TWidget using QObjectPrivate for Qt version check 2024-05-03 19:58:30 +04:00
John Preston
f59c13455c Fix bidi data init. 2023-11-06 20:29:27 +04:00
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
148be79196 Override link colors in blockquotes. 2023-10-31 10:39:38 +04:00
John Preston
6dc93b53a1 Support filling highlight path in Text. 2023-10-30 21:53:22 +04:00
John Preston
71d24af3a8 Support two-color quote outlines. 2023-10-23 21:26:49 +04:00
John Preston
17d73a5c0c Add copy code blocks on header click. 2023-10-19 16:09:42 +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
44f8d862ff Simplify TextStyle: remove linkFont/linkFontOver. 2023-10-12 10:53:02 +04:00
John Preston
c317f2a353 Partially (italic+colored) support blockquotes. 2023-10-05 13:01:03 +04:00
John Preston
02440524ea Add per-line geometry / colors customization for Text. 2023-10-04 22:17:27 +04:00
John Preston
a110c6ea53 Allow pausing emoji and spoilers separately. 2023-02-21 16:30:59 +04:00
John Preston
4ec3aced2e Support colored emoji more widely. 2022-12-15 17:24:36 +04:00
John Preston
3752e158e4 Fix spoilers with multi-item elision blocks. 2022-11-09 12:35:04 +04:00
John Preston
04e6428fec Remove accidentally added check. 2022-10-04 10:10:49 +04:00
John Preston
1ceaa0bbcf Fix crash in empty text state resolving. 2022-09-23 20:45:39 +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
4ff5bc5773 Provide correct colors for spoiler selection. 2022-09-17 01:59:01 +04:00
John Preston
bd7098ef42 Fix new spoilers with elided text. 2022-09-17 01:22:22 +04:00
John Preston
73b6bc5e13 Implement animated spoilers. 2022-09-17 00:22:08 +04:00