John Preston
c199a1722f
Add TextWithTags::empty method.
2022-10-25 11:19:52 +04:00
John Preston
06f3c837f6
Add TextForMimeData::WithExpandedLinks method.
2022-09-21 18:54:37 +04:00
John Preston
6bd7518109
Fix editing text with custom emoji and formatting.
2022-07-01 12:55:26 +04:00
John Preston
87cd0b6127
Add initial support for custom emoji.
2022-06-23 17:51:36 +04: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
745ce34dd5
Added new entity type for plain non-interactive links.
...
Increased size of the block flags by two bits.
Added a text utility to wrap a simple text with plain links.
Added a new flag to specify parsing of plain links.
2022-01-08 08:24:06 +03:00
23rd
774da18a38
Added utility to correctly cut text with commands.
2021-12-25 17:31:53 +03:00
23rd
9c1572564b
Added utility to replace spoiler entities with text commands.
2021-12-24 15:49:02 +03:00
23rd
fc6c3841ee
Improved utility to clean text from text commands except spoilers.
2021-12-24 15:49:02 +03:00
23rd
ee4a94c122
Added spoiler support to input field.
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
23rd
c06f0435c4
Moved splitting of tags to separated method.
2021-12-22 17:03:52 +03:00
Ilya Fedin
004270ebd0
Try with QList
2021-10-20 10:27:52 +04:00
Ilya Fedin
8e5d35229a
Simple replacements for Qt 6
...
QStringRef -> QStringView
QTextCursor constructor accepts a QTextDocument only
Some headers are moved, so paths are removed
QMatrix -> QTransform
Methods returning qsizetype are wrapped to int()s to allow compiler to deduce the type
2021-10-19 17:06:25 +04:00
23rd
38d65bf16e
Added separate entity type for media timestamp.
2021-08-16 13:32:58 +03:00
John Preston
2d71162f4a
Convert overlapping tags to entities and back.
2021-06-22 18:29:12 +04:00
John Preston
96b4c6c57a
Allow several tags with '|' separator in InputField.
2021-06-22 14:42:57 +04:00
John Preston
51b4074cc9
Support 64 bit mention ids in entities.
2021-04-08 16:19:50 +04:00
John Preston
f06346fbf0
Allow precompute size of serialized tags.
2020-11-13 20:26:30 +03:00
John Preston
e712f9b3de
Add time format getter to Ui::Integration.
2020-09-30 12:10:23 +03:00
John Preston
4e6763d176
Remove old ways to customize mentions.
2020-06-16 19:10:18 +04:00
John Preston
ab61721a13
Allow passing std::any context to link creation method.
2020-06-09 13:04:44 +04:00
John Preston
555a9d203c
Add a separate Semibold entity type.
2020-05-08 12:07:35 +04:00
John Preston
8d8d561127
Support rich text in toasts.
2020-04-07 13:58:24 +04:00
John Preston
85c83003ca
Initial commit.
2019-09-17 17:48:58 +03:00