View | Details | Raw Unified | Return to bug 201306
Collapse All | Expand All

(-)src/org/eclipse/pde/internal/core/builders/XMLErrorReporter.java (-3 / +4 lines)
Lines 20-25 Link Here
20
20
21
import org.eclipse.core.filebuffers.FileBuffers;
21
import org.eclipse.core.filebuffers.FileBuffers;
22
import org.eclipse.core.filebuffers.ITextFileBufferManager;
22
import org.eclipse.core.filebuffers.ITextFileBufferManager;
23
import org.eclipse.core.filebuffers.LocationKind;
23
import org.eclipse.core.resources.IFile;
24
import org.eclipse.core.resources.IFile;
24
import org.eclipse.core.resources.IMarker;
25
import org.eclipse.core.resources.IMarker;
25
import org.eclipse.core.resources.IProject;
26
import org.eclipse.core.resources.IProject;
Lines 91-99 Link Here
91
		try {
92
		try {
92
			fFile = file;
93
			fFile = file;
93
			fProject = file.getProject();
94
			fProject = file.getProject();
94
			manager.connect(file.getFullPath(), null);
95
			manager.connect(file.getFullPath(), LocationKind.NORMALIZE, null);
95
			fTextDocument = manager.getTextFileBuffer(file.getFullPath()).getDocument();
96
			fTextDocument = manager.getTextFileBuffer(file.getFullPath(), LocationKind.NORMALIZE).getDocument();
96
			manager.disconnect(file.getFullPath(), null);			
97
			manager.disconnect(file.getFullPath(), LocationKind.NORMALIZE, null);			
97
			fFindReplaceAdapter = new FindReplaceDocumentAdapter(fTextDocument);
98
			fFindReplaceAdapter = new FindReplaceDocumentAdapter(fTextDocument);
98
			fOffsetTable = new HashMap();
99
			fOffsetTable = new HashMap();
99
			fElementStack = new Stack();
100
			fElementStack = new Stack();

Return to bug 201306