Commit Graph

6 Commits

Author SHA1 Message Date
vitopigno
6a1c1f3f50 Remove user-excluding highlights from emotes while keeping (L)OOC support
User-excluding highlights now get highlighted either when they're:
1. Present between double quotes;
2. Starting with LOOC/OOC
2. Having a newline before it.

This is due to CC, and Station announcements always having a newline before the actual message.
2025-06-22 00:56:20 +02:00
vitopigno
ddefcbe147 Merge branch 'master' into fix_highlight 2025-06-12 17:20:50 +02:00
Tayrtahn
70ce570fe9 Cleanup chat highlighting code (#38235)
* Cache regexes

* Convert static LocManager to resolved

* Use Any instead of Count > 0

* Use var instead of explicit types

* Make _highlights readonly
2025-06-11 22:09:05 -07:00
vitopigno
c42ee5ee6f Improve color picker example and minor code comments changes 2025-06-10 00:23:51 +02:00
vitopigno
881cf66e4e Correct grammar and modify user-excluding highlight 2025-06-08 02:25:21 +02:00
vitopigno
f8d0b0cba3 Add text highlighting (#31442)
Co-authored-by: ScarKy0 <106310278+ScarKy0@users.noreply.github.com>
Co-authored-by: Hans Larsson <hanandlia@gmail.com>
Co-authored-by: Tobias Berger <toby@tobot.dev>
2025-06-04 12:12:37 +02:00