Skip to content

Commit 1315049

Browse files
authored
Update FindOnPage.md
Updated additional info
1 parent e5cde96 commit 1315049

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

FindOnPage.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,12 @@ It emphasizes the usage of interfaces such as `ICoreWebView2Find` and
615615
`ICoreWebView2FindConfiguration` to perform find operations effectively.
616616

617617
Additional Info:
618-
Starting a find session when one is in progress will result in the active match index
619-
being moved forward or backwards depending on what find configuration has been used
620-
(forward,backward).
618+
When initiating a find session while another session is in progress, the behavior of
619+
the active match index depends on the direction set for the find operation (forward or backward).
620+
However, calling StartFind again during an ongoing find operation does not resume from the point
621+
of the current active match. For example, given the text "1 1 A 1 1" and initiating a find session for "A",
622+
then starting another find session for "1", it will start searching from the beginning of the document,
623+
regardless of the previous active match. This behavior indicates that changing the find query initiates a
624+
completely new find session, rather than continuing from the previous match index. This distinction is essential
625+
to understand when utilizing the StartFind method for navigating through text matches.
626+

0 commit comments

Comments
 (0)