diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-04-23 13:27:57 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-04-23 13:27:57 +1000 |
commit | dd677772382c3f63a5f2d331c6227e135e01db3c (patch) | |
tree | 90c9f3728c64438c5127d1b9699430eaf004c903 /source/core/StarText.hpp | |
parent | c24fc5aeaf0e94bc6148c6d1bfd7a5643affc808 (diff) |
Fix text after an unclosed ^ tag not wrapping
Diffstat (limited to 'source/core/StarText.hpp')
-rw-r--r-- | source/core/StarText.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/core/StarText.hpp b/source/core/StarText.hpp index ff6880c..15158ce 100644 --- a/source/core/StarText.hpp +++ b/source/core/StarText.hpp @@ -30,6 +30,8 @@ namespace Text { unsigned char const EndEsc = ';'; unsigned char const CmdEsc = '^'; unsigned char const SpecialCharLimit = ' '; + extern std::string const AllEsc; + extern std::string const AllEscEnd; String stripEscapeCodes(String const& s); inline bool isEscapeCode(Utf32Type c) { return c == CmdEsc || c == StartEsc; } |