Package: gphpedit Version: 0.9.91-5 Tags: patch The classbrowser in gphpedit had the following bugs.
1) Non-sorting of function names in classbrowser - The functions were listed in the order they were found in the code and it was not practically useful in large source files. 2) Incorrect handling of escaped quotes in strings Escaped single quotes inside single quoted strings were not handled correctly. The escaped single quote was considered as the end of the string and the ending quote was considered as the beginning of a new string thereby incorrectly parsing the rest of the file after the occurrence of such a string. The same was happening with escaped double quotes within a double quoted string. 3) Inability to process heredoc and nowdoc strings PHP supports multi-line heredoc and nowdoc strings(i.e. strings delimted by <<<TAG TAG;). However the class browser considered the contents of these strings as normal code and thereby leading to incorrect handling of the string contents. I am attaching a patch that takes care of this bug. I have also added the following feature 1) A check box above the symbol browser that will give the user an option to not search for all functions under a given folder but just search in the file. When multiple files are opened the class browser originally listed functions from all open files without giving the user an option to filter by classes/functions in that file. This check box allows the user to have a say in this decision. Cheers Anoop John -- ---------------------------------------------------------------------------------------- http://www.zyxware.com http://www.anoopjohn.com http://www.thondomraughts.com ---------------------------------------------------------------------------------------- "Be the change you wish to see in the world", M. K. Gandhi ----------------------------------------------------------------------------------------
gphpedit-0.9.91-6.diff.gz
Description: GNU Zip compressed data