Project: JDT
Bug 205177 [clean up] 'Only format changed regions' off by one at line end
Reported: 2007-10-02 08:54:58 | Status: resolved fixed

HEAD as of 20071002_1138 public class A { int a= 1; int b= 2; int c= 3; int d= 4; } - append '//' to line that declares b => c is also formatted. Expected: only line b formatted

Files changed in fix:
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/SaveParticipantTest.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/EditorUtility.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/LineComparator.java