Merge pull request #95 from Melix19/fix_tab_paste_cursor

Fix cursor when pasting text with tabs
diff --git a/TextEditor.cpp b/TextEditor.cpp
index 1e02a70..94b749b 100644
--- a/TextEditor.cpp
+++ b/TextEditor.cpp
@@ -297,7 +297,7 @@
 			auto d = UTF8CharLength(*aValue);
 			while (d-- > 0 && *aValue != '\0')
 				line.insert(line.begin() + cindex++, Glyph(*aValue++, PaletteIndex::Default));
-			++aWhere.mColumn;
+			aWhere.mColumn = GetCharacterColumn(aWhere.mLine, cindex);
 		}
 
 		mTextChanged = true;