Make "replace string" case sensitive

Bug #1042751 reported by Jose Luis Navarro
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Scratch
Confirmed
Wishlist
elementary UX

Bug Description

I miss this functionality from others text editors

(Two weeks using scratch)

Tags: ux
Changed in scratch:
status: New → Confirmed
importance: Undecided → Wishlist
Revision history for this message
Andrea Basso (voluntatefaber) wrote :

This actually concerns the search functionality, the replace-thing is just a consequence.
While usually smart-case is good enough, in this case, especially for devs, a "Match Case" check-box could be better. Or even an option to decide whether have the smart-case feature or the check-box. The UX-team should decide.

Changed in scratch:
assignee: nobody → elementary UX Team (elementary-design)
Revision history for this message
Jacob Parker (jacobparker1992) wrote :

I suggest we have 'replace', 'advanced' as buttons in find. Advanced is a popup that has toggles and a replace all.

Revision history for this message
Danielle Foré (danrabbit) wrote :

I would strongly prefer not to add more options to the code base. Is there something that smart case isn't covering?

Changed in scratch:
status: Confirmed → Incomplete
Revision history for this message
Fabian Thoma (fabianthoma) wrote :

@Daniel: Yes, as described in this Bug report Smart Case does not cover the event that you want to replace "this" but not "This" as an example. "this" in the search box will match both cases and because of that will replace both occurences. The suggestion is to add a button to make the search functionaility case sensitive, but keep the smart case search as a default.

Changed in scratch:
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.