[Laszlo-checkins] r11806 - openlaszlo/trunk/lps/components/debugger
ptw@openlaszlo.org
ptw at openlaszlo.org
Mon Nov 17 13:51:57 PST 2008
Author: ptw
Date: 2008-11-17 13:51:56 -0800 (Mon, 17 Nov 2008)
New Revision: 11806
Modified:
openlaszlo/trunk/lps/components/debugger/debugger.lzx
Log:
Change 20081117-ptw-p by ptw at dueling-banjos.home on 2008-11-17 16:46:19 EST
in /Users/ptw/OpenLaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Address review comments on r11750
Bugs Fixed:
LPP-7271 swf9: exceptions running debugger in embedded HTML
Details:
Permit arbitrary whitspace in SimpleExpressionPattern
Tests:
Observed that no network traffic was triggered by:
lzx> canvas . subviews [ 0 ]
?\194?\171<LzDebugWindow>#1?\194?\187
lzx>
Modified: openlaszlo/trunk/lps/components/debugger/debugger.lzx
===================================================================
--- openlaszlo/trunk/lps/components/debugger/debugger.lzx 2008-11-17 21:26:45 UTC (rev 11805)
+++ openlaszlo/trunk/lps/components/debugger/debugger.lzx 2008-11-17 21:51:56 UTC (rev 11806)
@@ -261,7 +261,7 @@
<!-- Simple "path" expressions will only have symbols, `.`, or `[numbers]` -->
<!-- @keywords private readonly -->
- <attribute name="SimpleExprPattern" value="$once{new RegExp('^([$_A-Za-z][$\\w]*)((\\.[$_A-Za-z][$\\w]*)|(\\[\\d+\\]))*$')}" />
+ <attribute name="SimpleExprPattern" value="$once{new RegExp('^\\s*([$_A-Za-z][$\\w]*)((\\s*\\.\\s*[$_A-Za-z][$\\w]*)|(\\s*\\[\\s*\\d+\\s*\\]))*\\s*$')}" />
<!-- Now pull out just the element 'selectors', so you can walk down them -->
<!-- @keywords private readonly -->
<attribute name="ElementPattern" value="$once{new RegExp('([$_A-Za-z][$\\w]*)|(\\d+)', 'g')}" />
More information about the Laszlo-checkins
mailing list