Made formatting buttons work when rewriteBox is selected
IncreaseIndent and DecreaseIndent need to be adapted to work with
rewriteBox