[ phpeclipse-Bugs-1033591 ] Tasks not reporting corrent line number in task view

"SourceForge.net" <[email protected]> Mon, 06 Nov 2006 22:19:35 -0800
Newsgroups gmane.comp.ide.eclipse.phpeclipse.devel
Message-ID <[email protected]>
Bugs item #1033591, was opened at 2004-09-23 21:07
Message generated for change (Comment added) made by samage
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1033591&group_id=57621

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: PHP Editor
Group: None
Status: Open
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Nick Gushlow (gushy)
Assigned to: Jim (samage)
>Summary: Tasks not reporting corrent line number in task view

Initial Comment:
Tasks read from comments in the code do not show the
right line number (although clicking them takes you to
the correct line).



----------------------------------------------------------------------

>Comment By: Jim (samage)
Date: 2006-11-07 08:19

Message:
Logged In: YES 
user_id=1639026

I've confirmed this bug.
I've also created a small test page to use:

-----8<--------------
<?php

include_once("file.php");

function getDate()
{
	//This is the data to retrieve
	if (count($this->arrData)> 0)
	{
		//TODO: handle this condition
		print_r($this->$arrData);
	} 
	//TODO: what about an error condition?
}

function getPageFooter()
{
	// TODO: implement stub getPageFooter();
	die ("getPageFooter not implemented");	
}
//TODO: last item
//TODO: not quite
?>
-----8<--------8<-------

TODO Items are on lines 10, 13, 18, 21 and 22.

They are reported to be on 4, 6, 8, 10 and 11.

Confirmed with Eclipse 3.2.1 using phpEclipse 1.1.8 on
Ubuntu. (Sun jdk 1.5)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1033591&group_id=57621

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642