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