Menu

#266 Bug in "Jump To Function" in Class-List

2.x
closed-fixed
None
2
2014-01-07
2010-11-15
Anonymous
No

When doubleclicking on a function in the funtion-list of the classes-display, the active line will not move to the correct line. This only happens in some files.

If figured out that this problem is obviously caused by commands in multiple lines e.g.

$ThisFails = 'line1
line2
line3';

When trying to jump to function above such kind of code, it will work properly. Trying to jump to a function below such code fails.

Discussion

  • Pierre Fauconnier

    Hi,

    You're right. This discrepancy in line numbers comes from the SynEdit component. It is also encountered with the Heredoc syntax:
    $myMsg = <<<END_MESSAGE
    Hello
    world
    END_MESSAGE;

    Thanks for your report (I am obliged to work on it now)
    Pierre.

     
  • Pierre Fauconnier

    • assigned_to: nobody --> pf18387
    • priority: 5 --> 2
    • status: open --> open-accepted
     
  • Pierre Fauconnier

    • status: open-accepted --> open-fixed
     
  • Pierre Fauconnier

    Seems fine now.

     
  • Pierre Fauconnier

    • status: open-fixed --> pending-fixed
     
  • Pierre Fauconnier

    • status: pending-fixed --> closed-fixed
     

Log in to post a comment.