void (int offset, @NotNull CharSequence s) { assert intersectWithEditable(new TextRange(offset, offset)) != null; if (isOneLine()) { s = StringUtil.replace(s.toString(), "\n", ""); } myDelegate.insertString(injectedToHost(offset), s); }