From: SourceForge.net <no...@so...> - 2006-10-31 16:13:43
|
Bugs item #1585327, was opened at 2006-10-26 20:09 Message generated for change (Comment added) made by olearyni You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100588&aid=1585327&group_id=588 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: text area and syntax packages Group: normal bug Status: Closed Resolution: Fixed Priority: 5 Private: No Submitted By: Philip Steiner (phipster) Assigned to: Nobody/Anonymous (nobody) Summary: Perl mode curly brackets highlighting and matching broken Initial Comment: Hi, Using Perl.xml v.7706 as shipped with jEdit 4.3pre7: Opening curly brackets "{" for subroutines, loops (for, which, etc.) are not coloured correctly (red in my case), nor does bracket matching work for commands (e.g. "go to matching bracket"), gutter folding, or matching bracket highlighting in the text area. It seems to just pick the first closing bracket following the opening bracket, rather than the correct closing bracket. See attached files for my observations. Brackets worked correctly when I switched back to the previous version of Perl.xml in svn, v.7502. Using Win2K, Java 1.5.0_06, jEdit 4.3pre7 Thanks ---------------------------------------------------------------------- >Comment By: Nicholas O'Leary (olearyni) Date: 2006-10-31 16:13 Message: Logged In: YES user_id=631957 The latest perl.xml (7773) fixes this for me.. but there is another issue that I'll raise a separate bug for. ---------------------------------------------------------------------- Comment By: Marcelo Vanzin (vanza) Date: 2006-10-31 06:35 Message: Logged In: YES user_id=75113 Hi Philip, I'm attaching a screenshot with your test case and my fixed perl.xml. It looks right to me. Are you sure are you installing the modified perl.xml correctly? ---------------------------------------------------------------------- Comment By: Philip Steiner (phipster) Date: 2006-10-30 17:20 Message: Logged In: YES user_id=155962 Hi Marcelo, I tested your fix, and I'm sorry to report that rev 7773 is still not correctly matching or colouring the opening curly brackets as per my original bug report, so the error must reside elsewhere :^( Regards, Philip ---------------------------------------------------------------------- Comment By: Marcelo Vanzin (vanza) Date: 2006-10-30 07:14 Message: Logged In: YES user_id=75113 Fixed in revision #7773. There was a rule in perl.xml that was not doing anything useful other than cause trouble. :-) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100588&aid=1585327&group_id=588 |