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

Bug 336392

Summary: Syntax coloring restore default only restore current element
Product: [Modeling] TMF Reporter: Samantha Chan <chanskw>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: clay, mark.g.j.christiaens, sebastian.zarnekow, sven.efftinge
Version: 1.0.1Flags: sven.efftinge: indigo+
Target Milestone: M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
proposed patch none

Description Samantha Chan CLA 2011-02-04 14:46:30 EST
In syntax coloring page, modify syntax coloring for several element types. Click Ok.

Go back in and click Restore Defaults button, only the selected element has its default restored. 

This is not consistent with other syntax coloring preference page, like JDT.  In JDT, restore default will restore default for all elements.
Comment 1 Michael Clay CLA 2011-04-05 13:08:00 EDT
Created attachment 192579 [details]
proposed patch

pls also check against any pde api tooling warnings/errors
Comment 2 Sven Efftinge CLA 2011-04-05 14:43:30 EDT
Do you use PDE tooling already?
The patch looks good (if it fixes the problem ;-))
Please apply and push.
Comment 3 Sebastian Zarnekow CLA 2011-04-11 11:41:23 EDT
Michael, do you have the time to apply and push the attached patch?
Comment 4 Michael Clay CLA 2011-04-11 13:41:49 EDT
pushed to master
Comment 5 Karsten Thoms CLA 2017-09-19 17:50:36 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 6 Karsten Thoms CLA 2017-09-19 18:01:27 EDT
Closing all bugs that were set to RESOLVED before Neon.0