public final class CompareUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
replaceText(TextBuffer target,
int offset,
int length,
char[] data)
Replaces text in the target TextBuffer with the input data with
the smallest changes possible.
|
static int |
setLimit(int newLimit) |
public static int setLimit(int newLimit)
public static void replaceText(TextBuffer target, int offset, int length, char[] data)
target - The TextBuffer we'll be making changes to.offset - The start offset of the target region in "target".length - The length of the target region in "target".data - The new characters that we'll be inserting into "target".