Merge upstream into main

[?]
Jul 16, 2022, 5:19 AM
VEGH5443JSRQNVSZXNP6A2F6A2Y3HBAGKGIKU6D2BCT2VDTPWH6AC

Dependencies

  • [2] MSDHRXWU Merge upstream into main
  • [3] B5O6ONSK Merge upstream into main
  • [4] H6QZ7GRR more precise name
  • [5] Z4KNS42N to open a file without a terminal, drag it on!
  • [6] XSLCFVFH .
  • [7] CNCYMM6A make test initializations a little more obvious
  • [8] OTIBCAUJ love2d scaffold
  • [9] R6GUSTBY default font size and line-height
  • [10] 5MR22SGZ bugfix: enable resize when loading settings
  • [11] ELIVOJ4N bugfix: zoom in/out hotkeys
  • [12] AJB4LFRB try to maintain a reasonable line width
  • [13] LF7BWEG4 group all editor globals
  • [14] UHB4GARJ left/right margin -> left/right coordinates
  • [15] AVTNUQYR basic test-enabled framework
  • [16] YGCT2D2O start loading settings as applicable
  • [17] ZLEPKWDJ fork: capture frontend for a note-taking system

Change contents

  • resurrect zombie in main.lua at line 64
    [5.517][5.4934:5089](),[5.517][5.4934:5089]()
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width-Margin_right, settings.font_height, math.floor(settings.font_height*1.3))
  • edit in main.lua at line 102
    [5.7][5.8:293](),[5.7][5.8:293]()
    function initialize_font_settings(font_height)
    Editor_state.font_height = font_height
    love.graphics.setFont(love.graphics.newFont(Editor_state.font_height))
    Editor_state.line_height = math.floor(font_height*1.3)
    Editor_state.em = App.newText(love.graphics.getFont(), 'm')
    end