You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Doc/whatsnew/3.15.rst
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,9 +77,7 @@ The `tkinter.Text.search` method now supports two additional arguments:
77
77
* ``-nolinestop`` — allows the search to continue across line boundaries.
78
78
* ``--strictlimits`` — restricts the search to within the specified range.
79
79
80
-
These enhancements improve alignment with the underlying Tcl interface and offer finer control over search behavior.
81
-
82
-
Additionally, a new method `tkinter.Text.search_all` has been introduced. This method enables searching for all occurrences of a pattern using Tcl's ``-all`` and ``-overlap`` options. Unlike `search`, which returns a single match, `search_all` returns a list of all matching indices and supports overlapping matches.
80
+
Also, a new method ``tkinter.Text.search_all`` has been introduced. This method allows for searching for all matches of a pattern using Tcl's ``-all`` and ``-overlap`` options.
0 commit comments