diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2012-11-13 23:19:26 +0200 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2013-02-08 13:04:54 +0100 |
commit | 384b024c2e0569e362f24409f379cfa3ff9923d2 (patch) | |
tree | 845bff8097837ac68a0a377950aeb3ceefa65264 /src/plugins/texteditor/plaintexteditor.cpp | |
parent | 28b9f0f3d688454d9ebbf3bb1bf14eea27f128c2 (diff) | |
download | qt-creator-384b024c2e0569e362f24409f379cfa3ff9923d2.tar.gz |
PlainTextEditor: Use info suppression for syntax highlighting
Remove specific setting for warning suppression and use the global one
Change-Id: I1fe2b749d960283b8414cc5db5a5a7e9f20e7740
Reviewed-by: David Schulz <david.schulz@digia.com>
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 |