String (@NotNull CharSequence text, @NotNull List<TextRange> contentRanges, int indexBefore) { if (isNewline(text, contentRanges.get(indexBefore)) || isNewline(text, contentRanges.get(indexBefore + 1))) { return ""; } else { return " "; } }