Moved commands from TextEditorCommand to the FactoryCommandMap class