1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-16 10:53:11 +01:00
Commit graph

70 commits

Author SHA1 Message Date
Ell
11dd939009 Added a multiline editing mode to TextField 2021-10-12 02:16:09 +02:00
Ell
fd5b83eaa0 added a strikethrough formatting code 2021-10-10 20:30:40 +02:00
Ell
9743c05e1a Cache TokenizedString inner offsets for non-Left text alignments 2021-10-04 23:57:58 +02:00
Ell
abac738123 Removed LINQ Any and All usage in various methods to improve memory usage 2021-07-18 22:18:46 +02:00
Ell
705758090b fixed image tokens drawing themselves too many times for split strings 2021-06-25 16:40:09 +02:00
Ell
14940d39c5 added text alignment options to tokenized strings and paragraphs 2021-06-25 15:23:30 +02:00
Ell
d146e80cf6 updated some outdated dependencies 2021-05-29 18:06:20 +02:00
Ell
3da97fcc83 fixed UnderlineCode being a font code, making it end in the wrong places 2021-05-24 17:12:02 +02:00
Ell
ef45c324f9 fixed a crash with truncated string tokenization 2021-05-20 19:59:37 +02:00
Ell
d385581c25 added formatted string truncation to tokenized strings and ui paragraphs 2021-05-18 16:47:38 +02:00
Ell
e916ddb7a8 allow for underline and shadow codes to be mixed with font codes 2021-05-18 16:19:40 +02:00
Ell
f3b3feec9b updated non-netstandard projects to net5.0 2021-04-22 02:21:36 +02:00
Ell
1759f0ef5b improve performance of TextFormatter tokenization 2021-04-22 01:21:44 +02:00
Ell
455ab59f09 improved performance of TokenizedString splitting massively 2021-04-22 01:14:48 +02:00
Ell
e7ab8fefe8 improved performance of SplitString and re-added Zwsp compatibility 2021-04-14 23:13:19 +02:00
Ell
538fd08d8a improved TokenizedString splitting efficiency 2021-04-14 02:47:41 +02:00
Ell
35af9eee25 fixed some number parsing not using invariant culture 2021-03-28 06:20:27 +02:00
Ell
602f19a2a8 some minor code style and format improvements 2021-03-24 22:44:39 +01:00
Ell
0411add4d1 added a newline macro to the default text formatter 2021-03-09 17:45:49 +01:00
Ell
267cbc8d9c allow image codes to copy the text's color 2020-12-29 12:41:29 +01:00
Ell
106102adf6 clean up unused using statements 2020-12-14 21:51:27 +01:00
Ell
bb596c91ff cleaned up color extensions and move some methods to colorhelper instead 2020-11-04 23:44:41 +01:00
Ell
8b29903444 Replace ImageCode and TextField character ToString usage with ToCachedString for memory performace 2020-09-28 20:43:37 +02:00
Ellpeck
a17301504d added macros to text formatting 2020-07-01 14:30:47 +02:00
Ellpeck
d891e19d2a reduce string allocations when rendering text 2020-06-21 23:23:52 +02:00
Ellpeck
64b9246aa5 clean up GenericFont changes 2020-06-20 12:12:34 +02:00
Ellpeck
73f2e1c565 use measurechar where applicable 2020-06-20 01:20:39 +02:00
Ellpeck
90e0ff55d1 use a custom character for image codes rather than trying to calculate spaces 2020-06-20 01:18:27 +02:00
Ellpeck
deec553b22 code cleanup 2020-06-18 17:24:35 +02:00
Ellpeck
0a8a3c3660 removed some obsolete features 2020-06-12 17:19:19 +02:00
Ellpeck
1d38262388 only use nbsp in image codes if the font supports it 2020-06-04 22:18:53 +02:00
Ellpeck
3d1b660c9f don't use nbsp for image codes 2020-06-03 00:23:04 +02:00
Ellpeck
78049c9cd8 fixed formatting codes at the beginning of strings being ignored 2020-05-30 19:17:18 +02:00
Ellpeck
e9cc9b7d99 document raw content and text formatting 2020-05-21 12:53:42 +02:00
Ellpeck
2461b78f1b made multi-line links be highlighted together 2020-05-19 21:52:29 +02:00
Ellpeck
728e2a53f2 fixed font formatting codes not having priority 2020-05-17 14:26:45 +02:00
Ellpeck
037ed43410 streamline ui text formatting and paragraph links 2020-05-17 00:10:29 +02:00
Ellpeck
fad06f28be modified link codes to use paragraphs' OnPressed 2020-05-16 01:56:00 +02:00
Ellpeck
7f0a8289e3 added link formatting codes! 2020-05-15 22:15:24 +02:00
Ellpeck
9ce01bc6f2 added underlined formatting code 2020-05-15 21:31:37 +02:00
Ellpeck
8229ce8517 maybe actually commit everything! 2020-05-15 19:56:16 +02:00
Ellpeck
fcd898e16b finished the new formatting, finally! 2020-05-15 19:55:59 +02:00
Ellpeck
011f9dd4f1 added old formatting codes to the new system 2020-05-15 14:22:33 +02:00
Ellpeck
d28239291c fixed line splitting with the new formatting 2020-05-15 13:16:03 +02:00
Ellpeck
8398499edd new text formatting, part 1 2020-05-15 00:34:04 +02:00
Ellpeck
f4bec17448 made text formatting codes ignore case 2020-04-06 02:20:57 +02:00
Ellpeck
80f36c78bd a lot of font cleanup 2020-03-28 22:25:06 +01:00
Ellpeck
26264bf576 allow a lot of mem classes to have custom data added to them 2020-03-21 00:49:43 +01:00
Ellpeck
9f43924e47 made the GetOneEmString method more generic 2020-03-21 00:12:09 +01:00
Ellpeck
a3f39f170a added some more information to formatted text 2020-03-20 20:58:15 +01:00