Table of Contents

Method ReplaceCurrent

Namespace
Alternet.Editor.Wpf
Assembly
Alternet.Editor.Wpf.v9.dll

ReplaceCurrent(string, SearchOptions, Match)

Replaces currently selected text.

public virtual bool ReplaceCurrent(string replaceWith, SearchOptions options, Match match)

Parameters

replaceWith string

Text to replace.

options SearchOptions

Specifies parameters of search and replace.

match Match

Represents Match object if regular expression search successful.

Returns

bool

True if succeed; otherwise false.