In-progress browser for a directory of text files

bugfix: initial rect height for bg color

This fix wasn't found as cleanly as this commit suggests. The dataflow is getting quite complex:

  • compute_layout
    • creates a background rect of appropriate color
    • creates editor with incorrect left boundary
      • editor initializes em width
    • updates editor with correct left boundary based on em width (and line number ems)
    • computes box height based on editor data
    • updates height of background rect
  • edit.draw draws line numbers to the left of editor.left (but still within the background rect)

Created by  Kartik K. Agaram  on December 28, 2022
C472R5Z2F5ORCBB46YKBEKROI7EBVFDNYBLPMEJDE74M2ZMALIRQC
Change contents