| Summary: | unexpected area in editor was highlighted in case of double click on constant in PHP project outline view | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Kalin <kalin.a> | ||||||
| Component: | PDT | Assignee: | PHP UI <php.ui-inbox> | ||||||
| Status: | REOPENED --- | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | gadi, zhaozhongwei | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
Created attachment 176893 [details]
screenshot
could not reproduce this bug in latest pdt code. [Petyo Tanchev] Reproduced on PDT Core Plug-in 2.2.1v20100823-1000 PDT UI Plug-in 2.2.1v20100822-1700 Created attachment 179704 [details]
patch
|
Build Identifier: 2.2.0.v20100621 Precondition: PHP project outline view is not opened in PHP Perspective. Have the following code in php file: <?php class A { public function example() { } const test = "free string"; } class B extends A { public function example() { } } Open PHP Project outline view. Go to Constants node and double click on test Expected: the constant test only should be highlighted in editor. Actual: Unexpectedly big area of code was highlighted. See the attached screenshot. Reproducible: Always