Skip to content

Support search in Variables window #215

Closed

Description

@RealRaven2000

It is still hard to find relevant information in the variables window, partly because of the length of information. Expanding all chapters of the accordion and trying to parse all text with the eyes is not really feasible. The tab should get it's own search functionality, similar to the in page search in a web browser.

Complications: build in search methods don't look into collapsed elements.

Activity

  1. RealRaven2000 commented on Oct 21, 2022

    @RealRaven2000
    OwnerAuthor

    Here is a first prototype. it adds a fixed search box on the top right of the variables pane:

    image

    To initiate a search, enter the search term, then hit Enter. If a match is found the text is highlighted - if the matching text is within a collapsed chapter, or on a heading of one, the chapter will be expanded.
    To search again push the F3 key. This will continue the search from the previous position. In order to highlight the search result focus is in the main window, so pushing Enter doesn't currently work for repeated searches (it closes the dialog).

    image

    smartTemplate-fx-3.14pre52.zip

    The search applies to the complete text content (headings and chapters) and thus is fully localized to the current language:
    image

    Nice to have: wraparound at the top, scrolling to current chapter, initiate search using F3

    test version:
    smartTemplate-fx-3.14pre52.zip

    To install: download zip file and drop into Tb Add-ons Manager (without extracting contents)

  2. RealRaven2000 commented on Oct 21, 2022

    @RealRaven2000
    OwnerAuthor

    Fixed a problem with a variable definition:

    smartTemplate-fx-3.14pre54.zip

    To install: download zip file and drop into Tb Add-ons Manager (without extracting contents)

  3. RealRaven2000 commented on Oct 22, 2022

    @RealRaven2000
    OwnerAuthor

    Added help panel - clicking the blue question mark will show a panel with brief instructions (already localized):

    image

    Also improved search positioning.

    smartTemplate-fx-3.14pre67.zip

    To install: download zip file and drop into Tb Add-ons Manager (without extracting contents)

  4. added a commit that references this issue on Oct 22, 2022
  5. RealRaven2000 commented on Oct 26, 2022

    @RealRaven2000
    OwnerAuthor

    Implemented in 3.14 released today

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

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions