Method FindPreviousText
FindPreviousText(string, out bool, bool, bool, string?, bool)
Find the previous text based on the match case with the option to replace it.
public bool FindPreviousText(string textToFind, out bool gaveFullTurn, bool matchCase = false, bool matchWholeWord = false, string? textToReplace = null, bool replace = false)
Parameters
textToFindstringThe text to find.
gaveFullTurnbooltrueIf all the text was backward searched.falseotherwise.matchCaseboolThe match case setting.
matchWholeWordboolThe match whole word setting.
textToReplacestringThe text to replace.
replacebooltrueIf the text was found.falseotherwise.
Returns
- bool
trueIf the text was found.falseotherwise.