Skip to content

번역

이 페이지를 번역하거나 기존 번역을 개선할 수 있습니다.

기여

STRUCT

Project.Options.TextSettings

Contents

  • Properties
    • usesTabs
    • indentWidth
    • tabWidth
    • wrapsLines
  • Methods
    • textSettings(usesTabs:indentWidth:tabWidth:wrapsLines:)
swift
public struct TextSettings: Codable, Equatable, Sendable

The 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

textSettings(usesTabs:indentWidth:tabWidth:wrapsLines:)

swift
public static func textSettings(
    usesTabs: Bool? = nil,
    indentWidth: UInt? = nil,
    tabWidth: UInt? = nil,
    wrapsLines: Bool? = nil
) -> Self

Released under the MIT License.