fixed behaviour where caret would move even when the un-indentation did not do anything, now before modifying caret position check wether the file changed