feat: Complete row height implementation

Now all parts of spreadsheet respond to the -F <fontsize> command
  line argument in fteapot, and row heights are computed in terms of
  the resulting character size.

  There is a new menu option for setting row heights in fteapot.

  Documentation is updated, and keybindings are made more uniform between
  teapot and fteapot and more fully documented.

  Resolves #57.
This commit is contained in:
Glen Whitney 2023-04-09 01:35:05 -04:00
parent c9966d47c7
commit e945a98c54
8 changed files with 307 additions and 79 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.