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

Bug 356015

Summary: EGL Code formatter preview - lines not wrapping / source is invalid
Product: z_Archived Reporter: Will Smythe <smythew>
Component: EDTAssignee: Xiao Bin Chen <xiaobinc>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P3 CC: chenzhh, mheitz, tdramsey
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Patch for formatter preview
lasher: iplog+
Delete all no support part and statement lasher: iplog+

Description Will Smythe CLA 2011-08-28 01:32:35 EDT
Go to Window > Preferences > EGL > Editor > Formatter. Notice how the Preview is showing the sample EGL source completely on one line:

package eglPackage;     import a.b;     DataItem di char(10) {} end

(this did not happen in RBD)

Also, "DataItem" is no longer valid, so should not be used in this sample. 

I would also confirm the sample code previewed when editing a "format profile" is still accurate (i.e. is not using invalid statements or keywords).
Comment 1 Xiao Bin Chen CLA 2011-08-29 02:50:00 EDT
Created attachment 202296 [details]
Patch for formatter preview

Hi tony, please review and check in code.
Comment 2 Xiao Bin Chen CLA 2011-08-29 07:56:32 EDT
Created attachment 202310 [details]
Delete all no support part and statement
Comment 3 Xiao Bin Chen CLA 2011-08-29 08:00:20 EDT
Hi tony, Please apply the second patch.

In the second patch, much change was made

mainly include

Delete any statement include:
DataItem(change to record)
char
form
formgroup
jsfhandler
datatable
sqlrecord
i/o statmenet(add,delete,execute,get,etc)
openUI statment
PSBRecord
Comment 4 Lisa Lasher CLA 2011-11-09 14:13:20 EST
This high severity defect was fixed several weeks ago, so I am closing.