anchor.diff:      lo_html->add( '<th class="cmd"><a href=#diff_1>&#x25BC; 1</a></th>' ). "#EC NOTEXT
       lo_html->add( '</tr>' ).                                "#EC NOTEXT
   
  -    LOOP AT lt_diffs ASSIGNING <ls_diff> WHERE short = abap_true.
  -      lv_index  = sy-tabix.
  +    LOOP AT lt_diffs ASSIGNING <ls_diff>.
  +      IF <ls_diff>-short = abap_false.
  +        lb_insert_nav = abap_true.
  +        CONTINUE.
  +      ENDIF.
  +
  +      IF lb_insert_nav = abap_true. " Insert separator line with navigation
  +        lb_insert_nav = abap_false.
  +        lo_html->add( '<tr class="diff_nav_line"><td class="num"></td>' ).
  +        lo_html->add( |<td colspan="4">@@ { <ls_diff>-local_line }, { <ls_diff>-remote_line }</td>| ).
  +        lo_html->add( '</tr>' ).
  +      ENDIF.
  +
         lv_local  = escape( val = <ls_diff>-local  format = cl_abap_format=>e_html_attr ).
         lv_remote = escape( val = <ls_diff>-remote format = cl_abap_format=>e_html_attr ).
   
  
positive.code:           WHERE NOT result IS INITIAL AND short = abap_false.
          lv_index = sy-tabix.
  
          DO 20 TIMES.
            READ TABLE mt_diff INDEX lv_index ASSIGNING <ls_diff>.
            IF sy-subrc <> 0 OR <ls_diff>-short = abap_true.
              EXIT.
            ENDIF.
            <ls_diff>-short = abap_true.
            lv_index = lv_index - 1.
          ENDDO.
  
        ENDLOOP.
  
negative.code:     FIELD-SYMBOLS: <ls_diff> LIKE LINE OF mt_diff.
  
  
      IF lines( mt_diff ) < 500.
        LOOP AT mt_diff ASSIGNING <ls_diff>.
          <ls_diff>-short = abap_true.
        ENDLOOP.
  