summaryrefslogtreecommitdiffstats
path: root/src/fortrancode.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/fortrancode.l')
-rw-r--r--src/fortrancode.l5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fortrancode.l b/src/fortrancode.l
index 4ad6144..80fc333 100644
--- a/src/fortrancode.l
+++ b/src/fortrancode.l
@@ -1142,6 +1142,7 @@ void parseFortranCode(CodeOutputInterface &od,const char *className,const QCStri
(void)className;
if (s.isEmpty()) return;
+ TooltipManager::instance()->clearTooltips();
g_code = &od;
g_inputString = s;
g_inputPosition = 0;
@@ -1189,6 +1190,10 @@ void parseFortranCode(CodeOutputInterface &od,const char *className,const QCStri
endFontClass();
g_code->endCodeLine();
}
+ if (fd)
+ {
+ TooltipManager::instance()->writeTooltips(*g_code);
+ }
if (exBlock && g_sourceFileDef)
{
// delete the temporary file definition used for this example