increaseSelectionIndent allowed a custom maxIndent to be passed in, but decreaseSelectionIndent did not. This made it possible that in toggleSelectionIndent it would not decrease the indent if it was greater than 6 since it was only checking the default maxIndent value.
Adding support for larger maxIndent values was achieved by passing in a value to override the default.
increaseSelectionIndent
allowed a custommaxIndent
to be passed in, butdecreaseSelectionIndent
did not. This made it possible that intoggleSelectionIndent
it would not decrease the indent if it was greater than 6 since it was only checking the defaultmaxIndent
value.Adding support for larger
maxIndent
values was achieved by passing in a value to override the default.