int (int offset) { int pos = offset; while (pos < myBufferEndOffset) { char c = locateCharAt(pos); if (c != ' ' && c != '\t' && c != '\n' && c != '\r' && c != '\f') break; pos += mySymbolLength; } return pos; }