twinejs icon indicating copy to clipboard operation
twinejs copied to clipboard

Add "Search" to the top bar

Open VincentValensky opened this issue 2 years ago • 3 comments

Is your feature request related to a problem? Please describe.

Twine 2.4 is missing the "Search" bar that was present in 2.3. This bar is very useful because it allows to quickly highlight passages and find things, for example places that contain a specific variable. I used this feature very heavily to aid navigation in a large project.

While the "Search and replace" can be used in such a manner, it takes up valuable screen space and is clunky in case the author only needs the highlight function of the search

Describe the solution you'd like.

Add a "Search..." field in the "Story" tab of the top bar, so that typing in a term there would automatically highlight passages that contain it.

Describe alternatives you've considered.

An alternative solution would be to make it so "Find and replace" is minimized to a simple "Find:" field, instead of closing completely.

Additional context on this suggestion.

No response

Presubmission checklist

  • [ ] I am interested in working on code that would implement this feature request. (This is not required to submit a suggestion.)
  • [X] I have done a search and believe that an issue does not already exist for this idea in the GitHub repository.
  • [X] I have read and agree to abide by this project's Code of Conduct.

VincentValensky avatar Jul 07 '22 13:07 VincentValensky

I'd second this suggestion. I used the find bar to highlight passages frequently, such as searching for the placeholder text to find passages I haven't yet written content for

hituro avatar Jul 07 '22 14:07 hituro

I would like this adding too. The "Quick Find" in 2.3 was very useful to highlight passages containing specific words. However, should it be called "Find" instead of "Search"?

drball avatar Sep 01 '22 09:09 drball

I've noticed that "Find and Replace" (under "Story") acts like the old "Quick Search". Typing in the first field (the "Find" field) will highlight passages. But it's not entirely obvious that's what's happening, and I was too scared to use it initially because I thought it'd be too easy to accidentally replace things :-D

hhrichards avatar Sep 09 '22 15:09 hhrichards