TEditCompile.mesa
Copyright © 1985 by Xerox Corporation. All rights reserved.
Edited by McGregor on August 4, 1982 3:30 pm
Doug Wyatt, March 3, 1985 12:30:45 pm PST
TEditCompile: CEDAR DEFINITIONS
= BEGIN
maxLineHeight: INTEGER = 32; -- should be multiple of 4
The editor can format lines up to maxLineHeight pixels in vertical size (not counting leading), 3/4 of which is above the baseline.
maxLineAscent: INTEGER = (maxLineHeight*3)/4;
maxLineDescent: INTEGER = maxLineHeight/4;
bitmapWPL: CARDINAL = 1024/16; -- should be multiple of 16
The editor can format lines up to bitmapWPL*16 pixels in the horizontal dimension, not counting margins.
maxCharsPerLine: INTEGER = 256;
The editor can format lines with as many as maxCharsPerLine characters in a single line.
minAvgLineLeading: INTEGER = 8;
The editor allocates line table space for at least minAvgLineLeading over the document.
END.