implement indent and reformat commands