ARCed.Scintilla.FindReplace.ReplacePrevious C# (CSharp) Method

ReplacePrevious() public method

public ReplacePrevious ( string searchString, string replaceString, bool wrap, SearchFlags flags ) : Range
searchString string
replaceString string
wrap bool
flags SearchFlags
return Range
        public Range ReplacePrevious(string searchString, string replaceString, bool wrap, SearchFlags flags)
        {
            Range r = FindPrevious(searchString, wrap, flags);

            if (r != null)
            {
                r.Text = replaceString;
                r.End = r.Start + replaceString.Length;
            }

            return r;
        }

Same methods

FindReplace::ReplacePrevious ( string searchString, string replaceString ) : Range
FindReplace::ReplacePrevious ( string searchString, string replaceString, SearchFlags flags ) : Range
FindReplace::ReplacePrevious ( string searchString, string replaceString, bool wrap ) : Range