Castellano (Spanish)
Appearance
Castellano (Spanish)
Appearance
STRUCT
Project.Options.TextSettings
Contents
usesTabs
indentWidth
tabWidth
wrapsLines
textSettings(usesTabs:indentWidth:tabWidth:wrapsLines:)
public struct TextSettings: Codable, Equatable, Sendable
The text settings options
usesTabs
public var usesTabs: Bool?
Whether tabs should be used instead of spaces
indentWidth
public var indentWidth: UInt?
The width of space indent
tabWidth
public var tabWidth: UInt?
The width of tab indent
wrapsLines
public var wrapsLines: Bool?
Whether lines should be wrapped or not
textSettings(usesTabs:indentWidth:tabWidth:wrapsLines:)
public static func textSettings(
usesTabs: Bool? = nil,
indentWidth: UInt? = nil,
tabWidth: UInt? = nil,
wrapsLines: Bool? = nil
) -> Self