Merge text.love

[?]
Jan 2, 2023, 2:08 AM
W5H5YI6SQD2OZYEX4E3RX7WKBHH4FKKJAD4TQVPQK64LGXZGOTJAC

Dependencies

Change contents

  • file deletion: source.lua (----------)source.lua (----------)
    [4.2][4.177715:177749](),[4.2][4.177715:177749](),[4.177749][4.165829:165829]()
    App.screen.flags.minheight = math.min(App.screen.height, 200)
    App.screen.resize(App.screen.width, App.screen.height, App.screen.flags)
  • file deletion: run.lua (----------)run.lua (----------)
    [4.2][4.183867:183898](),[4.2][4.183867:183898](),[4.183898][4.178107:178107]()
    App.screen.flags.minheight = math.min(App.screen.height, 200)
    love.window.setMode(App.screen.width, App.screen.height, App.screen.flags)
    end
    function run.resize(w, h)
    --? print(("Window resized to width: %d and height: %d."):format(w, h))
    App.screen.width, App.screen.height = w, h
    Text.redraw_all(Editor_state)
    Editor_state.selection1 = {} -- no support for shift drag while we're resizing
    Editor_state.right = App.screen.width-Margin_right
    Editor_state.width = Editor_state.right-Editor_state.left
    Text.tweak_screen_top_and_cursor(Editor_state, Editor_state.left, Editor_state.right)
    end
    App.screen.flags.minheight = math.min(App.screen.height, 200)
    App.screen.width, App.screen.height = Settings.width, Settings.height
    love.window.setMode(App.screen.width, App.screen.height, App.screen.flags)
  • replacement in main.lua at line 75
    [4.3593][4.3593:3656]()
    App.screen.flags.minheight = math.min(App.screen.width, 200)
    [4.3593]
    [4.3656]
    App.screen.flags.minheight = math.min(App.screen.height, 200)
  • replacement in main.lua at line 105
    [4.4967][4.4967:5030]()
    App.screen.flags.minheight = math.min(App.screen.width, 200)
    [4.4967]
    [4.5030]
    App.screen.flags.minheight = math.min(App.screen.height, 200)