From dd677772382c3f63a5f2d331c6227e135e01db3c Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Tue, 23 Apr 2024 13:27:57 +1000 Subject: Fix text after an unclosed ^ tag not wrapping --- source/core/StarText.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/core/StarText.hpp') 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; } -- cgit v1.2.3