@@ -4026,9 +4026,7 @@ def scan_dragto(self, x, y):
40264026 scan_mark."""
40274027 self .tk .call (self ._w , 'scan' , 'dragto' , x , y )
40284028
4029- def search (self , pattern , index , stopindex = None ,
4030- forwards = None , backwards = None , exact = None ,
4031- regexp = None , nocase = None , count = None , elide = None ):
4029+ def search (self , pattern , index , stopindex = None , forwards = None , backwards = None , exact = None , regexp = None , nocase = None , count = None , elide = None , nolinestop = None , all = None , overlap = None , strictlimits = None ):
40324030 """Search PATTERN beginning from INDEX until STOPINDEX.
40334031 Return the index of the first character of a match or an
40344032 empty string."""
@@ -4040,12 +4038,18 @@ def search(self, pattern, index, stopindex=None,
40404038 if nocase : args .append ('-nocase' )
40414039 if elide : args .append ('-elide' )
40424040 if count : args .append ('-count' ); args .append (count )
4041+ if nolinestop : args .append ('-nolinestop' )
4042+ if all : args .append ('-all' )
4043+ if overlap : args .append ('-overlap' )
4044+ if strictlimits : args .append ('-strictlimits' )
40434045 if pattern and pattern [0 ] == '-' : args .append ('--' )
40444046 args .append (pattern )
40454047 args .append (index )
40464048 if stopindex : args .append (stopindex )
40474049 return str (self .tk .call (tuple (args )))
40484050
4051+
4052+
40494053 def see (self , index ):
40504054 """Scroll such that the character at INDEX is visible."""
40514055 self .tk .call (self ._w , 'see' , index )
0 commit comments