Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 317569 - open type/ open method - bad functionality
Summary: open type/ open method - bad functionality
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: PHP UI CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-22 08:48 EDT by Kalin CLA
Modified: 2020-05-14 11:07 EDT (History)
2 users (show)

See Also:


Attachments
screenshot (119.68 KB, image/jpeg)
2010-06-22 08:49 EDT, Kalin CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kalin CLA 2010-06-22 08:48:23 EDT
Build Identifier: PDT 2.2.0.v20100621

Have php code with classes/methods, e.g.
<?php
class AAA{
	public function ff(){
		
	}
}

class BBB {
	public function jj(){
		
	}
}

Go to main menu | Navigate | Open Type
Type BBB, then double click on the matching result.
The class name BBB is highlighted in editor correctly.
Enter a few (10) new lines above class BBB body.
Save the changes.
Invoke again Open Type (Ctrl+Shift+T), type again BBB, then double click at the matched class BBB in the list of Open Type dialog.

Expected:
The class name BBB should be highlighted in editor.

Actual:
The editor is highlighted on a strange position.


The same problem if you execute the scenario for some method.

See the attachment.





Reproducible: Always
Comment 1 Kalin CLA 2010-06-22 08:49:36 EDT
Created attachment 172409 [details]
screenshot
Comment 2 Zhongwei Zhao CLA 2010-06-24 05:23:59 EDT
fixed in head
Comment 3 Zhongwei Zhao CLA 2010-06-24 05:25:24 EDT
fixed in head
Comment 4 Gadi Goldbarg CLA 2010-08-19 08:54:45 EDT
Verified fixed.
Kalin Yanev
kalin.a@zend.com