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
// Determines if the find operation is case sensitive. Returns TRUE if the find is case sensitive, FALSE otherwise.
550
+
/// Determines if the find operation is case sensitive. Returns TRUE if the find is case sensitive, FALSE otherwise.
551
+
/// In text operations such as case sensitivity and word breaking, the behavior can vary by locale, which may be influenced by both the browser's UI locale and the document's language settings. The browser's UI locale
552
+
/// typically provides a default handling approach, while the document's language settings (e.g., specified using the HTML lang attribute) can override these defaults to apply locale-specific rules. This dual consideration
553
+
/// ensures that text is processed in a manner consistent with user expectations and the linguistic context of the content
551
554
BooleanIsCaseSensitive { get; set; };
552
555
// Determines if only whole words should be matched during the find operation. Returns TRUE if only whole words should be matched, FALSE otherwise.
/// Displays the Find bar and starts the find operation. If a find session was already ongoing, it will be stopped and replaced with this new instance.
568
571
/// If called with an empty string, the Find bar is displayed but no finding occurs. Changing the configuration object after initiation won't affect the ongoing find session.
569
572
/// To change the ongoing find session, StartFindAsync must be called again with a new or modified configuration object.
570
-
/// This method is primarily designed for HTML document queries.
573
+
/// StartFind supports, HTML, PDF, and TXT document queries. In general this api is designed for text based find sessions.
574
+
//// If you start a find session programmatically on another file format that doesnt have text fields, the find session will try to execute but will fail to find any matches. (It will silently fail)
571
575
/// Note: The asynchronous action completes when the UI has been displayed with the find term in the UI bar, and the matches have populated on the counter on the find bar.
572
576
/// There may be a slight latency between the UI display and the matches populating in the counter.
573
577
/// The MatchCountChanged and ActiveMatchIndexChanged events are only raised after StartFindAsync has completed, otherwise they will have their default values (-1 for both).
578
+
/// When initiating a find session while another session is in progress, the behavior of
579
+
/// the active match index depends on the direction set for the find operation (forward or backward).
580
+
/// However, calling StartFind again during an ongoing find operation does not resume from the point
581
+
/// of the current active match. For example, given the text "1 1 A 1 1" and initiating a find session for "A",
582
+
/// then starting another find session for "1", it will start searching from the beginning of the document,
583
+
/// regardless of the previous active match. This behavior indicates that changing the find query initiates a
584
+
/// completely new find session, rather than continuing from the previous match index. This distinction is essential
585
+
/// to understand when utilizing the StartFind method for navigating through text matches.
/// Registers an event handler for the MatchCountChanged event.
617
-
This event is raised when the total count of matches in the document changes due to a new find operation or changes in the document.
618
-
The parameter is the event handler to be added. Returns a token representing the added event handler. This token can be used to unregister the event handler.
629
+
///This event is raised when the total count of matches in the document changes due to a new find operation or changes in the document.
630
+
///The parameter is the event handler to be added. Returns a token representing the added event handler. This token can be used to unregister the event handler.
0 commit comments