public void replace(int start, int limit, char[] text, int charsStart,int charsLen) {final int newLength = shiftForReplace(start, limit, charsLen);System.arraycopy(text, charsStart, buffer, start, charsLen);token.setLength(length = newLength);}

public void Replace(int start, int length, char[] text, int charsStart,int charsLen){int newLength = ShiftForReplace(start, length + start, charsLen); System.Array.Copy(text, charsStart, buffer, start, charsLen);token.Length = (this.length = newLength);}
