press F4 to modify sources

akkartik
Jul 11, 2025, 7:47 PM
WRGI5TSGQLTFBBLVEV7B67S47UU6OW6PIUKWYY4ALWSMVHO2G32QC

Dependencies

  • [2] GX236KZG Revert "deemphasize the source editor"
  • [3] QKHCQXOH resolve conflicts
  • [4] 53GCKYYS resolve conflicts
  • [5] FE25XVZY yet another bugfix to the version check
  • [6] AKEXQV6A minor tweaks to manual tests while pushing to all forks
  • [7] APX2PY6G stop tracking wallclock time
  • [8] 57OGXVHZ Merge lines.love
  • [9] OB5XOXVC deemphasize the source editor
  • [10] 5XQ4Y7NU reorg manual tests doc
  • [11] JIK7ZRYI bugfix: imprecision in drawing
  • [12] TG3DFQG5 resolve conflicts
  • [13] D4FEFHQC flesh out Readme
  • [14] KKMFQDR4 editing source code from within the app
  • [15] EHADZNMB show any error after switching to source editor
  • [16] 3WNNXA6U bugfix: get tests to pass
  • [17] 6VJTQKW7 start supporting LÖVE v12
  • [18] VSBSWTE4 bugfix: where cursor is drawn
  • [19] VPRGENLA hide some details within the 'warning' state
  • [20] SW7BSBMJ several bugfixes in saving/loading cursor position
  • [21] EWJZ6XHB better formatting
  • [22] 6XLI6GUR resolve conflicts
  • [23] UEE5W7WJ document one more shortcut
  • [24] BH7BT36L ctrl+a: select entire buffer
  • [25] Z2VZTIXY redo version checks
  • [26] EUBREN3I Merge upstream into main
  • [27] FJIGUGEC bugfix: version check
  • [28] 3XQROLSK redo version checks yet again
  • [29] PE7QD5GR source editor: clear logs
  • [*] OTIBCAUJ love2d scaffold
  • [*] FS2ITYYH record a known issue
  • [*] BJ5X5O4A let's prevent the text cursor from ever getting on a drawing

Change contents

  • replacement in main.lua at line 99
    [5.79][5.79:158]()
    -- * I press ctrl+e, switch Current_app. I don't want the new app to receive
    [5.79]
    [5.158]
    -- * I press F4, switch Current_app. I don't want the new app to receive
  • replacement in main.lua at line 103
    [5.302][5.302:377]()
    -- * I press ctrl+e, am running an untested version, Current_app goes to
    [5.302]
    [5.187]
    -- * I press F4, am running an untested version, Current_app goes to
  • replacement in main.lua at line 228
    [5.1179][5.188858:188883](),[5.188858][5.188858:188883]()
    if chord == 'C-e' then
    [5.1179]
    [5.188883]
    if chord == 'f4' then
  • replacement in commands.lua at line 18
    [5.204994][5.204994:205030]()
    add_hotkey_to_menu('ctrl+e: run')
    [5.204994]
    [5.205030]
    add_hotkey_to_menu('F4: run')
  • replacement in README.md at line 39
    [5.739][2.130:163]()
    * `ctrl+e` to modify the sources
    [5.739]
    [5.884]
    * `F4` to modify the sources
  • replacement in Manual_tests.md at line 16
    [5.396][5.396:642]()
    - start out running the text editor, move window, press ctrl+e twice; window is running text editor in same position+dimensions
    - start out editing source, move window, press ctrl+e twice; window is editing source in same position+dimensions
    [5.396]
    [5.642]
    - start out running the text editor, move window, press F4 twice; window is running text editor in same position+dimensions
    - start out editing source, move window, press F4 twice; window is editing source in same position+dimensions
  • replacement in Manual_tests.md at line 33
    [5.169][5.211348:211526](),[5.211526][3.39:296]()
    * start out running the text editor, press ctrl+e to edit source, make a change to the source, press ctrl+e twice to return to the source editor; the change should be preserved.
    * run with an untested version of LÖVE. Error message pops up. Press a key. Text editor comes up, and doesn't receive the key. Press ctrl+e. Error pops up. Press a key. Source editor opens up. Press ctrl+e. Error pops up. Press a key. Text editor returns.
    [5.169]
    [5.907]
    * start out running the text editor, press F4 to edit source, make a change to the source, press F4 twice to return to the source editor; the change should be preserved.
    * run with an untested version of LÖVE. Error message pops up. Press a key. Text editor comes up, and doesn't receive the key. Press F4. Error pops up. Press a key. Source editor opens up. Press F4. Error pops up. Press a key. Text editor returns.