aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cppeditor/cppfunctiondecldeflink.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/cppeditor/cppfunctiondecldeflink.h')
-rw-r--r--src/plugins/cppeditor/cppfunctiondecldeflink.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/cppeditor/cppfunctiondecldeflink.h b/src/plugins/cppeditor/cppfunctiondecldeflink.h
index a75e71f3ef..d27833bced 100644
--- a/src/plugins/cppeditor/cppfunctiondecldeflink.h
+++ b/src/plugins/cppeditor/cppfunctiondecldeflink.h
@@ -89,10 +89,12 @@ public:
void apply(CPPEditorWidget *editor, bool jumpToMatch);
void hideMarker(CPPEditorWidget *editor);
void showMarker(CPPEditorWidget *editor);
- Utils::ChangeSet changes(const CPlusPlus::Snapshot &snapshot);
+ Utils::ChangeSet changes(const CPlusPlus::Snapshot &snapshot, int targetOffset = -1);
QTextCursor linkSelection;
- int targetOffset;
+ // 1-based line and column
+ unsigned targetLine;
+ unsigned targetColumn;
QString targetInitial;
CPlusPlus::Document::Ptr sourceDocument;