bugfix: keep wrapping lines within window boundaries

akkartik
Nov 21, 2023, 7:25 AM
GSZOSB6YJF247ACJHC2T6HD3QHGRDWURCRLVFR2UGYG2UU4EONUAC

Dependencies

  • [2] 4NFSODHH Merge text0
  • [3] ICS45BIL editor widget now takes a bottom margin
  • [4] H2DPLWMV snapshot: wrapping long lines at word boundaries
  • [5] UBA2ZUCP remove a duplicate print to screen
  • [6] I64IPGJX avoid saving fragments in lines
  • [7] ZM7NOBRM new fork: carousel shell
  • [*] BULPIBEG beginnings of a module for the text editor
  • [*] 3QNOKBFM beginnings of a test harness
  • [*] CUFW4EJL reorganize app.lua and its comments

Change contents

  • replacement in text.lua at line 85
    [4.1081][3.0:32]()
    if y >= State.bottom then
    [4.1081]
    [4.1118]
    if y + State.line_height > State.bottom then
  • edit in app.lua at line 230
    [2.748]
    [11.842]
    --? App.screen.init{width=120, height=60}
    --? Editor_state = edit.initialize_test_state()
    --? App.initialize_for_test()
    --? test_down_arrow_scrolls_down_by_one_screen_line()