Method FindNextText | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
FindNextText(string, out bool, bool, bool, string?, bool)
Find the next text based on the match case with the option to replace it.
public bool FindNextText(string textToFind, out bool gaveFullTurn, bool matchCase = false, bool matchWholeWord = false, string? textToReplace = null, bool replace = false)
Parameters
textToFind
string
The text to find.
gaveFullTurn
bool
true
If all the text was forward searched.false
otherwise.
matchCase
bool
The match case setting.
matchWholeWord
bool
The match whole word setting.
textToReplace
string
The text to replace.
replace
bool
true
If is replacing.false
otherwise.
Returns
true
If the text was found.false
otherwise.