forked from qt-creator/qt-creator
Removed unused method from CPPEditor
This commit is contained in:
@@ -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(),
|
||||
|
Reference in New Issue
Block a user