enum DecorationUnderline
Swift
enum DecorationUnderline
Underline drawn beneath a decorated range. wavy is built from short
zigzag segments — there is no dedicated curve primitive, and a handful of
line() calls per decorated span is cheap enough not to need one.
Sources/LavaUI/EditorView.swift:93
Cases
case none
No underline; the gutter icon and colour still show.
Sources/LavaUI/EditorView.swift:95
case straight
A straight line under the range.
Sources/LavaUI/EditorView.swift:97
case wavy
A zigzag line under the range, as spell checkers and compilers draw.
Sources/LavaUI/EditorView.swift:99