A range of the text drawn with a background: search results, diagnostics, matching brackets.
marks := Text_Mark.[.{ start = 4, end = 9, color = rgb(255, 220, 0, 90) }];
options := Editor_Options.{ marks = marks };This one is only checked to compile, not run.
Fields
- start: int
- byte offsets in the whole text
- end: int
- color: Color
- underline: bool
- a wavy-style underline instead of a background