commentLayout != null, "setCommentLayout(ILayout) must have been called first.");
commentLayout.format(styleSet, node, output, context);
}
else
// output the part of the text that is inside the region as verbatim text
output.appendText(match.apply().getFirst(), true);
}
}
@Override
protected void formatToken(StyleSet styleSet, IDomNode node, ITextFlow output, ILayoutContext context) {