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

Bug 317703

Summary: [Syntax Coloring] Restore Default button for the Syntax Elements does not work
Product: z_Archived Reporter: Sylvia Tancheva <silviya>
Component: PDTAssignee: PHP UI <php.ui-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: gadi
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
screen-shot none

Description Sylvia Tancheva CLA 2010-06-23 10:06:04 EDT
Created attachment 172508 [details]
screen-shot

1. Go to Syntax Coloring preferences
2. Choose Syntax Element - for example Functions
3. Select 'Enable', change colour, tick some check-boxes
Expected: Restore Default button in the options area is enabled
Actual: It is disabled
Note: Don't confuse with the global Restore Defaults button on the same page(see screen-shot)

Workaround: Use the global Restore Defaults button at the bottom of the page but it will restore all changes and not only to this element.


It seems to be valid for elements which have the 'Enable' deselected by default.
Check "Variables" - it worked OK there ('Enable' selected by default)
Comment 1 Zhongwei Zhao CLA 2010-06-24 08:32:25 EDT
What is the rule of Restore Defaults button?Should it enable all the time?
Comment 2 Zhongwei Zhao CLA 2010-06-24 09:54:12 EDT
fixed in head.Now Restore Defaults button is enabled all the time.
Comment 3 Gadi Goldbarg CLA 2010-08-23 10:03:10 EDT
Verified fixed.
Kalin Yanev
kalin.a@zend.com