Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 347191

Summary: Correct Indentation handles line continuations incorrectly
Product: [Tools] PTP Reporter: Jeffrey Overbey <com-eclipse-dot-org>
Component: Photran.For Internal UseAssignee: Jeffrey Overbey <com-eclipse-dot-org>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P2    
Version: 7.0   
Target Milestone: 8.0   
Hardware: All   
OS: All   
Whiteboard:

Description Jeffrey Overbey CLA 2011-05-25 12:49:46 EDT
(Photran 7 RC 2) Enter the following program:

program program
print *, 1, &
  & 2
print *, 3  !<<<<<<<<Select only this line
end

Select only the indicated line, and run Source > Correct Indentation.  The result is

program program
print *, 1, &
  & 2
  & print *, 3
end
Comment 1 Jeffrey Overbey CLA 2012-05-08 13:39:49 EDT
Committed and pushed to master for 8.0/Juno