diff options
Diffstat (limited to 'src/plugins/texteditor/plaintexteditor.cpp')
-rw-r--r-- | src/plugins/texteditor/plaintexteditor.cpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/plugins/texteditor/plaintexteditor.cpp b/src/plugins/texteditor/plaintexteditor.cpp index 4adb6e8bac..64770e81c0 100644 --- a/src/plugins/texteditor/plaintexteditor.cpp +++ b/src/plugins/texteditor/plaintexteditor.cpp @@ -65,8 +65,7 @@ PlainTextEditor::PlainTextEditor(PlainTextEditorWidget *editor) PlainTextEditorWidget::PlainTextEditorWidget(QWidget *parent) : BaseTextEditorWidget(parent), - m_isMissingSyntaxDefinition(false), - m_ignoreMissingSyntaxDefinition(false) + m_isMissingSyntaxDefinition(false) { setRevisionsVisible(true); setMarksVisible(true); @@ -196,11 +195,6 @@ bool PlainTextEditorWidget::isMissingSyntaxDefinition() const return m_isMissingSyntaxDefinition; } -bool PlainTextEditorWidget::ignoreMissingSyntaxDefinition() const -{ - return m_ignoreMissingSyntaxDefinition; -} - QString PlainTextEditorWidget::findDefinitionId(const Core::MimeType &mimeType, bool considerParents) const { @@ -224,9 +218,4 @@ void PlainTextEditorWidget::acceptMissingSyntaxDefinitionInfo() Constants::TEXT_EDITOR_HIGHLIGHTER_SETTINGS); } -void PlainTextEditorWidget::ignoreMissingSyntaxDefinitionInfo() -{ - m_ignoreMissingSyntaxDefinition = true; -} - } // namespace TextEditor |