indentationProperty
fun indentationProperty(withTabsProperty: ObservableBoolean, columnsProperty: ObservableInt, behaveLikeTabsProperty: ObservableBoolean): ObservableIndentation
Creates an ObservableIndentation based on 3 properties.
if (withTabs) {
Indentation.tabIndentation(columns)
} else {
Indentation.spacesIndentation(columns, behaveLikeTabs)
}
Content copied to clipboard
fun indentationProperty(usingTabsProperty: ObservableBoolean, columnsProperty: ObservableInt, behaveLikeTabs: Boolean = false): ObservableIndentation
Creates an ObservableIndentation based on 2 properties.
if (withTabs) {
Indentation.tabIndentation(columns)
} else {
Indentation.spacesIndentation(columns, behaveLikeTabs=false)
}
Content copied to clipboard