ui/richtext/bases/RichTextSuffixS.cs

A small RichText markup class that defines a suffix rule for an 's' word boundary. It decorates the class with a RichTextPanel attribute supplying a regex, and sets MarginLeft to 0.0. It inherits from RichTextBase and appears to be used by the UI rich text system to render a trailing 's' without left margin.

[RichTextPanel( @"(?<=[\d\]])s\b" )]
public class RichTextSuffixS : RichTextBase
{
	public override float? MarginLeft => 0f;
}