summaryrefslogtreecommitdiff
path: root/src/plugins/pythoneditor/pythoneditorwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/pythoneditor/pythoneditorwidget.cpp')
-rw-r--r--src/plugins/pythoneditor/pythoneditorwidget.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/plugins/pythoneditor/pythoneditorwidget.cpp b/src/plugins/pythoneditor/pythoneditorwidget.cpp
index fc69254e9e..3968aff797 100644
--- a/src/plugins/pythoneditor/pythoneditorwidget.cpp
+++ b/src/plugins/pythoneditor/pythoneditorwidget.cpp
@@ -64,10 +64,6 @@ EditorWidget::EditorWidget(EditorWidget *other)
void EditorWidget::ctor()
{
- m_commentDefinition.multiLineStart.clear();
- m_commentDefinition.multiLineEnd.clear();
- m_commentDefinition.singleLine = QLatin1Char('#');
-
setParenthesesMatchingEnabled(true);
setMarksVisible(true);
setCodeFoldingSupported(true);
@@ -75,18 +71,6 @@ void EditorWidget::ctor()
new PythonHighlighter(baseTextDocument());
}
-EditorWidget::~EditorWidget()
-{
-}
-
-/**
- Comments or uncomments selection using Python commenting syntax
- */
-void EditorWidget::unCommentSelection()
-{
- Utils::unCommentSelection(this, m_commentDefinition);
-}
-
TextEditor::BaseTextEditor *EditorWidget::createEditor()
{
return new PythonEditor(this);