[Geany-Users] addons: color chooser opens not only on real color hex strings

Lex Trotman elextr at xxxxx
Thu Mar 3 00:23:14 UTC 2022

On Thu, 3 Mar 2022 at 03:54, Nikita Zlobin <nick87720z at 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.


> 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 at lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/users

More information about the Users mailing list