forked from qt-creator/qt-creator
CppEditor: Remove unused function
Change-Id: I4ebcf66d39192cd099d7cdc6ec27e74837975ed3 Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
committed by
Eike Ziller
parent
b7c664627e
commit
6182841c13
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user