throws IOException {
if (prefix == ' ') {
super.writeLine(prefix, text, cur);
stream.flushLine();
} else {
Type type = prefix == '+' ? Type.ADD : Type.REMOVE;
int start = stream.offset;
super.writeLine(prefix, text, cur);
stream.flushLine();
addRange(type, start, stream.offset);
}