This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.

SyntaxEdit - code folding issue

edited October 2013 in LMD IDE-Tools
It seems a PHP function can't be folded if there is a comment after the function name and its parameters and before the function's opening left curly bracket. Can this be fixed in the next update?

More:
http://www.htmlvalidator.com/CSEForum/viewtopic.php?f=1&t=1969

Thanks

Comments

  • Hi,

    PHP function headers - fixed. "If" constructs are in progress...
  • Hi again,

    Situation is following:

    Folding functions has been complitely fixed. However, the comments themself cannot be folded, if they reside inside function header ot if header:

    function P()
    /*
     * unfoldable comment
     */
    {
    }

    if (true)
    /*
     * unfoldable comment
     */
    {
    }

    Unfortunately, this is the way of how parser works; so, it cannot be fixed. However, its unusual style of coding...
  • Thanks for the fix. Folding functions is definitely more important than being able to fold those comments. I assume this will be in the next update, so I'll just wait for it.
Sign In or Register to comment.