A small RichText component class annotated with a RichTextPanel attribute that matches words like "hit", "hitting", "hits", or "hit's". It specifies an empty Icon and a light gray Color for matched text.
[RichTextPanel( @"\b[Hh]it(ting|s|'s)?\b" )]
public class RichTextHit : RichTextBase
{
public override string Icon => "";
public override Color Color => new Color( 0.9f, 0.9f, 0.9f );
}