Merge lines.love

[?]
Sep 11, 2022, 2:31 AM
3HIZXZI7MCMZ6VJW3IUVO7ERQZLUPALTOLKWJOVTYBVZPUSPXQNAC

Dependencies

  • [2] 57OGXVHZ Merge lines.love
  • [3] ZJOSQFN6 bugfix: path munging on Windows
  • [4] CV6XLZMW trailing slash on directory
  • [5] KKMFQDR4 editing source code from within the app
  • [6] 2L5MEZV3 experiment: new edit namespace
  • [7] CQYKYJJU remember window positions across restart/ctrl+e
  • [8] LF7BWEG4 group all editor globals
  • [9] UHB4GARJ left/right margin -> left/right coordinates
  • [10] MSDHRXWU Merge upstream into main
  • [11] TGZAJUEF bring back a set of constants

Change contents

  • edit in run.lua at line 113
    [4.182611][3.302:485](),[4.182611][3.302:485]()
    local os_path_separator = package.config:sub(1,1)
    if filename:sub(1,1) ~= os_path_separator then
    filename = love.filesystem.getWorkingDirectory()..os_path_separator..filename
  • replacement in edit.lua at line 97
    [4.3539][4.95:174]()
    directory = dirname(love.filesystem.getSaveDirectory())..'pensieve/data/',
    [4.3539]
    [4.343]
    directory = dirname(love.filesystem.getSaveDirectory())..'pensieve/data/', -- '/' should work even on Windows
  • edit in edit.lua at line 99
    [4.3539][3.496:597]()
    filename = love.filesystem.getUserDirectory()..'/lines.txt', -- '/' should work even on Windows
  • resolve order conflict in edit.lua at line 99
    [4.427]
    [4.97660]