Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Smart case sensitive searching #249

Open
DerpMcDerp opened this issue Mar 22, 2016 · 1 comment
Open

Feature: Smart case sensitive searching #249

DerpMcDerp opened this issue Mar 22, 2016 · 1 comment
Labels

Comments

@DerpMcDerp
Copy link

Here is how the "smart case sensitive searching" option should work:

  1. If there is at least 1 uppercase character in the search field, the search should be treated as case sensitive. Otherwise the search is treated as case insensitive.
  2. When the ctrl+f is pushed and there is a text selection, the edit field should be tolowered such that there are 2 strings in the edit field's undo history - the current lowercased one and the previous original cased one. If the user desires to use the original casing, they can just push ctrl+z to undo. This is only done if the selection contains at least 1 uppercase character.
  3. When pasting and case insensitive searching is active, the pasted text should be tolowered such that there are 2 strings in the edit field's undo history - the current lowercased paste and the previous original cased one. If the user desires to use the original casing, they can just push ctrl+z to undo. This is only done if the pasted text contains at least 1 uppercase character.
  4. The "Match case" button should indicate whether or not case sensitivity is active determined by the text in the edit field. Pushing the "match case" button lowercases the text in the edit field. The empty field is treated as case insensitive (so pasting defaults to case insensitive).
@Quicksaver
Copy link
Owner

Don't hold your breadth for any of this. Something as complex as this actually brings very little benefit, in only a few very specific use-cases. This will be very low in the priorities list, after pretty much every other thing to be done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants