enhance bugfix of commit a9aa3436f (Dec 2024)

[?]
Apr 9, 2023, 4:55 AM
WK6UK5AJS5RPR55LNME5IHQOIHYNEB6WWJHFXVSTBG6VR4ZA72MAC

Dependencies

  • [2] Z3IQ6A4R bugfix
  • [3] 2L5MEZV3 experiment: new edit namespace
  • [4] KKMFQDR4 editing source code from within the app
  • [5] LF7BWEG4 group all editor globals
  • [6] BH7BT36L ctrl+a: select entire buffer
  • [7] 2CK5QI7W make love event names consistent
  • [8] Z3BQO2RK typo
  • [9] LNUHQOGH start passing in Editor_state explicitly
  • [10] UHB4GARJ left/right margin -> left/right coordinates
  • [11] KMSL74GA support selections in the source editor

Change contents

  • replacement in source_edit.lua at line 348
    [3.32463][2.11:179]()
    chord ~= 'C-a' and chord ~= 'C-c' and chord ~= 'C-x' and chord ~= 'backspace' and chord ~= 'delete' and chord ~= 'C-z' and not App.is_cursor_movement(chord) then
    [3.32463]
    [3.32597]
    chord ~= 'C-a' and chord ~= 'C-c' and chord ~= 'C-x' and chord ~= 'backspace' and chord ~= 'delete' and chord ~= 'C-z' and chord ~= 'C-y' and not App.is_cursor_movement(chord) then
  • replacement in edit.lua at line 347
    [3.10752][2.195:363]()
    chord ~= 'C-a' and chord ~= 'C-c' and chord ~= 'C-x' and chord ~= 'backspace' and chord ~= 'delete' and chord ~= 'C-z' and not App.is_cursor_movement(chord) then
    [3.10752]
    [3.22916]
    chord ~= 'C-a' and chord ~= 'C-c' and chord ~= 'C-x' and chord ~= 'backspace' and chord ~= 'delete' and chord ~= 'C-z' and chord ~= 'C-y' and not App.is_cursor_movement(chord) then