row_heights (#77)

Implements row heights and a command-line option `-F nn` for fteapot to set the general font size.

Also improves documentation and uniformizes key bindings somewhat between teapot and fteapot.

Resolves #57.

Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Reviewed-on: #77
This commit is contained in:
Glen Whitney 2023-04-09 05:41:50 +00:00
parent 118374c46e
commit 0ca9d0176b
12 changed files with 588 additions and 167 deletions

6
NEWS
View file

@ -11,19 +11,20 @@ o Comparison operators return bool rather than int (Note this can be a breaking
change; you may need to wrap comparisons in int() if you are using the result
in a numerical computation.)
o Foreground and background color style attributes for cells.
o Variable row height for cells.
o Addition of a find() macro to search for a cell satisfying a condition.
o Addition of an is(VALUE, TYPE, TYPE,...) predicate
o Addition of functions for unit displacements in the six cardinal directions
(left, right, up, down, above, below)
o TPA is now the default file format
o Addition of hexact float format, which allow for exact round trips to ASCII
o Addition of hexact float format, which allows for exact round trips to ASCII
o New token type: funcall (which basically amounts to an expression). This
allows parsed rather than unparsed expressions to be stored in cells, and
allows macros which receive their arguments unevaluated.
o sum(), min(), and max() can now operate over their list of arguments as well
as over a block.
o Added floor(), ceil(), trunc(), and round() functions for finding integers
associated with doubles, eiminating (note possible breaking change) the
associated with doubles, eliminating (note possible breaking change) the
int conversion with two rounding directions.
o Precedence of unary "-" made lower than exponentiation "^" to match Python;
note possible breaking change.
@ -34,6 +35,7 @@ o Fill With operation for quickly filling the selected block with a single cell.
o Additional arithmetic operations on locations.
o Documentation better aligned with current behavior.
o Additional key commands for clocking/resetting the sheet.
o New -F command line argument to set the overall font size for fteapot.
Bug fixes:
o Occasional early coredumps of teapot have been eliminated.