[ phpeclipse-Patches-1717111 ] PairMatcher considering partitions

"SourceForge.net" <[email protected]> Sat, 12 May 2007 16:28:43 -0700
Newsgroups gmane.comp.ide.eclipse.phpeclipse.devel
Message-ID <[email protected]>
Patches item #1717111, was opened at 2007-05-11 20:09
Message generated for change (Comment added) made by toshihiro
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=484803&aid=1717111&group_id=57621

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: Editor
Group: None
Status: Open
Resolution: None
Priority: 3
Private: No
Submitted By: Toshihiro (toshihiro)
Assigned to: Nobody/Anonymous (nobody)
Summary: PairMatcher considering partitions

Initial Comment:
PairMatcher doesn't recognize partitions for now. (php script part/html content part)
For example,

1: <?php if ($expression) { ?>
2:    <strong> { ... } </strong>
3: <?php } else { ?>
4:    <strong> { ... } </strong>
5: <?php } ?>

"{" on line 1 matches "}" on line 2.
It should match on line 3.

Note:
1. This patch doesn't support Here Document. If pairing character is in Here Document, it will be matched.
2. This patch may cause performance problem. When using a large file, 200-300KB or so, the cursor will freeze for a moment... However I think such enormous file will be rare.


----------------------------------------------------------------------

>Comment By: Toshihiro (toshihiro)
Date: 2007-05-13 08:28

Message:
Logged In: YES 
user_id=1527096
Originator: YES

Oops, sorry for bad example.

1: <?php if ($expression) { ?>
2: <strong> } </strong>
3: <?php } else { ?>
4: <strong> { </strong>
5: <?php } ?>


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=484803&aid=1717111&group_id=57621

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/