|
170b397e02
|
Cleaned up GenericFont and TokenizedString by improving the splitting and truncating algorithms
|
2022-12-07 13:35:57 +01:00 |
|
|
f0b65daf68
|
fixed GetSelfWidth receiving the default and custom font inconsistently
|
2022-12-06 17:49:38 +01:00 |
|
|
066ed9f8f7
|
fixed some issues with the new code width system
|
2022-12-06 17:10:04 +01:00 |
|
|
b374d50815
|
Allow formatting codes to have an arbitrary custom width
|
2022-12-06 16:49:19 +01:00 |
|
|
d5e5d1d536
|
moved the new ConvertCachedUtf32 to CodePointSource
|
2022-10-23 21:23:16 +02:00 |
|
|
be7676d37e
|
fixed unnecessary memory allocations since 8d689952cc
|
2022-10-22 11:46:11 +02:00 |
|
|
8d689952cc
|
Made GenericFont and TokenizedString support UTF-32 characters like emoji
|
2022-10-15 13:48:45 +02:00 |
|
|
023233a062
|
Fixed some TokenizedString tokens starting with a line break not being split correctly
|
2022-09-02 14:07:23 +02:00 |
|
|
0fe4c940d7
|
Fixed TokenizedString handling trailing spaces incorrectly in the last line of non-left aligned text
|
2022-09-02 13:58:12 +02:00 |
|
|
32dad847a0
|
adAdded TokenizedString.Realign
|
2022-09-02 13:42:21 +02:00 |
|
|
aabb1ed5df
|
added .editorconfig
|
2022-06-17 18:23:47 +02:00 |
|
|
59af00c89a
|
Code cleanup, and marked AStar.InfiniteCost as obsolete
|
2022-06-15 11:38:11 +02:00 |
|
|
c360c90f28
|
Fixed Code.Draw receiving the index in the current line rather than the current token
Closes #3
|
2022-02-14 00:24:31 +01:00 |
|
|
856d69b7db
|
Fixed a formatting Code only knowing about the last Token that it is applied in
Closes #3
|
2022-02-13 22:43:51 +01:00 |
|
|
f5adf50823
|
Added StringBuilder overloads to GenericFont
|
2021-12-22 13:00:41 +01:00 |
|
|
252d06888f
|
consistently use the default font's line height
|
2021-11-28 11:30:57 +01:00 |
|
|
a11a63c067
|
some GenericFont code style improvements
|
2021-11-28 00:28:17 +01:00 |
|
|
f445aba45c
|
improved Token memory allocations
|
2021-11-27 23:35:37 +01:00 |
|
|
53b93a34f8
|
Made TextFormatter string size based on the currently active font and added a formatting code to allow for inline font changes
|
2021-11-27 22:45:37 +01:00 |
|
|
84a6e5a29a
|
Fixed some end-of-line inconsistencies when using the Right text alignment
|
2021-11-22 18:52:52 +01:00 |
|
|
11dd939009
|
Added a multiline editing mode to TextField
|
2021-10-12 02:16:09 +02:00 |
|
|
9743c05e1a
|
Cache TokenizedString inner offsets for non-Left text alignments
|
2021-10-04 23:57:58 +02:00 |
|
|
abac738123
|
Removed LINQ Any and All usage in various methods to improve memory usage
|
2021-07-18 22:18:46 +02:00 |
|
|
705758090b
|
fixed image tokens drawing themselves too many times for split strings
|
2021-06-25 16:40:09 +02:00 |
|
|
14940d39c5
|
added text alignment options to tokenized strings and paragraphs
|
2021-06-25 15:23:30 +02:00 |
|
|
d146e80cf6
|
updated some outdated dependencies
|
2021-05-29 18:06:20 +02:00 |
|
|
ef45c324f9
|
fixed a crash with truncated string tokenization
|
2021-05-20 19:59:37 +02:00 |
|
|
d385581c25
|
added formatted string truncation to tokenized strings and ui paragraphs
|
2021-05-18 16:47:38 +02:00 |
|
|
f3b3feec9b
|
updated non-netstandard projects to net5.0
|
2021-04-22 02:21:36 +02:00 |
|
|
455ab59f09
|
improved performance of TokenizedString splitting massively
|
2021-04-22 01:14:48 +02:00 |
|
|
e7ab8fefe8
|
improved performance of SplitString and re-added Zwsp compatibility
|
2021-04-14 23:13:19 +02:00 |
|
|
538fd08d8a
|
improved TokenizedString splitting efficiency
|
2021-04-14 02:47:41 +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
|
deec553b22
|
code cleanup
|
2020-06-18 17:24:35 +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
|
037ed43410
|
streamline ui text formatting and paragraph links
|
2020-05-17 00:10:29 +02:00 |
|
Ellpeck
|
7f0a8289e3
|
added link formatting codes!
|
2020-05-15 22:15:24 +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 |
|