Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315003 - Semantic Highlighting lost, when I defined my own Syntax Coloring for Parameter variables
Summary: Semantic Highlighting lost, when I defined my own Syntax Coloring for Paramet...
Status: CLOSED DUPLICATE of bug 302038
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: PHP Core CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 302038
  Show dependency tree
 
Reported: 2010-05-30 08:52 EDT by Silver Zachara CLA
Modified: 2020-05-14 11:16 EDT (History)
2 users (show)

See Also:


Attachments
Changes in Preferences (96.22 KB, image/png)
2010-05-30 08:55 EDT, Silver Zachara CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Silver Zachara CLA 2010-05-30 08:52:09 EDT
Hi,

the other thing how to reproduce this bug is define your own style for [b]Syntax Coloring[b].

I have tried this and Semantic Highlighting lost during editing the file:
Preferences - Editor - Syntax Coloring: Syntax Element - Parameter variables - Enable, Underline and change color.
Comment 1 Silver Zachara CLA 2010-05-30 08:55:37 EDT
Created attachment 170472 [details]
Changes in Preferences
Comment 2 Zhongwei Zhao CLA 2010-05-30 09:16:06 EDT
Hi sNop

Can you attach your file that make Semantic Highlighting lost?

   public function __get($sName,$dd)
   {
   }
works fine

and 
   public function __get($sName,$dd,)
   {
   }
make $sName,$dd lost there Semantic Highlighting,but other Semantic Highlighting is ok.

Is this the same as your case?
Comment 3 Silver Zachara CLA 2010-06-01 09:10:21 EDT
(In reply to comment #2)
> Hi sNop
> 
> Can you attach your file that make Semantic Highlighting lost?
> 

I don't have a file, but when I worked with one of my projects and I defined my own Syntax Coloring for Parameter Variables ( as is described above ), so Semantic Highlighting lost.

> public function __get($sName,$dd)
> {
> }
> works fine
> 
> and
> public function __get($sName,$dd,)
> {
> }
> make $sName,$dd lost there Semantic Highlighting,but other Semantic Highlighting
> is ok.
> 
> Is this the same as your case?

No, but it's other case when Semantic Highlighting lost.

I don't know whether to define my own Syntax Coloring for Parameter Variables to 100% relate with Semantic Highlighting lost.

When I will have time I attach video, how to reproduce this bug.
Comment 4 Zhongwei Zhao CLA 2010-06-01 09:16:07 EDT
Thanks,if you attach the video this week,maybe we will fix this bug in pdt2.2 release.Because I do not know how to reproduce the bug,I have tried a long time:(
Comment 5 Silver Zachara CLA 2010-06-01 09:40:07 EDT
(In reply to comment #4)
> Thanks,if you attach the video this week,maybe we will fix this bug in pdt2.2
> release.Because I do not know how to reproduce the bug,I have tried a long
> time:(

For that reason PDT QA and testers should take care about this issue and try reproduce every possible problem.

Pls look at bug 302038 at comment 14
Comment 6 Roy Ganor CLA 2010-06-17 08:39:05 EDT
duplicate

*** This bug has been marked as a duplicate of bug 302038 ***