if(getEditorInput() instanceof IFileEditorInput){
try {
ResourcesPlugin.getWorkspace().run(new IWorkspaceRunnable() {
public void run(IProgressMonitor monitor) throws CoreException {
try {
IFileEditorInput input = (IFileEditorInput)getEditorInput();
HTMLProjectParams params = new HTMLProjectParams(input.getFile().getProject());
if(params.getRemoveMarkers()){
input.getFile().deleteMarkers(IMarker.PROBLEM,false,0);
}
} catch(Exception ex){
}
}
}, null);