Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[gui/control-panel] adjust to new location of full text search var #856

Merged
merged 1 commit into from
Oct 8, 2023
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
6 changes: 4 additions & 2 deletions gui/control-panel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,10 @@ local PREFERENCES = {
desc='The delay before scrolling quickly when holding the mouse button down on a scrollbar, in ms.'},
SCROLL_DELAY_MS={label='Mouse scroll repeat delay (ms)', type='int', default=20, min=5,
desc='The delay between events when holding the mouse button down on a scrollbar, in ms.'},
FILTER_FULL_TEXT={label='DFHack list filters search full text', type='bool', default=false,
desc='Whether to search for a match in the full text (true) or just at the start of words (false).'},
},
['utils']={
FILTER_FULL_TEXT={label='DFHack searches full text', type='bool', default=false,
desc='When searching, choose whether to match anywhere in the text (true) or just at the start of words (false).'},
},
}
local CPP_PREFERENCES = {
Expand Down