Hi Jan,

Using 2315, the following (valid) Tcl code seems to confuse PSPad's brace
matching logic...

   part_deletePart {
                set expList {
                    {string equal $nodeInfo(type) part}
                    {expr ![db::recordExists dbMem "select 1 from repostruct \
                        where parentID = '$id'"]}
                }
            }

The first and last brace actually match, but PSPad seems to be confused by the
quoted string that's split across 2 lines via the "\" character.  It seems to
think the double quote in the 2nd line of the quoted string is actually an
opening quote instead of a close quote, so I guess it thinks the brace at the
end of that line is part of a quoted string.

This is not a 2315 specific issue.

Side note - is there a way to keep code formatting (indent, etc) in a forum
thread?

Thanks,

Jeff

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

Odpovedet emailem