Bug 417116 - Provide a case insensitive option in "Search and replace in files"
Summary: Provide a case insensitive option in "Search and replace in files"
Status: RESOLVED FIXED
Alias: None
Product: lokalize
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Simon Depiets
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-03 19:17 UTC by Luiz Fernando Ranghetti
Modified: 2022-06-23 22:41 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luiz Fernando Ranghetti 2020-02-03 19:17:43 UTC
Hi,

I made a search in the "search and replace in files" with the folowing:

Source: backtrace
Target: estouro

The problem is that the search only find this exact case sensitive match, it doesn't find the other possibilities like Backtrace/estouro, Backtrace/Estouro, backtrace/estouros, and so on.

If I do a search using Ctrl+F inside a file and search for "estouro", I get the other possibilities like Estouro or estouros (the plural form).

Is there a way to implement this? In the same tab for "mass replace" we have at least the option to use or not case sensitive

Regards,

Luiz
Comment 1 Albert Astals Cid 2022-06-23 22:41:29 UTC
Git commit 91fee00b9f69957d8042e67d1506aef995689fac by Albert Astals Cid, on behalf of Kisaragi Hiu.
Committed on 23/06/2022 at 22:41.
Pushed by aacid into branch 'master'.

file search: Add option to search case-insensitively

Currently the file search tab only searches case-sensitively. This commit adds a "Match case" option to search and replace.

Default: Match case = off (case-insensitive search)

M  +74   -56   src/filesearch/filesearchoptions.ui
M  +4    -0    src/filesearch/filesearchtab.cpp

https://invent.kde.org/sdk/lokalize/commit/91fee00b9f69957d8042e67d1506aef995689fac