diff options
Diffstat (limited to 'src/plugins/pythoneditor/pythoneditor.cpp')
-rw-r--r-- | src/plugins/pythoneditor/pythoneditor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/pythoneditor/pythoneditor.cpp b/src/plugins/pythoneditor/pythoneditor.cpp index 96be07bc01..103165e283 100644 --- a/src/plugins/pythoneditor/pythoneditor.cpp +++ b/src/plugins/pythoneditor/pythoneditor.cpp @@ -64,7 +64,6 @@ public: { addContext(Constants::C_PYTHONEDITOR_ID); setDuplicateSupported(true); - setCommentStyle(Utils::CommentDefinition::HashStyle); } bool open(QString *errorString, const QString &fileName, const QString &realFileName) @@ -111,6 +110,7 @@ PythonEditorFactory::PythonEditorFactory() setEditorCreator([]() { return new PythonEditor; }); setIndenterCreator([]() { return new PythonIndenter; }); setSyntaxHighlighterCreator([]() { return new PythonHighlighter; }); + setCommentStyle(Utils::CommentDefinition::HashStyle); } } // namespace Internal |