matoom/frostbite

Highlight regex groups

Opened this issue · 1 comments

First off, just want to say I love this client. This runs so smooth, and I just have to say thank you for your work here.

That said, running into a weird issue with highlighting regex groups not respecting the colors. I can get it to highlight the group properly, but it's not respecting my color settings and defaulting to some purple. I can get mixed results depending on tweaking the regex, but it's not working as expected.

I'l have "kertig (cowbell)" as the highlight text with the highlight regex groups option ticked. I've set the color to red. HJowever, it always uses some default color regardless of the option I set.

Yep, this was definitely a bug, that only manifested in group highlights and went unnoticed for a couple of years it seems. There was a conflict in variable assignments and whatever color came first in the list of all the entries was wrongly used.

I pushed a new release that should fix this error (currently win binaries only):