Initializer
init(text:sourceRange:)
Creates a line of text from source code.
init(text: String, sourceRange: ConvertRequest.SourceRange? = nil)
Parameters
textThe strings contents of a line. Do not include newline characters.
sourceRangeThe line’s range in a document if available.