Class ServerSideDocDiff
java.lang.Object
io.jmix.ui.widget.addon.aceeditor.ServerSideDocDiff
-
Constructor Summary
ConstructorDescriptionServerSideDocDiff
(LinkedList<name.fraser.neil.plaintext.diff_match_patch.Patch> patches) ServerSideDocDiff
(LinkedList<name.fraser.neil.plaintext.diff_match_patch.Patch> patches, MarkerSetDiff markerSetDiff, SetDiff<AceAnnotation.RowAnnotation, TransportDoc.TransportRowAnnotation> rowAnnDiff, SetDiff<AceAnnotation.MarkerAnnotation, TransportDoc.TransportMarkerAnnotation> markerAnnDiff) -
Method Summary
Modifier and TypeMethodDescriptionstatic ServerSideDocDiff
static ServerSideDocDiff
static ServerSideDocDiff
List<name.fraser.neil.plaintext.diff_match_patch.Patch>
boolean
static ServerSideDocDiff
newMarkersAndAnnotations
(MarkerSetDiff msd, SetDiff<AceAnnotation.MarkerAnnotation, TransportDoc.TransportMarkerAnnotation> mad) toString()
-
Constructor Details
-
ServerSideDocDiff
public ServerSideDocDiff(LinkedList<name.fraser.neil.plaintext.diff_match_patch.Patch> patches, @Nullable MarkerSetDiff markerSetDiff, @Nullable SetDiff<AceAnnotation.RowAnnotation, TransportDoc.TransportRowAnnotation> rowAnnDiff, @Nullable SetDiff<AceAnnotation.MarkerAnnotation, TransportDoc.TransportMarkerAnnotation> markerAnnDiff) -
ServerSideDocDiff
-
-
Method Details
-
diff
-
diff
-
fromTransportDiff
-
getPatchesString
-
getPatches
-
applyTo
-
applyTo
-
asTransport
-
isIdentity
public boolean isIdentity() -
toString
-
newMarkersAndAnnotations
public static ServerSideDocDiff newMarkersAndAnnotations(MarkerSetDiff msd, SetDiff<AceAnnotation.MarkerAnnotation, TransportDoc.TransportMarkerAnnotation> mad)
-