add idiomatic home/end on Mac OS

akkartik
Nov 12, 2025, 6:17 PM
GYPLUBXNFEHHAYSCFNW65WADQB7ZBQTAQASGBPPER6GMDRQ35UMAC

Dependencies

  • [2] IM3RBHY2 spurious args
  • [3] KMSL74GA support selections in the source editor
  • [4] LF7BWEG4 group all editor globals
  • [5] DHI6IJCN selecting text and deleting selections
  • [6] Z5HLXU4P add state arg to a few functions
  • [7] UHB4GARJ left/right margin -> left/right coordinates
  • [8] KKMFQDR4 editing source code from within the app
  • [9] CG3264MM move
  • [10] ZHLO7K3M add args to some functions
  • [11] 4KOI3E6R remove some redundant checks
  • [12] X75QPYVW move Selection1 clearing past business logic
  • [13] EBBFOW4X bugfix: clear selection in a couple more places
  • [14] AVLAYODP much simpler
  • [15] HTWAM4NZ bugfix: scrolling in left/right movements
  • [16] ZPUQSPQP extract a few methods
  • [17] SPSW74Y5 add state arg to Text.keychord_pressed
  • [*] BULPIBEG beginnings of a module for the text editor

Change contents

  • replacement in text.lua at line 312
    [4.45][4.1073:1103](),[2.202][4.1073:1103](),[4.498][4.1073:1103](),[4.1157][4.1073:1103](),[4.5501][4.1073:1103](),[4.9398][4.1073:1103](),[4.16192][4.1073:1103](),[4.63695][4.1073:1103](),[4.1073][4.1073:1103]()
    elseif chord == 'home' then
    [2.202]
    [4.1158]
    elseif chord == 'home' or (OS == 'OS X' and chord == 's-left') then
  • replacement in text.lua at line 315
    [4.23][4.86:115](),[4.5528][4.86:115](),[4.63729][4.86:115](),[4.128][4.86:115]()
    elseif chord == 'end' then
    [4.5528]
    [2.203]
    elseif chord == 'end' or (OS == 'OS X' and chord == 's-right') then
  • replacement in source_text.lua at line 389
    [4.106000][4.106000:106030]()
    elseif chord == 'home' then
    [4.106000]
    [4.106030]
    elseif chord == 'home' or (OS == 'OS X' and chord == 's-left') then
  • replacement in source_text.lua at line 392
    [3.22256][4.106060:106089](),[4.106060][4.106060:106089]()
    elseif chord == 'end' then
    [3.22256]
    [4.106089]
    elseif chord == 'end' or (OS == 'OS X' and chord == 's-right') then