Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356015 - EGL Code formatter preview - lines not wrapping / source is invalid
Summary: EGL Code formatter preview - lines not wrapping / source is invalid
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Xiao Bin Chen CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-28 01:32 EDT by Will Smythe CLA
Modified: 2017-02-23 14:17 EST (History)
3 users (show)

See Also:


Attachments
Patch for formatter preview (2.22 KB, patch)
2011-08-29 02:50 EDT, Xiao Bin Chen CLA
lasher: iplog+
Details | Diff
Delete all no support part and statement (2.22 KB, patch)
2011-08-29 07:56 EDT, Xiao Bin Chen CLA
lasher: iplog+
Details | Diff

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