Bug 442523 - Internal classes/functions are not styled when namespace is used in file
Summary: Internal classes/functions are not styled when namespace is used in file
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: PHP UI CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-25 14:33 EDT by Michal Niewrzal CLA
Modified: 2020-05-14 11:53 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Niewrzal CLA 2014-08-25 14:33:13 EDT
To reproduce:
* enable syntax styling for 'Internal classes' and 'Internal functions'
* Paste code to php file:
<?php
namespace Test;

phpinfo ();
new \LogicException ( $message, $code, $previous );

Removing 'namespace' fix situation and elements are styled correctly.
Comment 1 Michal Niewrzal CLA 2014-08-25 14:55:39 EDT
Simple patch: https://git.eclipse.org/r/#/c/32265/
Comment 3 Sylvia Tancheva CLA 2015-05-22 07:22:07 EDT
Verified. Closing