1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-06 17:26:01 +02:00

Fix for PR 81007

This commit is contained in:
Alain Magloire 2004-12-14 22:29:22 +00:00
parent b5b9cb7f7d
commit ed57ae9e44

View file

@ -54,6 +54,7 @@ public class MakefileTextHover implements ITextHover {
if (fEditor != null && len > -1) {
IWorkingCopyManager fManager = MakeUIPlugin.getDefault().getWorkingCopyManager();
IMakefile makefile = fManager.getWorkingCopy(fEditor.getEditorInput());
if (makefile != null) {
WordPartDetector wordPart = new WordPartDetector(textViewer, offset);
String name = wordPart.toString();
IMacroDefinition[] statements = null;
@ -80,6 +81,7 @@ public class MakefileTextHover implements ITextHover {
}
return buffer.toString();
}
}
} catch (BadLocationException e) {
}
}