Fix for tab key not working when there is a key map set up for it in ImGui.
diff --git a/TextEditor.cpp b/TextEditor.cpp
index 963e754..371f138 100644
--- a/TextEditor.cpp
+++ b/TextEditor.cpp
@@ -513,7 +513,9 @@
 		else if (ctrl && !shift && !alt && ImGui::IsKeyPressed(ImGui::GetKeyIndex(ImGuiKey_A)))

 			SelectAll();

 		else if (!IsReadOnly() && !ctrl && !shift && !alt && ImGui::IsKeyPressed(ImGui::GetKeyIndex(ImGuiKey_Enter)))

-			EnterCharacter('\n', false);

+			EnterCharacter('\n', false);
+		else if (!IsReadOnly() && !ctrl && !alt && ImGui::IsKeyPressed(ImGui::GetKeyIndex(ImGuiKey_Tab)))
+			EnterCharacter('\t', shift);

 		else if (!IsReadOnly() && !ctrl && !alt)

 		{

 			for (size_t i = 0; i < sizeof(io.InputCharacters) / sizeof(io.InputCharacters[0]); i++)