From b6e6f2d2feb79830a0ca58f61c96d4fbb8af59c2 Mon Sep 17 00:00:00 2001 From: myk002 Date: Sat, 3 Jul 2021 16:47:49 -0700 Subject: [PATCH] update changelog --- docs/changelog.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/changelog.txt b/docs/changelog.txt index 28181b2dd..560486106 100644 --- a/docs/changelog.txt +++ b/docs/changelog.txt @@ -54,6 +54,7 @@ changelog.txt uses a syntax similar to RST, with a few special sequences: ## Lua - new string utility function: ``string:wrap(width)`` wraps a string at space-separated word boundaries - new string utility function: ``string:trim()`` removes whitespace characters from the beginning and end of the string +- new string utility function: ``string:split(delimiter, plain)`` splits a string with the given delimiter and returns a table of substrings. if ``plain`` is specified and set to ``true``, ``delimiter`` is interpreted as a literal string instead of as a pattern (the default) - new library: ``argparse`` is a collection of commandline argument processing functions - ``gui.Painter``: fixed error when calling ``viewport()`` method - ``gui.dwarfmode``: new function: ``enterSidebarMode(sidebar_mode, max_esc)`` which uses keypresses to get into the specified sidebar mode from whatever the current screen is