Navigation
Synopsis Outline to summarize file related information.
Function Figure outline(list[LineDecoration] lineInfo, int maxLine, FProperty props...)
Description An outline is a rectangle with colored horizontal lines and is primarily used to summarize information related to a source file. Colored lines indicate different findings in the file. Dimensions are determined by the width and height properties. lineInfo is a list of LineDecorations that associate information, warnings, errors or highlights with a specific line. This information is also used by source editors.
Examples
render(outline([info(100,"a"), warning(125, "b"), highlight(190, "c")], 200, size(50, 200)));
outline 1
Benefits In combination with pack or hvcat information amount large amounts of files can be summarized densely.
Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit ask.rascal-mpl.org.