Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions docs/dev/Lua API.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)``

Expand Down Expand Up @@ -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::

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider cross-referencing utils.search_text here?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what to put. Feel free to commit whatever.

I wanted to bring it in line with DEFAULT_INITIAL_PAUSE about it being for the session.


:lua require('utils').FILTER_FULL_TEXT=true

Expand Down
Loading