Builder

constructor(capacity: Int = 16)

Parameters

capacity

Initial capacity for the underlying string builder. Defaults to 16.


constructor(text: String)

Creates a builder initialized with plain text.

Parameters

text

The initial text content.


constructor(text: OudsAnnotatedErrorMessage)

Creates a builder initialized with an existing annotated error message.

Parameters

text

The initial annotated text to copy.


constructor(text: AnnotatedString)

Creates a builder initialized with an existing annotated text.

Parameters

text

The initial annotated text to copy.