Skip to content

Commit d4b6d3b

Browse files
committed
Revert "Improve 'Replace All' performance."
This reverts commit c9b34e4 as it introduces regression in some cases. Fixes #2962
1 parent 70a35a9 commit d4b6d3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bundles/org.eclipse.jface.text/projection/org/eclipse/jface/text/source/projection/ProjectionAnnotationModel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ protected boolean expandAll(int offset, int length, boolean fireModelChanged) {
153153

154154
boolean expanding= false;
155155

156-
Iterator<Annotation> iterator= getAnnotationIterator(offset, length, true, true);
156+
Iterator<Annotation> iterator= getAnnotationIterator();
157157
while (iterator.hasNext()) {
158158
ProjectionAnnotation annotation= (ProjectionAnnotation) iterator.next();
159159
if (annotation.isCollapsed()) {

0 commit comments

Comments
 (0)