diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/qmljseditor/qmljseditor.cpp | 24 | ||||
-rw-r--r-- | src/plugins/qmljseditor/qmljseditor.h | 2 |
2 files changed, 0 insertions, 26 deletions
diff --git a/src/plugins/qmljseditor/qmljseditor.cpp b/src/plugins/qmljseditor/qmljseditor.cpp index 0dcd0f93a5..91b59d24da 100644 --- a/src/plugins/qmljseditor/qmljseditor.cpp +++ b/src/plugins/qmljseditor/qmljseditor.cpp @@ -888,30 +888,6 @@ bool QmlJSTextEditorWidget::hideContextPane() return b; } -QVector<TextEditor::TextStyle> QmlJSTextEditorWidget::highlighterFormatCategories() -{ - /* - NumberFormat, - StringFormat, - TypeFormat, - KeywordFormat, - LabelFormat, - CommentFormat, - VisualWhitespace, - */ - static QVector<TextEditor::TextStyle> categories; - if (categories.isEmpty()) { - categories << TextEditor::C_NUMBER - << TextEditor::C_STRING - << TextEditor::C_TYPE - << TextEditor::C_KEYWORD - << TextEditor::C_FIELD - << TextEditor::C_COMMENT - << TextEditor::C_VISUAL_WHITESPACE; - } - return categories; -} - TextEditor::IAssistInterface *QmlJSTextEditorWidget::createAssistInterface( TextEditor::AssistKind assistKind, TextEditor::AssistReason reason) const diff --git a/src/plugins/qmljseditor/qmljseditor.h b/src/plugins/qmljseditor/qmljseditor.h index e93d564094..cb18257db7 100644 --- a/src/plugins/qmljseditor/qmljseditor.h +++ b/src/plugins/qmljseditor/qmljseditor.h @@ -109,8 +109,6 @@ public: QModelIndex outlineModelIndex(); - static QVector<TextEditor::TextStyle> highlighterFormatCategories(); - TextEditor::IAssistInterface *createAssistInterface(TextEditor::AssistKind assistKind, TextEditor::AssistReason reason) const; public slots: |