Skip to content

Commit e4c7bef

Browse files
authored
Fix fails, reword
1 parent 834d6d4 commit e4c7bef

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

Doc/whatsnew/3.15.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,7 @@ The `tkinter.Text.search` method now supports two additional arguments:
7777
* ``-nolinestop`` — allows the search to continue across line boundaries.
7878
* ``--strictlimits`` — restricts the search to within the specified range.
7979

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.
8381

8482
(Contributed by Rihaan Meher in :gh:`130848`)
8583

0 commit comments

Comments
 (0)