mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 09:46:02 +02:00
fix for bug#106064
patch from Anton Leherbauer
This commit is contained in:
parent
bdebf10e1a
commit
d4ee99391a
1 changed files with 4 additions and 1 deletions
|
@ -62,8 +62,11 @@ public class MakefileDocumentProvider extends TextFileDocumentProvider implement
|
|||
/**
|
||||
*/
|
||||
private IMakefile createMakefile(IFile file) {
|
||||
if (file.exists()) {
|
||||
return MakeCorePlugin.getDefault().createMakefile(file);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.ui.editors.text.TextFileDocumentProvider#createAnnotationModel(org.eclipse.core.resources.IFile)
|
||||
|
|
Loading…
Add table
Reference in a new issue