Menu

#101 PHP functions register incorrectly in symbols pane

closed-invalid
nobody
None
5
2007-12-01
2007-11-29
No

As per bug #1795810, the issue has been partially resolved. Using regular expressions, the word "function" registers as a function in the sidebar's symbols pane even when it appears in the context of a comment.

For example, the following code will register two separate functions:

<?php

class Example() {

/**
* Dummy Method
*
* This function does absolutely nothing.
**/
function dummy() {
// ...
}

}

?>

In the symbols pane, the following will be visible:

Classes
Example [3]
Functions
does [8]
dummy[10]

Discussion

  • Enrico Tröger

    Enrico Tröger - 2007-12-01
    • status: open --> closed-invalid
     
  • Enrico Tröger

    Enrico Tröger - 2007-12-01

    Logged In: YES
    user_id=1117045
    Originator: NO

    Could you file this in the CTags bugtracker against the CTags PHP parser which is used in Geany. Or you improve the used regular expression by yourself and send in a patch. I won't work on this, sorry.

     

Log in to post a comment.

MongoDB Logo MongoDB