[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 134011] class tree view's displaying only one function when
From:       Mathias Dufresne <novices () free ! fr>
Date:       2006-09-25 17:22:32
Message-ID: 20060925172232.24795.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=134011         




------- Additional Comments From novices free fr  2006-09-25 19:22 -------
I made change on the PHPFile class, exactly in the PHPFile::ParseSource() function, \
and it seems to work, but I don't really think it's a nice solution :

         if (ParseFunction(line, lineNo) == TRUE) {
            bracketFuncOpen = line.contains("{");
            bracketFuncClose = line.contains("}");
         }

is became :

         if (ParseFunction(line, lineNo) == TRUE) {
            if ( inMethod == TRUE ) {
               CloseFunction( lineNo - 1 );
               bracketFuncOpen = 0;
               bracketFuncClose = 0;
            }
            bracketFuncOpen = line.contains("{");
            bracketFuncClose = line.contains("}");
         }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic