jgodfrey:
--------------------------------------------------------------------------------
Using 2303 (though I doubt it's a new issue), bracket matching doesn't work
properly under certain circumstances (using the Tcl programming language).

For instance, the following is legitimate (though admittedly contrived) code:

proc test {args} {
    array set test {a \"hello\" b \"goodbye\"}
}

... but PSPad's bracket matching fails on this procedure, as it seems to be
confused by brace at the end of the 2nd line, which is preceded by a
double-quote.  I'm guessing that's viewed as being within a quoted string, so
it's ignored?

Anyway, the brace at the end of line #1 should match with the brace on line #3. 
The braces on  line #2 should match each other.  

Can this be fixed?  I use PSPad's bracket matching within a script designed to
select an entire procedure and copy it to the clipboard.  In a case like the
above, the procedure doesn't work properly because bracket matching fails to do
the right thing.

Thanks,

Jeff
--------------------------------------------------------------------------------


Tcl/Tk highlighter doesn't work with escaped strings. Corrected.

-- 
<http://forum.pspad.com/read.php?6,44790,44999>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem