Community
Participate
Working Groups
CompletionRequestorWrapper.acceptError(...) was disabled to work-around a core issue (PR 1GD9RLP: ITPJCORE:WIN2000 - Code assist is slow). The first line: if (true) return; // work-around PR 1GD9RLP: ITPJCORE:WIN2000 - Code assist is slow should be discarded once the associated PR is fixed. =========== /** * See ICompletionRequestor */ public void acceptError(IProblem error) { if (true) return; // work-around PR 1GD9RLP: ITPJCORE:WIN2000 - Code assist is slow try { IMarker marker = ResourcesPlugin.getWorkspace().getRoot ().createMarker(IJavaModelMarker.TRANSIENT_PROBLEM); marker.setAttribute(IJavaModelMarker.ID, error.getID()); marker.setAttribute(IMarker.CHAR_START, error.getSourceStart()); marker.setAttribute(IMarker.CHAR_END, error.getSourceEnd() + 1); marker.setAttribute(IMarker.LINE_NUMBER, error.getSourceLineNumber()); // HACK for now: The final format is not fixed yet. //marker.setAttribute(IMarker.LOCATION, "#" + error.getSourceLineNumber()); marker.setAttribute(IMarker.MESSAGE, error.getMessage()); marker.setAttribute(IMarker.SEVERITY, IMarker.SEVERITY_ERROR); this.clientRequestor.acceptError(marker); } catch(CoreException e){ } } if (true) return; // work-around PR 1GD9RLP: ITPJCORE:WIN2000 - Code assist is slowS NOTES: PM (5/14/2001 3:32:00 PM) Deferred as per EG
PRODUCT VERSION: SDK 0.103+
Closing, no longer needed, since reconciling can report errors using an IProblemRequestor.