source: show files in MRU order

[?]
Sep 19, 2022, 7:37 AM
W6XUYQKPHYZLEMBPY5L2WCGXIDBKAHVAWAH5V7BKYQXZO33DTNIQC

Dependencies

  • [2] ZTK4QTZT extract a couple of functions
  • [3] QZ2SXLHF some debug prints
  • [4] IOCATA27 bugfix: never skip files in file navigator
  • [5] LZYLOTP3 rename
  • [6] NYRESFK6 source: show all files in navigator
  • [7] KKMFQDR4 editing source code from within the app
  • [8] GQKUD7QX delete some logs

Change contents

  • edit in commands.lua at line 67
    [3.87][3.87:120](),[3.120][3.206360:206487](),[3.206360][3.206360:206487]()
    if filename == 'source' then
    App.color(Menu_border_color)
    love.graphics.line(Menu_cursor-10,2, Menu_cursor-10,Menu_status_bar_height-2)
    end
  • edit in commands.lua at line 133
    [2.85]
    [2.85]
    move_candidate_to_front(s)
  • edit in commands.lua at line 137
    [2.189]
    [2.189]
    end
    function move_candidate_to_front(s)
    local index = array.find(File_navigation.all_candidates, s)
    assert(index)
    table.remove(File_navigation.all_candidates, index)
    table.insert(File_navigation.all_candidates, 1, s)