void (int newEndOffset, int oldEndOffset, int tabSize) { assert newEndOffset > oldEndOffset; WhiteSpaceInfo info = parse(myInitial, oldEndOffset - myStart, newEndOffset - myStart, mySpaces + myIndentSpaces, tabSize); if (info.lineFeeds > 0) { setLineFeeds(getLineFeeds() + info.lineFeeds); mySpaces = 0; myIndentSpaces = 0; } mySpaces += info.spaces; myIndentSpaces += info.indentSpaces; }