diff --git a/src/plugins/genericeditor/editor.cpp b/src/plugins/genericeditor/editor.cpp
index 959ea8dcff9208f6efe69ad0314e80ce71d53350..11862e524a4482d8a6cfdd198095f588009939e1 100644
--- a/src/plugins/genericeditor/editor.cpp
+++ b/src/plugins/genericeditor/editor.cpp
@@ -108,7 +108,7 @@ void Editor::configure()
         m_commentDefinition.setMultiLineStart(definition->multiLineCommentStart());
         m_commentDefinition.setMultiLineEnd(definition->multiLineCommentEnd());
 
-        //@todo: It's possible to specify an indenter style in the definition file. However, this
+        // @todo: It's possible to specify an indenter style in the definition file. However, this
         // is not really being used because Kate recommends to configure indentation through
         // another feature. Maybe we should provide something similar in Creator? For now the
         // normal indenter is used.
@@ -143,5 +143,6 @@ Core::IEditor *EditorEditable::duplicate(QWidget *parent)
 {
     Editor *newEditor = new Editor(parent);
     newEditor->duplicateFrom(editor());
+    GenericEditorPlugin::instance()->initializeEditor(newEditor);
     return newEditor->editableInterface();
 }