Skip to content
Commit 3ff6e15e authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

Fix search for unsaved files



Search for unsaved files doesn't work because we don't have QUrl's for
them. Instead use KTextEditor::Document pointer for such files.

Included is a small fix that I noticed while working on this. If you try
to replace checked after searching, the file that you have opened doesn't
get highlights as it should.

Possible further improvements:
- Ask main window for the "tab title" of the doc so that we can use
  that in the search tree view. Otherwise its kind of really ambigous

BUG: 434287
Signed-off-by: default avatarWaqar Ahmed <waqar.17a@gmail.com>
parent 596f85c8
Pipeline #121674 passed with stage
in 3 minutes and 12 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment