Commit 30c357b2 authored by Thorbjørn Lindeijer's avatar Thorbjørn Lindeijer
Browse files

Removed unused method from CPPEditor

parent 8d774b19
......@@ -1073,20 +1073,6 @@ void CPPEditor::unCommentSelection()
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)
{
const QString fileName = QString::fromUtf8(symbol->fileName(),
......
......@@ -127,8 +127,6 @@ private:
void createToolBar(CPPEditorEditable *editable);
int endOfNameAtPosition(int pos);
struct Link
{
Link(const QString &fileName = QString(),
......
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