Project: JDT
Bug 150149 [quick assist] Surround with template "flickers"
Reported: 2006-07-10 10:54:06 | Status: resolved fixed

I20060704-0800 Given: package test; public class E { public void foo() { int i = 10; final int j = 10; System.out.println(i); System.out.println(j); int k = 10; k++; System.out.println(k); System.out.println(i); System.out.println(j); } } 1. Select System.out.println(i); System.out.println(j); int k = 10; k++; System.out.println(k); 2. Alt-Shift-Z 3. Surround with runnable Is: The editor "flickers", meaning you can see how lines are added/removed Should: Not flicker

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/template/contentassist/SurroundWithTemplateProposal.java