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

Bug 356531

Summary: Format in EGL Editor moves all lines to column 1
Product: z_Archived Reporter: broy2
Component: EDTAssignee: Yun Feng Ma <mayunf>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: chenzhh
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Before
none
After
none
Patch lasher: iplog+

Description broy2 CLA 2011-09-01 17:13:06 EDT
Build Identifier: 20110901 nightly build

Format the following in the EGL Editor.
All lines are moved to column 1.
Screen shots attached.

program exception type BasicProgram {}	
	myInt int = 3;
	my2DimensionInt  INT[][] = [[1,2],[3,4]];
	myString string;	
	function main()
		myString = myInt;
		myString = my2DimensionInt[2,2];
		sysLib.writeStdout(myString);
	end	
end

Reproducible: Always
Comment 1 broy2 CLA 2011-09-01 17:13:23 EDT
Created attachment 202641 [details]
Before
Comment 2 broy2 CLA 2011-09-01 17:13:41 EDT
Created attachment 202642 [details]
After
Comment 3 Xiao Bin Chen CLA 2011-09-07 22:34:38 EDT
Hi, this is because the ast change please see the link.  https://bugs.eclipse.org/bugs/show_bug.cgi?id=356638 
It will be ok after this item was fix.
Comment 4 Yun Feng Ma CLA 2011-09-14 21:51:35 EDT
Created attachment 203374 [details]
Patch

Here is a patch, please review it. Thanks.
Comment 5 Yun Feng Ma CLA 2011-09-15 09:31:55 EDT
Resolved. Thanks.
Comment 6 broy2 CLA 2011-09-20 12:25:29 EDT
Verified in 20110920 build.