Skip to content
Snippets Groups Projects
Commit 1ce3eb38 authored by Leandro Melo's avatar Leandro Melo
Browse files

Initialize editor in duplicate.

parent efd0774b
No related branches found
No related tags found
No related merge requests found
......@@ -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();
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment