Re: [PATCH 2/4] git-gui: add smart case search mode in searchbar

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 17, 2011 at 00:32, Andrew Ardill <andrew.ardill@xxxxxxxxx> wrote:
> I don't really know tcl so I'm not certain, but it looks like you
> never reset the case sensitive flag once it has been set by entering
> an upper case letter. If I accidentally enter an upper case letter and
> have set smartcase true, I would expect that deleting that character
> would turn case sensitivity off again.
>

I never reset it, because your case is a way to search case-sensitive
for an expression in all lower-case. For example, if you would like to
search for 'git' case-sensitively, you would type: 'gitA^H'. A direct
shortcut to toggle the case flag could also be of use. The other idea
which come to mind, is to reset the case flag, if you clear the input
field. I.e. type 'G^Hgit' would still seach case-insensitive.

Bert

> Regards,
>
> Andrew Ardill
>
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]