Fix bug with unindent

a fake selection was applied and it sometimes caused some visual glitches. I found a better way which does not require the fake selection anymore