spurious args

[?]
Aug 18, 2022, 7:09 PM
IM3RBHY2QI5UHLPHT4QB3YECS7CRBEFE765DDKXOW267AOQZL5QQC

Dependencies

  • [2] UHB4GARJ left/right margin -> left/right coordinates
  • [3] SVJZZDC3 snapshot - no, that's all wrong
  • [4] PTDO2SOT add state arg to schedule_save
  • [5] XNFTJHC4 split keyboard handling between Text and Drawing
  • [6] DHI6IJCN selecting text and deleting selections
  • [7] EMHRPJ3R no, that's not right
  • [8] ZHLO7K3M add args to some functions
  • [9] GN3IF4WF bugfix: pasting newlines
  • [10] LF7BWEG4 group all editor globals
  • [11] 4KOI3E6R remove some redundant checks
  • [12] ZPUQSPQP extract a few methods
  • [13] DLQMM265 scroll past first page
  • [14] HTWAM4NZ bugfix: scrolling in left/right movements
  • [15] AMSESRTH move some code
  • [16] VJ77YABH more efficient undo/redo
  • [17] CG3264MM move
  • [18] EBBFOW4X bugfix: clear selection in a couple more places
  • [19] SPSW74Y5 add state arg to Text.keychord_pressed
  • [20] MTJEVRJR add state arg to a few functions
  • [21] 2RXZ3PGO beginning of a new approach to scroll+wrap
  • [22] V5MJRFOZ bugfix: down arrow doesn't scroll up unnecessarily
  • [23] KOYAJWE4 extract a couple more methods
  • [24] AOIRVVJA revert selection logic to before commit 3ffc2ed8f
  • [25] X75QPYVW move Selection1 clearing past business logic
  • [26] AVLAYODP much simpler
  • [27] Z5HLXU4P add state arg to a few functions
  • [*] BULPIBEG beginnings of a module for the text editor

Change contents

  • replacement in text.lua at line 284
    [3.277][2.15793:15839]()
    Text.left(State, State.left, State.right)
    [3.277]
    [3.4412]
    Text.left(State)
  • replacement in text.lua at line 287
    [3.324][2.15840:15887]()
    Text.right(State, State.left, State.right)
    [3.324]
    [3.4510]
    Text.right(State)
  • replacement in text.lua at line 293
    [3.8804][2.15888:15934]()
    Text.left(State, State.left, State.right)
    [3.8804]
    [3.8820]
    Text.left(State)
  • replacement in text.lua at line 298
    [3.8952][2.15935:15982]()
    Text.right(State, State.left, State.right)
    [3.8952]
    [3.369]
    Text.right(State)
  • replacement in text.lua at line 301
    [3.456][2.15983:16034]()
    Text.word_left(State, State.left, State.right)
    [3.456]
    [3.4987]
    Text.word_left(State)
  • replacement in text.lua at line 304
    [3.794][2.16035:16087]()
    Text.word_right(State, State.left, State.right)
    [3.794]
    [3.5090]
    Text.word_right(State)
  • replacement in text.lua at line 310
    [3.9221][2.16088:16139]()
    Text.word_left(State, State.left, State.right)
    [3.9221]
    [3.9242]
    Text.word_left(State)
  • replacement in text.lua at line 315
    [3.9376][2.16140:16192]()
    Text.word_right(State, State.left, State.right)
    [3.9376]
    [3.1073]
    Text.word_right(State)
  • replacement in text.lua at line 320
    [3.115][2.16193:16246]()
    Text.end_of_line(State, State.left, State.right)
    [3.115]
    [3.5606]
    Text.end_of_line(State)
  • replacement in text.lua at line 331
    [3.9798][2.16247:16300]()
    Text.end_of_line(State, State.left, State.right)
    [3.9798]
    [3.3956]
    Text.end_of_line(State)
  • replacement in text.lua at line 333
    [3.3984][2.16301:16345]()
    Text.up(State, State.left, State.right)
    [3.3984]
    [3.6011]
    Text.up(State)
  • replacement in text.lua at line 336
    [3.4463][2.16346:16392]()
    Text.down(State, State.left, State.right)
    [3.4463]
    [3.6108]
    Text.down(State)
  • replacement in text.lua at line 342
    [3.10118][2.16393:16437]()
    Text.up(State, State.left, State.right)
    [3.10118]
    [3.10132]
    Text.up(State)
  • replacement in text.lua at line 347
    [3.10263][2.16438:16484]()
    Text.down(State, State.left, State.right)
    [3.10263]
    [3.1]
    Text.down(State)
  • replacement in text.lua at line 349
    [3.33][2.16485:16533]()
    Text.pageup(State, State.left, State.right)
    [3.33]
    [3.6579]
    Text.pageup(State)
  • replacement in text.lua at line 352
    [3.893][2.16534:16584]()
    Text.pagedown(State, State.left, State.right)
    [3.893]
    [3.6680]
    Text.pagedown(State)
  • replacement in text.lua at line 358
    [3.10534][2.16585:16633]()
    Text.pageup(State, State.left, State.right)
    [3.10534]
    [3.10552]
    Text.pageup(State)
  • replacement in text.lua at line 363
    [3.10687][2.16634:16684]()
    Text.pagedown(State, State.left, State.right)
    [3.10687]
    [3.182]
    Text.pagedown(State)