Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 318364 - [syntax coloring] 'Parameter variables' syntax coloring does not work with objects
Summary: [syntax coloring] 'Parameter variables' syntax coloring does not work with ob...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PHP UI CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-29 14:26 EDT by Joshua Ross CLA
Modified: 2020-05-14 11:39 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua Ross CLA 2010-06-29 14:26:47 EDT
The 'Parameter variables' syntax coloring does not work if the parameter is an object.  Specifically, when the object is accessing a property.  Here is an example.


function foo($someObject) 
{
    $someVariable = $someObject->bar;
}

'$someObject' does not have the correct syntax coloring inside the method in this example.
Comment 1 Zhongwei Zhao CLA 2010-07-05 08:40:36 EDT
fixed in head and branch
Comment 2 Gadi Goldbarg CLA 2010-08-26 10:16:21 EDT
[Petyo Tanchev]

Tested on 2.2.1 SR1
Fixed