Commit 037a9bb5 authored by Thorbjørn Lindeijer's avatar Thorbjørn Lindeijer
Browse files

Set the help id for macros to their name

Enables F1 for opening their help pages. Seems to work nicely.
parent a6c6b2c4
......@@ -235,6 +235,7 @@ void CppHoverHandler::updateHelpIdAndTooltip(TextEditor::ITextEditor *editor, in
foreach (const Document::MacroUse &use, doc->macroUses()) {
if (use.contains(pos)) {
m_toolTip = use.macro().toString();
m_helpId = use.macro().name;
Supports Markdown
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