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

Bug 317780

Summary: [Syntax Coloring] Some elements from the Sample text jump to non-relevant Syntax Elements in the preferences
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, zhaozhongwei, zulus
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
See Also: https://git.eclipse.org/r/48795
https://git.eclipse.org/c/pdt/org.eclipse.pdt.git/commit/?id=adccdf95ede588b847ee6680ec007b03fba637e2
Whiteboard:

Description Sylvia Tancheva CLA 2010-06-24 03:41:23 EDT
1. Open Syntax Coloring preferences
2. In the Sample text click on the function foo
Expected: In the Syntax Elements list 'Function' is selected
Actual: 'Normal' is selected
3. In the Sample text click on TODO
Expected: In the Syntax Elements list 'Task Tag' is selected
Actual: 'PHPDoc' is selected 

Probably for that reason when you make some changes to 'Functions' or 'Task Tags' they are not reflected in the preview (sample text).
Comment 1 Zhongwei Zhao CLA 2010-06-28 01:38:35 EDT
fixed in head
Comment 2 Gadi Goldbarg CLA 2010-08-19 11:13:29 EDT
Verified fixed.
Kalin Yanev
kalin.a@zend.com
Comment 3 Sylvia Tancheva CLA 2010-08-20 10:22:41 EDT
Still relevant for TODO  (point 3) in the new Sample
Reopening
Comment 4 Sylvia Tancheva CLA 2015-05-19 09:25:55 EDT
Also $my_static jumps to Fields instead of Static fields
Comment 5 Eclipse Genie CLA 2015-05-27 11:36:26 EDT
New Gerrit change created: https://git.eclipse.org/r/48795
Comment 7 Dawid Pakula CLA 2015-05-27 14:10:32 EDT
.
Comment 8 Sylvia Tancheva CLA 2015-06-01 08:08:59 EDT
Verified. Closing