#DOCUMENTATION by cg
authorClaus Gittinger <cg@exept.de>
Thu, 05 Mar 2020 11:20:32 +0100
changeset 6834 3b50b6a5c655
parent 6833 72f720d5a63e
child 6835 205350eb439d
#DOCUMENTATION by cg class: TextView comment/format in: #searchForMatchingParenthesisFromLine:col:ifFound:ifNotFound:onError:openingCharacters:closingCharacters:ignoredCharacters:specialEOLComment:
TextView.st
--- a/TextView.st	Wed Feb 26 14:02:58 2020 +0100
+++ b/TextView.st	Thu Mar 05 11:20:32 2020 +0100
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
 "
  COPYRIGHT (c) 1989 by Claus Gittinger
               All Rights Reserved
@@ -4379,7 +4377,7 @@
     i := (openingCharacters , closingCharacters) indexOf:parChar.
     i == 0 ifTrue:[
         (ignoreSet includes:parChar) ifTrue:[
-            "/ seaching for matching ' or " - always forward
+            "/ searching for matching ' or " - always forward
             direction := #fwd.
             closingChar := parChar.
         ] ifFalse:[
@@ -4484,7 +4482,7 @@
                 ]].
 
                 (inLineComment not & isIgnoreChar) ifTrue:[
-                    "/ íf in a line comment, single ' and " may occur.
+                    "/ íf in a line comment, single ' and " may occur.
                     "/ ignoring ~~ 0 means, that we ignore non-matching peers.
                     (ignoring ~~ 0 and:[nesting top first = cc]) ifTrue:[
                         ignoring := ignoring - 1.