| Summary: | searchText from KTextEditor::SearchInterface doesn't search correctly for some regexps(possible large ones) | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | Cosmin Mihai <yonutix.mc> |
| Component: | search | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | CC: | Darren.Lissimore, justin.zobel, loh.tar, shentey, yonutix.mc |
| Priority: | NOR | Keywords: | testcase |
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | mini plugin for SearchInterface bug | ||
|
Description
Cosmin Mihai
2012-02-18 23:08:01 UTC
Created attachment 68914 [details]
mini plugin for SearchInterface bug
This actually still appears to be happening in Kate 17.08.1
Is regex searching within a range disabled for some reason?
Test procedure:
a) Open html file - with lots of <div> tags .
b) Open Find bar - switch to power-search/replace
c) Set Mode to "Regular expression"
d) Enter '[ \t]{0,}(</div>)' in Find box
e) Select a range of the html file - lines X to X+y
( ensuring multiple </div> tags are in the selected range)
f) Ensure - "search in selection only" is on;
g) Press enter to find first occurrence - of the tag (should succeed)
h) Press enter again - should advance to next tag ( Does not succeed)
Removing the "search in selection only" - and the "find next" "find previous" work well.
With the "search in selection only" - it finds the first occurrence then no more.
Problem may be in KateSearchBar::find() - and it's checks on regex mode and selection with multi-line matching
Is that still an issue or solved? Seems to work here. Frameworks 5.55.0 Cosmin as mentioned in Comment 3 can you please confirm if this is still an issue for you. Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! |