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)
}

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)
}