TextView.st
changeset 6467 33f690b561ac
parent 6460 b57b23875678
child 6475 230dfd1e94ae
--- a/TextView.st	Thu Oct 25 10:39:28 2018 +0200
+++ b/TextView.st	Thu Oct 25 21:30:16 2018 +0200
@@ -4455,7 +4455,9 @@
                             ].
                         ] ifFalse:[ 
                             "/ check for ' or "
-                            ((ignoreSet includes:cc) and:[nesting top first = cc]) ifTrue:[
+                            ((ignoreSet includes:cc) 
+                              and:[nesting notEmpty 
+                              and:[nesting top first = cc]]) ifTrue:[
                                 nesting pop.
                             ].
                         ].
@@ -4485,6 +4487,7 @@
     "Modified: / 15-10-1996 / 12:22:30 / cg"
     "Modified (comment): / 13-02-2017 / 20:32:43 / cg"
     "Modified: / 22-10-2018 / 20:56:48 / Stefan Vogel"
+    "Modified: / 25-10-2018 / 21:25:57 / Claus Gittinger"
 !
 
 searchFwd