Commit 07e807ee authored by Eike Ziller's avatar Eike Ziller

QmlJSEditor: Remove unused method.

Change-Id: I5441317ab8e8ef285099828c57fb008efd757ed9
Reviewed-by: default avatarFawzi Mohamed <fawzi.mohamed@digia.com>
parent 58b717fb
......@@ -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
......
......@@ -109,8 +109,6 @@ public:
QModelIndex outlineModelIndex();
static QVector<TextEditor::TextStyle> highlighterFormatCategories();
TextEditor::IAssistInterface *createAssistInterface(TextEditor::AssistKind assistKind,
TextEditor::AssistReason reason) const;
public slots:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment