@univerjs/find-replace v0.5.4


Class: FindReplaceState

Defined in: submodules/univer/packages/find-replace/src/services/find-replace.service.ts:531

This class stores find replace options state. These state are stored here instead of the React component so we can change state from operations.

Constructors

new FindReplaceState()

new FindReplaceState(): FindReplaceState

Returns

FindReplaceState

Properties

PropertyModifierTypeDefined in
state$readonlyObservable<IFindReplaceState>submodules/univer/packages/find-replace/src/services/find-replace.service.ts:536
stateUpdates$readonlyObservable<Partial<IFindReplaceState>>submodules/univer/packages/find-replace/src/services/find-replace.service.ts:533

Accessors

caseSensitive

Get Signature

get caseSensitive(): boolean

Defined in: submodules/univer/packages/find-replace/src/services/find-replace.service.ts:562

Returns

boolean


findBy

Get Signature

get findBy(): FindBy

Defined in: submodules/univer/packages/find-replace/src/services/find-replace.service.ts:566

Returns

FindBy


findCompleted

Get Signature

get findCompleted(): boolean

Defined in: submodules/univer/packages/find-replace/src/services/find-replace.service.ts:567

Returns

boolean


findDirection

Get Signature

get findDirection(): FindDirection

Defined in: submodules/univer/packages/find-replace/src/services/find-replace.service.ts:564

Returns

FindDirection


findScope

Get Signature

get findScope(): FindScope

Defined in: submodules/univer/packages/find-replace/src/services/find-replace.service.ts:565

Returns

FindScope


findString

Get Signature

get findString(): string

Defined in: submodules/univer/packages/find-replace/src/services/find-replace.service.ts:556

Returns

string


inputtingFindString

Get Signature

get inputtingFindString(): string

Defined in: submodules/univer/packages/find-replace/src/services/find-replace.service.ts:555

Returns

string


matchesCount

Get Signature

get matchesCount(): number

Defined in: submodules/univer/packages/find-replace/src/services/find-replace.service.ts:560

Returns

number


matchesPosition

Get Signature

get matchesPosition(): number

Defined in: submodules/univer/packages/find-replace/src/services/find-replace.service.ts:559

Returns

number


matchesTheWholeCell

Get Signature

get matchesTheWholeCell(): boolean

Defined in: submodules/univer/packages/find-replace/src/services/find-replace.service.ts:563

Returns

boolean


replaceRevealed

Get Signature

get replaceRevealed(): boolean

Defined in: submodules/univer/packages/find-replace/src/services/find-replace.service.ts:558

Returns

boolean


replaceString

Get Signature

get replaceString(): string

Defined in: submodules/univer/packages/find-replace/src/services/find-replace.service.ts:561

Returns

string


revealed

Get Signature

get revealed(): boolean

Defined in: submodules/univer/packages/find-replace/src/services/find-replace.service.ts:557

Returns

boolean


state

Get Signature

get state(): IFindReplaceState

Defined in: submodules/univer/packages/find-replace/src/services/find-replace.service.ts:537

Returns

IFindReplaceState

Methods

changeState()

changeState(changes): void

Defined in: submodules/univer/packages/find-replace/src/services/find-replace.service.ts:570

Parameters

ParameterType
changesPartial<IFindReplaceState>

Returns

void