public EditorBuffer append(CharSequence csq, int start, int end) throws IOException { appendData(csq, start, end); return this; }
public EditorBuffer append(char c) throws IOException { appendData(Character.toString(c), 0, 1); return this; }
/** * Replace all the characters before the cursor by the provided char sequence. * * @param s the new char sequence * @return the l * @throws java.io.IOException any IOException */ String replace(CharSequence s) throws IOException { StringBuilder builder = new StringBuilder(); for (int i = appendDel();i != -1;i = appendDel()) { builder.append((char)i); needFlush = true; } appendData(s, 0, s.length()); return builder.reverse().toString(); }
public EditorBuffer append(CharSequence csq, int start, int end) throws IOException { appendData(csq, start, end); return this; }
public EditorBuffer append(CharSequence csq, int start, int end) throws IOException { appendData(csq, start, end); return this; }
public EditorBuffer append(char c) throws IOException { appendData(Character.toString(c), 0, 1); return this; }
public EditorBuffer append(char c) throws IOException { appendData(Character.toString(c), 0, 1); return this; }
/** * Replace all the characters before the cursor by the provided char sequence. * * @param s the new char sequence * @return the l * @throws java.io.IOException any IOException */ String replace(CharSequence s) throws IOException { StringBuilder builder = new StringBuilder(); for (int i = appendDel();i != -1;i = appendDel()) { builder.append((char)i); needFlush = true; } appendData(s, 0, s.length()); return builder.reverse().toString(); }
/** * Replace all the characters before the cursor by the provided char sequence. * * @param s the new char sequence * @return the l * @throws java.io.IOException any IOException */ String replace(CharSequence s) throws IOException { StringBuilder builder = new StringBuilder(); for (int i = appendDel();i != -1;i = appendDel()) { builder.append((char)i); needFlush = true; } appendData(s, 0, s.length()); return builder.reverse().toString(); }