Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 317703 - [Syntax Coloring] Restore Default button for the Syntax Elements does not work
Summary: [Syntax Coloring] Restore Default button for the Syntax Elements does not work
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PHP UI CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-23 10:06 EDT by Sylvia Tancheva CLA
Modified: 2020-05-14 11:30 EDT (History)
1 user (show)

See Also:


Attachments
screen-shot (23.03 KB, image/png)
2010-06-23 10:06 EDT, Sylvia Tancheva CLA
no flags Details

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