Class GwtTextDiff
java.lang.Object
io.jmix.ui.widget.client.addon.aceeditor.GwtTextDiff
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static final class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionint
adjustPosition
(int pos) static GwtTextDiff
static GwtTextDiff
fromString
(String s) static DiffMatchPatchJSNI
getDMP()
boolean
static int
positionInNewText
(String text1, int cursorPos, String text2)
-
Field Details
-
DIFF_DELETE
public static final int DIFF_DELETE- See Also:
-
DIFF_INSERT
public static final int DIFF_INSERT- See Also:
-
DIFF_EQUAL
public static final int DIFF_EQUAL- See Also:
-
-
Method Details
-
diff
-
applyTo
-
isIdentity
public boolean isIdentity() -
getDiffString
-
positionInNewText
-
getDMP
-
fromString
-
adjustPosition
public int adjustPosition(int pos) -
getPatches
-