}
@NotNull
public static String shiftIndentInside(@NotNull String initial, final int i, boolean shiftEmptyLines) throws IOException {
StringBuilder result = new StringBuilder(initial.length());
LineReader reader = new LineReader(new ByteArrayInputStream(initial.getBytes()));
boolean first = true;
for (byte[] line : reader.readLines()) {
try {
if (!first) result.append('\n');
if (line.length > 0 || shiftEmptyLines) {
repeatSymbol(result, ' ', i);
}