Class

FindAndReplaceState (find-and-replace)

@ckeditor/ckeditor5-find-and-replace/src/findandreplacestate

class

The object storing find and replace plugin state for a given editor instance.

Filtering

Properties

Events

  • change:highlightedResult( eventInfo, name, value, oldValue )

    Fired when the highlightedResult property changed value.

    Parameters

    eventInfo : EventInfo

    An object containing information about the fired event.

    name : String

    Name of the changed property (highlightedResult).

    value : Object | null

    New value of the highlightedResult property with given key or null, if operation should remove property.

    oldValue : Object | null

    Old value of the highlightedResult property with given key or null, if property was not set before.

  • change:matchCase( eventInfo, name, value, oldValue )

    Fired when the matchCase property changed value.

    Parameters

    eventInfo : EventInfo

    An object containing information about the fired event.

    name : String

    Name of the changed property (matchCase).

    value : Boolean

    New value of the matchCase property with given key or null, if operation should remove property.

    oldValue : Boolean

    Old value of the matchCase property with given key or null, if property was not set before.

  • change:matchWholeWords( eventInfo, name, value, oldValue )

    Fired when the matchWholeWords property changed value.

    Parameters

    eventInfo : EventInfo

    An object containing information about the fired event.

    name : String

    Name of the changed property (matchWholeWords).

    value : Boolean

    New value of the matchWholeWords property with given key or null, if operation should remove property.

    oldValue : Boolean

    Old value of the matchWholeWords property with given key or null, if property was not set before.

  • change:replaceText( eventInfo, name, value, oldValue )

    Fired when the replaceText property changed value.

    Parameters

    eventInfo : EventInfo

    An object containing information about the fired event.

    name : String

    Name of the changed property (replaceText).

    value : String

    New value of the replaceText property with given key or null, if operation should remove property.

    oldValue : String

    Old value of the replaceText property with given key or null, if property was not set before.

  • change:searchText( eventInfo, name, value, oldValue )

    Fired when the searchText property changed value.

    Parameters

    eventInfo : EventInfo

    An object containing information about the fired event.

    name : String

    Name of the changed property (searchText).

    value : String

    New value of the searchText property with given key or null, if operation should remove property.

    oldValue : String

    Old value of the searchText property with given key or null, if property was not set before.