forked from qt-creator/qt-creator
TextEditor: Remove some *Widget::createEditor implementation
This removes the ones that were not to be used anymore. The fallback in the base class is left in for now. Change-Id: I5e7ab16497a83eff9b11deb9e1feb390757eac0e Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
@@ -57,7 +57,7 @@ namespace Internal {
|
||||
// PythonEditor
|
||||
//
|
||||
|
||||
class PythonEditor : public TextEditor::BaseTextEditor
|
||||
class PythonEditor : public BaseTextEditor
|
||||
{
|
||||
public:
|
||||
PythonEditor()
|
||||
@@ -80,7 +80,7 @@ public:
|
||||
// PythonEditorWidget
|
||||
//
|
||||
|
||||
class PythonEditorWidget : public TextEditor::BaseTextEditorWidget
|
||||
class PythonEditorWidget : public BaseTextEditorWidget
|
||||
{
|
||||
public:
|
||||
PythonEditorWidget()
|
||||
@@ -89,11 +89,6 @@ public:
|
||||
setMarksVisible(true);
|
||||
setCodeFoldingSupported(true);
|
||||
}
|
||||
|
||||
TextEditor::BaseTextEditor *createEditor()
|
||||
{
|
||||
QTC_ASSERT("should not happen anymore" && false, return 0);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user