boolean (int line, @NotNull Editor editor) { Document document = editor.getDocument(); if ((line + 1) >= document.getLineCount()) { return true; } int markerCount = getMarkerCount(line, document); if (markerCount == EVAL_IN_MARKER.length()) { return getMarkerCount(line + 1, document) != EVAL_OUT_MARKER.length(); } else if (!isLineRelationshipComputable && markerCount == EVAL_OUT_MARKER.length()) { return getMarkerCount(line + 1, document) == EVAL_IN_MARKER.length(); } else if (!isLineRelationshipComputable && markerCount == 0) { return getMarkerCount(line + 1, document) != 0 || (line != 0 && getMarkerCount(line - 1, document) != 0); } else { return doIsShowSeparatorLine(line, editor, document); } }