make a few names consistent with snake_case

[?]
Aug 30, 2023, 1:43 PM
FPY4LO2WZNXUYCZ6MOQBSPGCC3M3PE7YX2TJIFRNEQLJ4ACWUPVAC

Dependencies

  • [2] CUFW4EJL reorganize app.lua and its comments
  • [3] LNUHQOGH start passing in Editor_state explicitly
  • [4] KKMFQDR4 editing source code from within the app
  • [5] S2MISTTM add state arg to a few functions
  • [6] OI4FPFIN support drawings in the source editor
  • [7] Z5HLXU4P add state arg to a few functions
  • [8] 7CLGG7J2 test: autosave after any shape
  • [9] 7IDHIAYI rename modifier_down to key_down
  • [10] ISOFHXB2 App.width can no longer take a Text
  • [11] BH7BT36L ctrl+a: select entire buffer
  • [12] 2L4DL7PG go through App in a couple more places
  • [13] 4KC7I3E2 make colors easier to edit
  • [14] LF7BWEG4 group all editor globals
  • [15] G54H3YG2 get rid of all bifold text
  • [16] H4R5BHVY no more Text allocations
  • [17] UHB4GARJ left/right margin -> left/right coordinates
  • [18] JFFUF5AL override mouse state lookups in tests
  • [19] HKV72RZV bugfix: save modified files in save directory
  • [20] IFTYOERM line.y -> line_cache.starty in a few more places
  • [21] P7FOVH3D document a couple of miscellaneous helpers
  • [22] PX7DDEMO autosave slightly less aggressively
  • [23] 2L5MEZV3 experiment: new edit namespace
  • [24] R3KXFRZN get rid of to_text
  • [25] N2NUGNN4 include a brief reference enabling many useful apps
  • [26] AD34IX2Z couple more tests
  • [27] ZLJGZYQG select text with shift + mouseclick
  • [28] MTJEVRJR add state arg to a few functions
  • [29] JF5L2BBS test harness now supports copy/paste
  • [30] PTDO2SOT add state arg to schedule_save
  • [31] 3QWK3GSA support mouse clicks in file navigator
  • [32] AVTNUQYR basic test-enabled framework
  • [*] 3QNOKBFM beginnings of a test harness

Change contents

  • replacement in source_edit.lua at line 451
    [3.161908][3.161908:161938]()
    App.setClipboardText(s)
    [3.161908]
    [3.161938]
    App.set_clipboard(s)
  • replacement in source_edit.lua at line 457
    [3.162161][3.162161:162191]()
    App.setClipboardText(s)
    [3.162161]
    [3.162191]
    App.set_clipboard(s)
  • replacement in source_edit.lua at line 466
    [3.162587][3.162587:162637]()
    local clipboard_data = App.getClipboardText()
    [3.162587]
    [3.162637]
    local clipboard_data = App.get_clipboard()
  • replacement in reference.md at line 382
    [3.11956][3.11956:12026]()
    * `App.getTime()` -- returns the number of seconds elapsed since some
    [3.11956]
    [3.12026]
    * `App.get_time()` -- returns the number of seconds elapsed since some
  • replacement in reference.md at line 386
    [3.12119][3.12119:12193]()
    * `App.getClipboardText()` -- returns a string with the current clipboard
    [3.12119]
    [3.12193]
    * `App.get_clipboard()` -- returns a string with the current clipboard
  • replacement in reference.md at line 390
    [3.12282][3.12282:12359]()
    * `App.setClipboardText(text)` -- stores the string `text` in the clipboard.
    [3.12282]
    [3.12359]
    * `App.set_clipboard(text)` -- stores the string `text` in the clipboard.
  • replacement in edit.lua at line 462
    [3.13365][3.13365:13395]()
    App.setClipboardText(s)
    [3.13365]
    [3.13395]
    App.set_clipboard(s)
  • replacement in edit.lua at line 468
    [3.13602][3.13602:13632]()
    App.setClipboardText(s)
    [3.13602]
    [3.13632]
    App.set_clipboard(s)
  • replacement in edit.lua at line 477
    [3.2709][3.13982:14032](),[3.13982][3.13982:14032]()
    local clipboard_data = App.getClipboardText()
    [3.2709]
    [3.14032]
    local clipboard_data = App.get_clipboard()
  • replacement in app.lua at line 172
    [3.387][2.2155:2230]()
    -- If you access the time using App.getTime instead of love.timer.getTime,
    [3.387]
    [2.2230]
    -- If you access the time using App.get_time instead of love.timer.getTime,
  • replacement in app.lua at line 177
    [3.1511][3.1511:1534]()
    function App.getTime()
    [3.1511]
    [3.1534]
    function App.get_time()
  • replacement in app.lua at line 188
    [3.2820][2.2333:2593]()
    -- If you access the clipboard using App.getClipboardText and
    -- App.setClipboardText instead of love.system.getClipboardText and
    -- love.system.setClipboardText respectively, tests will be able to manipulate
    -- the clipboard by reading/writing App.clipboard.
    [3.2820]
    [2.2593]
    -- If you access the clipboard using App.get_clipboard and App.set_clipboard
    -- instead of love.system.getClipboardText and love.system.setClipboardText
    -- respectively, tests will be able to manipulate the clipboard by
    -- reading/writing App.clipboard.
  • replacement in app.lua at line 194
    [3.2839][3.2839:2871]()
    function App.getClipboardText()
    [3.2839]
    [3.2871]
    function App.get_clipboard()
  • replacement in app.lua at line 197
    [3.6983][3.2895:2928]()
    function App.setClipboardText(s)
    [3.6983]
    [3.2928]
    function App.set_clipboard(s)
  • replacement in app.lua at line 420
    [3.913][3.1742:1777](),[3.2791][3.1742:1777](),[3.1777][3.2953:3061](),[3.2791][3.2953:3061]()
    App.getTime = love.timer.getTime
    App.getClipboardText = love.system.getClipboardText
    App.setClipboardText = love.system.setClipboardText
    [3.913]
    [3.369]
    App.get_time = love.timer.getTime
    App.get_clipboard = love.system.getClipboardText
    App.set_clipboard = love.system.setClipboardText