int (@NotNull String line, int pos, int delta) { int len = line.length(); while (pos >= 0 && pos < len) { final char c = line.charAt(pos); if (!Character.isSpaceChar(c)) break; pos += delta; } return pos; }