Append matches to the diff.

Parameters:

  • buf: buffer for the diff.
  • log: original log.
  • range: range to append to the diff.

Property definitions

saxophonit $ SAXEventLogger :: diff_append_matches
	# Append matches to the diff.
	#
	# Parameters:
	#
	# * `buf`: buffer for the diff.
	# * `log`: original log.
	# * `range`: range to append to the diff.
	private fun diff_append_matches(buf: Buffer, log: Array[Array[String]],
			range: Range[Int]) do
		for i in range do
			buf.append("= {i}|{log[i].join("; ")}\n")
		end
	end
lib/saxophonit/testing.nit:167,2--179,4