Skip to content

Add set_ignorecase to ListState and TextBoxState - #200

Merged
ulyssa merged 3 commits into
ulyssa:mainfrom
codegax:ignorecase-search
Jul 26, 2026
Merged

Add set_ignorecase to ListState and TextBoxState#200
ulyssa merged 3 commits into
ulyssa:mainfrom
codegax:ignorecase-search

Conversation

@codegax

@codegax codegax commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

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
Contributor 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 😄

@ulyssa ulyssa changed the title Add set_ignorecase to ListState Add set_ignorecase to ListState and TextBoxState Jul 26, 2026
@ulyssa
ulyssa merged commit 44b94ce into ulyssa:main Jul 26, 2026
3 checks passed
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.

3 participants