Do not indent/unindent if selection end is not at different line

Also, do not indent/unindent the last line of selection if no character is selected in the last selected line

Based on TortoiseSVN revision 24391

This makes it similar to Visual Studio / Notepad++

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>