Skip to content

ProjectManager: Fix Search: when searching globally - if selected, use text #143

Merged
diegoiast merged 2 commits into
codepointerapp:mainfrom
nandhishtr:141-global-search-text-select
Dec 9, 2025
Merged

ProjectManager: Fix Search: when searching globally - if selected, use text #143
diegoiast merged 2 commits into
codepointerapp:mainfrom
nandhishtr:141-global-search-text-select

Conversation

@nandhishtr

Copy link
Copy Markdown
Contributor

When user presses "control+shift+f" to find selected text in the whole project,

  • Solution: Fetch the selected text from the current editor, set it as the search pattern when the key combination action is triggered

  • Introduced a getter function in qmdieditor class, as there was no direct access to selected text from Project Manger, or an existing function.

Closes #141

@diegoiast diegoiast left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, needs a small touch up!

Comment thread src/plugins/ProjectManager/ProjectManagerPlg.cpp Outdated
@nandhishtr nandhishtr closed this Dec 9, 2025
@nandhishtr nandhishtr reopened this Dec 9, 2025
@sonarqubecloud

sonarqubecloud Bot commented Dec 9, 2025

Copy link
Copy Markdown

@diegoiast
diegoiast merged commit 3e55d1c into codepointerapp:main Dec 9, 2025
11 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.

Search: when searching globally - if selected, use text

2 participants