Skip to content

Add set_ignorecase to ListState#200

Open
codegax wants to merge 2 commits into
ulyssa:mainfrom
codegax:ignorecase-search
Open

Add set_ignorecase to ListState#200
codegax wants to merge 2 commits into
ulyssa:mainfrom
codegax:ignorecase-search

Conversation

@codegax

@codegax codegax commented Jul 1, 2026

Copy link
Copy Markdown

Adds a set_ignorecase setter to ListState so consumers can make regex searches case-insensitive. Defaults to off, so existing behavior is unchanged.

Motivated by ulyssa/iamb#628, where the list-search case folding is currently worked around per item.

@VAWVAW

VAWVAW commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Thinking about it, I believe it makes sense to also add this to TextBoxState (and maybe store the value in EditBuffer).

@codegax

codegax commented Jul 2, 2026

Copy link
Copy Markdown
Author

Haha sure, à la carte today. Added set_ignorecase to TextBoxState as well, with the flag stored on EditBuffer like you suggested. All in the name of finding my chats quicker 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants