Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356531 - Format in EGL Editor moves all lines to column 1
Summary: Format in EGL Editor moves all lines to column 1
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Yun Feng Ma CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-01 17:13 EDT by broy2 CLA
Modified: 2017-02-23 14:17 EST (History)
1 user (show)

See Also:


Attachments
Before (19.87 KB, image/png)
2011-09-01 17:13 EDT, broy2 CLA
no flags Details
After (19.78 KB, image/png)
2011-09-01 17:13 EDT, broy2 CLA
no flags Details
Patch (2.60 KB, patch)
2011-09-14 21:51 EDT, Yun Feng Ma CLA
lasher: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.