Commit 6182841c authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Eike Ziller

CppEditor: Remove unused function

Change-Id: I4ebcf66d39192cd099d7cdc6ec27e74837975ed3
Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent b7c66462
......@@ -1705,25 +1705,6 @@ QModelIndex CPPEditorWidget::indexForPosition(int line, int column,
return lastIndex;
}
QVector<TextEditor::TextStyle> CPPEditorWidget::highlighterFormatCategories()
{
static QVector<TextEditor::TextStyle> categories;
if (categories.isEmpty()) {
categories << TextEditor::C_NUMBER
<< TextEditor::C_STRING
<< TextEditor::C_TYPE
<< TextEditor::C_KEYWORD
<< TextEditor::C_OPERATOR
<< TextEditor::C_PREPROCESSOR
<< TextEditor::C_LABEL
<< TextEditor::C_COMMENT
<< TextEditor::C_DOXYGEN_COMMENT
<< TextEditor::C_DOXYGEN_TAG
<< TextEditor::C_VISUAL_WHITESPACE;
}
return categories;
}
TextEditor::IAssistInterface *CPPEditorWidget::createAssistInterface(
TextEditor::AssistKind kind,
TextEditor::AssistReason reason) const
......
......@@ -134,8 +134,6 @@ public:
static Link linkToSymbol(CPlusPlus::Symbol *symbol);
static QString identifierUnderCursor(QTextCursor *macroCursor);
static QVector<TextEditor::TextStyle> highlighterFormatCategories();
virtual TextEditor::IAssistInterface *createAssistInterface(TextEditor::AssistKind kind,
TextEditor::AssistReason reason) const;
......
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