formats = new ArrayList<OutputFormat>();
}
public TextDisplayRow getRow(Line viewRow) {
OutputRow row = new OutputRow(viewRow);
ColouredString seperator = null;
int l = widths.getColumnCount();
HighlightResult highlightResults = null;
if (highlight != null) {
highlightResults = highlight.getHighlights(viewRow);
}
ColourPair rowColour = highlightResults != null ? highlightResults.getRow() : null;
if (rowColour != null) {
seperator = this.seperator.changeColour(rowColour);
} else {
seperator = this.seperator;
}
if (viewRow.isFailed()) {
row.append(new ColouredString(rowColour, viewRow.toString()));
return row;
}
MultiColourString gridRow = new MultiColourString();
boolean firstColumn = true;