Skip to content
Snippets Groups Projects
Commit 30c357b2 authored by Thorbjørn Lindeijer's avatar Thorbjørn Lindeijer
Browse files

Removed unused method from CPPEditor

parent 8d774b19
No related branches found
No related tags found
No related merge requests found
...@@ -1073,20 +1073,6 @@ void CPPEditor::unCommentSelection() ...@@ -1073,20 +1073,6 @@ void CPPEditor::unCommentSelection()
cursor.endEditBlock(); cursor.endEditBlock();
} }
int CPPEditor::endOfNameAtPosition(int pos)
{
if (pos == -1)
pos = position();
QChar chr = characterAt(pos);
// Skip to the start of a name
while (chr.isLetterOrNumber() || chr == QLatin1Char('_'))
chr = characterAt(++pos);
return pos;
}
CPPEditor::Link CPPEditor::linkToSymbol(CPlusPlus::Symbol *symbol) CPPEditor::Link CPPEditor::linkToSymbol(CPlusPlus::Symbol *symbol)
{ {
const QString fileName = QString::fromUtf8(symbol->fileName(), const QString fileName = QString::fromUtf8(symbol->fileName(),
......
...@@ -127,8 +127,6 @@ private: ...@@ -127,8 +127,6 @@ private:
void createToolBar(CPPEditorEditable *editable); void createToolBar(CPPEditorEditable *editable);
int endOfNameAtPosition(int pos);
struct Link struct Link
{ {
Link(const QString &fileName = QString(), Link(const QString &fileName = QString(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment