private static boolean isNewline(@NotNull List<? extends InlineChunk> words1, int index) {
    return words1.get(index) instanceof NewlineChunk;
  }
private static boolean isNewline(@NotNull List<? extends InlineChunk> words1, int index)