@umbraco-cms/backoffice
    Preparing search index...
    • diffs two blocks of text, treating each word and each punctuation mark as a token. Whitespace is ignored when computing the diff (but preserved as far as possible in the final change objects).

      Parameters

      • oldStr: string
      • newStr: string
      • options: DiffCallbackNonabortable<string>

      Returns undefined

      a list of change objects.

    • diffs two blocks of text, treating each word and each punctuation mark as a token. Whitespace is ignored when computing the diff (but preserved as far as possible in the final change objects).

      Parameters

      • oldStr: string
      • newStr: string
      • options: DiffWordsOptionsAbortable & CallbackOptionAbortable<string>

      Returns undefined

      a list of change objects.

    • diffs two blocks of text, treating each word and each punctuation mark as a token. Whitespace is ignored when computing the diff (but preserved as far as possible in the final change objects).

      Parameters

      • oldStr: string
      • newStr: string
      • options: DiffWordsOptionsNonabortable & CallbackOptionNonabortable<string>

      Returns undefined

      a list of change objects.

    • diffs two blocks of text, treating each word and each punctuation mark as a token. Whitespace is ignored when computing the diff (but preserved as far as possible in the final change objects).

      Parameters

      • oldStr: string
      • newStr: string
      • options: DiffWordsOptionsAbortable

      Returns ChangeObject<string>[] | undefined

      a list of change objects.

    • diffs two blocks of text, treating each word and each punctuation mark as a token. Whitespace is ignored when computing the diff (but preserved as far as possible in the final change objects).

      Parameters

      • oldStr: string
      • newStr: string
      • Optionaloptions: DiffWordsOptionsNonabortable

      Returns ChangeObject<string>[]

      a list of change objects.