13 Commits

Author SHA1 Message Date
Gordon Williams
84ac439f9a new wrapstring test 2025-09-19 08:42:55 +01:00
Gordon Williams
a5f01e3df3 Graphics.wrapString fix issue with missing final char if immediately after a '.' or other char we can split after (fix #2572)
# Conflicts:
#	ChangeLog
2024-12-06 08:51:51 +00:00
Gordon Williams
5e5e9f716a Graphics: Fix wrapString when attempting to wrap text containing an image that's too large for the wrappable area (fix #2481) 2024-04-02 09:19:27 +01:00
Gordon Williams
41e3995061 g.wrapString fix issues wrapping long words in UTF8 strings over multiple lines
fix https://github.com/espruino/BangleApps/issues/3037
2024-02-20 12:19:38 +00:00
Gordon Williams
372d4afa4a Fix g.wrapString lockup if wrap width is less than the character width 2024-01-31 14:40:22 +00:00
Gordon Williams
7f739d7546 Fix issue with g.wrapString when running on flash-based strings 2024-01-30 10:05:55 +00:00
Gordon Williams
dd4691cda7 Extra wrapString tests 2023-11-16 14:45:24 +00:00
Gordon Williams
aa64b17d4f Much improved UTF8 support
* if we're not given a valid UTF8 code sequence then we don't lex the string as UTF8 (more compatible with old code)
* If we got non-ASCII chars and *then* a proper UTF8 code, convert all previous chars
* String.join/split fixed for UTF8
2023-06-16 16:24:28 +01:00
Gordon Williams
7895d34b2d update test - now fails 2022-05-11 15:54:23 +01:00
Gordon Williams
f82ed15749 Fix g.wrapString if string ends with a bitmap
g.wrapString now splits long words if they are too long for a line
2022-02-10 10:56:16 +00:00
Gordon Williams
2002ab6519 fixing tests that weren't quite right 2021-11-03 09:27:57 +00:00
Gordon Williams
8581ba2097 fix wrapString issue 2021-10-18 11:55:21 +01:00
Gordon Williams
9264a22f63 adding tests 2021-10-07 10:47:36 +01:00