From befadfb701e822468645e5b5bcb0f130f4937404 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 10 Jul 2025 14:44:33 -0400 Subject: Add text compression optimizations for unicode text --- src/environment.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/environment.c') diff --git a/src/environment.c b/src/environment.c index eb2d28be..0dbe015d 100644 --- a/src/environment.c +++ b/src/environment.c @@ -355,9 +355,11 @@ env_t *global_env(bool source_mapping) {"from_text", "Path$from_text", "func(text:Text -> Path)"}, {"has", "Text$has", "func(text:Text, target:Text -> Bool)"}, {"join", "Text$join", "func(glue:Text, pieces:[Text] -> Text)"}, + {"layout", "Text$layout", "func(text:Text -> Text)"}, {"left_pad", "Text$left_pad", "func(text:Text, count:Int, pad=' ', language='C' -> Text)"}, {"lines", "Text$lines", "func(text:Text -> [Text])"}, {"lower", "Text$lower", "func(text:Text, language='C' -> Text)"}, + {"memory_size", "Text$memory_size", "func(text:Text -> Int)"}, {"middle_pad", "Text$middle_pad", "func(text:Text, count:Int, pad=' ', language='C' -> Text)"}, {"quoted", "Text$quoted", "func(text:Text, color=no, quotation_mark='\"' -> Text)"}, {"repeat", "Text$repeat", "func(text:Text, count:Int -> Text)"}, -- cgit v1.2.3