Commit 170cf87c authored by Nikolai Kosjar's avatar Nikolai Kosjar
Browse files

CppEditor: Underline text for a virtual function call link

...when using the mouse (Ctrl + Hover).

Task-number: QTCREATORBUG-10480

Change-Id: Ifac5cf7859e724da910a2f7b2fcecd901eca5e13
Reviewed-by: default avatarErik Verbruggen <>
parent 0c62b29f
......@@ -568,7 +568,11 @@ BaseTextEditorWidget::Link FollowSymbolUnderCursor::findLink(const QTextCursor &
return Link();
// Ensure a valid link text, so the symbol name will be underlined on Ctrl+Hover.
Link link;
link.linkTextStart = beginOfToken;
link.linkTextEnd = endOfToken;
return link;
if (resolveTarget) {
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