From 6da219eb23e7e0501b0de8d8cd44afe37e44016a Mon Sep 17 00:00:00 2001 From: Ryan Williams Date: Mon, 6 Jul 2026 01:10:00 -0700 Subject: [PATCH] Update Lua API.rst * Fix backslash not appearing for "\n" * Advise gui/control-panel for FILTER_FULL_TEXT --- docs/dev/Lua API.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/dev/Lua API.rst b/docs/dev/Lua API.rst index 0fbcb41971..d4e9575305 100644 --- a/docs/dev/Lua API.rst +++ b/docs/dev/Lua API.rst @@ -5757,7 +5757,7 @@ TextArea Functions: * ``textarea:getText()`` Returns the current text content of the ``TextArea`` widget as a string. - "\n" characters (``string.char(10)``) should be interpreted as new lines + ``\n`` characters (``string.char(10)``) should be interpreted as new lines * ``textarea:setText(text)`` @@ -6526,7 +6526,8 @@ Filter behavior: By default, the filter matches substrings that start at the beginning of a word (or after any punctuation). You can instead configure filters to match any -substring across the full text with a command like:: +substring across the full text by setting ``FILTER_FULL_TEXT`` in `gui/control-panel` +or set it for the session by running a command like:: :lua require('utils').FILTER_FULL_TEXT=true