Correct indentation colouring, does not yet work for undo