From: SourceForge.net <no...@so...> - 2006-08-01 04:21:05
|
Bugs item #1527824, was opened at 2006-07-24 08:27 Message generated for change (Comment added) made by vanza You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100588&aid=1527824&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: None >Status: Closed >Resolution: Fixed Priority: 7 Submitted By: Nicholas O'Leary (olearyni) Assigned to: Nobody/Anonymous (nobody) Summary: Perl Syntax Highlighting hangs 4.3pre6 Initial Comment: Found another hang for the perl syntax with 4.3pre6 (cvs): The following lines work fine: y_max_value => (1 - $adjusted_lower_rate), x_labels_vertical => 1, But these lines both cause jEdit to hang: y_label => 'Pass Rate (%)', y_number_format => \ &yformat, It appears to be related to having the underscore after a single character at the start of the line; if you (re)move the underscores, then jedit doesn't hang. Furthermore, whilst the first pair of lines don't hang jEdit, the first one is highlighted incorrectly. I believe its trying to highlight from the first 'y' through to the 'd' of 'adjusted' as a regex (blue in the default colour settings). Again, (re)moving the initial underscore restores the proper highlighting. ---------------------------------------------------------------------- >Comment By: Marcelo Vanzin (vanza) Date: 2006-07-31 21:19 Message: Logged In: YES user_id=75113 Ah, my favorite edit mode. :-) SVN revision #6472 should take care of this. (Hey, this sounds almost like perforce change lists. I like it!) ---------------------------------------------------------------------- Comment By: Nicholas O'Leary (olearyni) Date: 2006-07-24 11:02 Message: Logged In: YES user_id=631957 The 'y' at the start is significant as well. It is being caught by the rule: <SEQ_REGEXP TYPE="MARKUP" HASH_CHAR="y" AT_WORD_START="TRUE" >y([^\p{Alnum}\p{Space}])(?:.*?[^\\])*?\1(?:.*?[^\\])*?\1[cds]*</SEQ_REGEXP> This leads me to believe it will hang with any of q,t,m or s, at the start as there are simliar rules with HASH_CHAR set to them. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100588&aid=1527824&group_id=588 |