NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
click jump glitch


Joined: 23 Aug 2005
Posts: 53
Reply with quote
There is a small glitch in the click+jump logic i think.

example:
Code:
function test($var1, $var2)
{
    echo $var1;
    echo $var2;
}

When i press CTRL+ mouse button on the var1 on the first echo line it jumps to the function definition line, but after the comma
Also with the var2 on the second line, it jumps after the )
What is the logic in that? it makes more sence to have it jump right after the var itself and not 1 position after that.
View user's profileFind all posts by stappelSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
the logic is simple. Php parser does not know that the variable in the argument list is defined until it reaches "," or ")"

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
click jump glitch
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic