wp/wp-includes/class-wp-text-diff-renderer-table.php
changeset 19 3d72ae0968f4
parent 18 be944660c56a
child 21 48c4eec2b7e6
equal deleted inserted replaced
18:be944660c56a 19:3d72ae0968f4
   253 		 * Does the aforementioned additional processing:
   253 		 * Does the aforementioned additional processing:
   254 		 * *_matches tell what rows are "the same" in orig and final. Those pairs will be diffed to get word changes.
   254 		 * *_matches tell what rows are "the same" in orig and final. Those pairs will be diffed to get word changes.
   255 		 * - match is numeric: an index in other column.
   255 		 * - match is numeric: an index in other column.
   256 		 * - match is 'X': no match. It is a new row.
   256 		 * - match is 'X': no match. It is a new row.
   257 		 * *_rows are column vectors for the orig column and the final column.
   257 		 * *_rows are column vectors for the orig column and the final column.
   258 		 * - row >= 0: an indix of the $orig or $final array.
   258 		 * - row >= 0: an index of the $orig or $final array.
   259 		 * - row < 0: a blank row for that column.
   259 		 * - row < 0: a blank row for that column.
   260 		 */
   260 		 */
   261 		list($orig_matches, $final_matches, $orig_rows, $final_rows) = $this->interleave_changed_lines( $orig, $final );
   261 		list($orig_matches, $final_matches, $orig_rows, $final_rows) = $this->interleave_changed_lines( $orig, $final );
   262 
   262 
   263 		// These will hold the word changes as determined by an inline diff.
   263 		// These will hold the word changes as determined by an inline diff.