I discovered, that double click opens color chooser not only for hex color strings, but for any strings, which have 3 valid hex digits in the end. For example, it will open for variable name, ending with "head".
My version is 1.38.0, but it's gentoo package, not manually compiled. However, I checked ebuild - it uses no additional patches.
Can it be still confirmed for upstream?
On Thu, 3 Mar 2022 at 03:54, Nikita Zlobin nick87720z@gmail.com wrote:
I discovered, that double click opens color chooser not only for hex color strings, but for any strings, which have 3 valid hex digits in the end. For example, it will open for variable name, ending with "head".
Correct, the open color chooser on double click functionality just looks for 3 or 6 hex digits at the position of the double click, "ead" being 3 valid hex digits :-)
Allowing the hex value in any context allows colour values with prefixes of # or 0X 0x, or in strings, or other places to be accepted.
Cheers Lex
My version is 1.38.0, but it's gentoo package, not manually compiled. However, I checked ebuild - it uses no additional patches.
Can it be still confirmed for upstream? _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
On Wed, Mar 2, 2022 at 7:23 PM Lex Trotman elextr@gmail.com wrote:
Allowing the hex value in any context allows colour values with prefixes of # or 0X 0x, or in strings, or other places to be accepted.
This feels weird and sloppy, though. I think most users would rather not have the color chooser open up in those "other places". Especially if they were trying to activate something else, such as Mark Word.
John Y.