Table of Contents

Method FindPreviousText

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

FindPreviousText(ustring, out bool, bool, bool, ustring, bool)

Find the previous text based on the match case with the option to replace it.

public bool FindPreviousText(ustring textToFind, out bool gaveFullTurn, bool matchCase = false, bool matchWholeWord = false, ustring textToReplace = null, bool replace = false)

Parameters

textToFind ustring

The text to find.

gaveFullTurn bool

trueIf all the text was backward searched.falseotherwise.

matchCase bool

The match case setting.

matchWholeWord bool

The match whole word setting.

textToReplace ustring

The text to replace.

replace bool

trueIf the text was found.falseotherwise.

Returns

bool

trueIf the text was found.falseotherwise.