@lexical/internal/simpleDiffWithCursor
Functions
simpleDiffWithCursor()
simpleDiffWithCursor(
a,b,cursor):object
Defined in: packages/lexical-internal/src/simpleDiffWithCursor.ts:9
Copyright (c) Meta Platforms, Inc. and affiliates.
This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree.
Parameters
a
string
b
string
cursor
number
Returns
object
index
index:
number
insert
insert:
string
remove
remove:
number