code.framework.text

->string

added in 3.0

(->string results lines line-lu {:keys [highlight text], :or {text {:normal :cyan, :highlight :yellow}}})

turns a set of results into a output string for printing

deltas

added in 3.0

(deltas ns analysis original revised)

returns a list of changes between the original and revised versions

highlight-lines

added in 3.0

(highlight-lines lines {:keys [row col end-row end-col], :as cinfo} offset {:keys [text]})

highlights a segment of code in a different color

summarise-deltas

added in 3.0

(summarise-deltas deltas)

summary of what changes have been made