forked from qt-creator/qt-creator
Editor: Renaming Link members.
Change-Id: I1ae21152ee7b8e2a9323322575de23d77c260c72 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
@@ -231,9 +231,9 @@ CMakeEditorWidget::Link CMakeEditorWidget::findLinkAt(const QTextCursor &cursor,
|
||||
else
|
||||
return link;
|
||||
}
|
||||
link.fileName = fileName;
|
||||
link.begin = cursor.position() - positionInBlock + beginPos + 1;
|
||||
link.end = cursor.position() - positionInBlock + endPos;
|
||||
link.targetFileName = fileName;
|
||||
link.linkTextStart = cursor.position() - positionInBlock + beginPos + 1;
|
||||
link.linkTextEnd = cursor.position() - positionInBlock + endPos;
|
||||
}
|
||||
return link;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user