Bug 561005 - PHP Editor not always capable with search scope "Resource in active editor"
Summary: PHP Editor not always capable with search scope "Resource in active editor"
Status: VERIFIED 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: 2020-03-11 00:15 EDT by Jonh Doe CLA
Modified: 2020-05-14 10:16 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 Jonh Doe CLA 2020-03-11 00:15:33 EDT
In some files I see weird behavior for option "Resource in active editor" for Ctrl+H - it is not work as in bug #553112

But it is dependent on cursor position.

I open simple php file with next content:

```
<?php
    $a    = 4;
```

1. If I place cursor before " $a" then Ctrl+H not show scope "Resource in active editor" only "Selected resources".
Same if I place cursor after "4;".

2. If I place cursor in range "$a    = 4" then Ctrl+H work properly and show "Resource in active editor".

In general bug depends from file content in non obvious way.

I use Eclipse IDE for PHP Developers

Version: 2019-09 R (4.13.0)
Build id: 20190917-1200

With PDT 7.1.0.202002212050
Comment 1 Eclipse Genie CLA 2020-03-15 08:29:25 EDT
New Gerrit change created: https://git.eclipse.org/r/159382