resolve conflicts

akkartik
Aug 16, 2025, 10:00 PM
BYFC3K36BD65XRT7FSK6HRWX5S7MPIQ5WCMVGFBKBF3AOPYQHEAQC

Dependencies

  • [2] XZ6QAC5X merge bugfix
  • [3] EWWIFR6P resolve conflicts
  • [4] WTNHAVK5 pijul bug
  • [5] MQCCBXP2 resolve conflicts
  • [6] 5X52XYQ3 resolve conflicts
  • [7] CD7JC76C resolve conflicts
  • [8] 5BMR5HRT click to the left of a line
  • [9] YFW4MNNP handle wrapping lines
  • [10] NZKYPBSK check for scroll when just typing
  • [11] T3B4NLV3 include a unit test
  • [12] LF7BWEG4 group all editor globals
  • [13] GDAWPFAV more streamlined test names
  • [14] DSLD74DK lots more tests
  • [15] IFTYOERM line.y -> line_cache.starty in a few more places
  • [16] ORRSP7FV deduce test names on failures
  • [17] FHNPQBLK more carefully pass the 'key' arg around
  • [18] ZS5IYZH5 stop caching screen_bottom1
  • [19] S2YQBEYC snapshot: test for a new regression
  • [20] CZQ3NJ4N Merge text0
  • [21] LLAOOMUL bugfix: search upwards
  • [22] 4FTOQOPZ bugfix #2 in search UI
  • [23] ER5RKUWU resolve conflicts
  • [24] RLCO2SNK wrap lines like lines2 forks
  • [25] PLKNHYZ4 extract a function
  • [26] EKKFWP4D bugfix: couple of margin-relative computations
  • [27] 2H76FV5S bugfix: searching files containing unicode
  • [28] MPLM5UH7 resolve conflicts
  • [29] O7YTBRQY bugfix: restart search on backspace
  • [30] GZ2OYPSH configurable colors and cursor in editor widget
  • [31] 4WAFGF4Z selection bugfix
  • [32] MD3W5IRA new fork: rip out drawing support
  • [33] P6SYWBLB remove a duplicate test
  • [34] NQM25OZV reduce use of rfind
  • [35] QKAMUWSB another bugfix in scrolling while inserting text
  • [36] FYJXSWXV resolve conflicts
  • [37] T42Y5MLO explicitly specify app name
  • [38] WAR3HXHT test both ways of selecting text with mouse
  • [39] APYPFFS3 call edit rather than App callbacks in tests
  • [40] UHB4GARJ left/right margin -> left/right coordinates
  • [41] H3ECRBXF bugfix: clicking on empty lines
  • [42] 2O4OXP5X comment
  • [43] KKQKPGCI resolve conflicts
  • [44] 52NEZG2F Merge text0
  • [45] RMKMPFT5 fix a corner case when selecting text
  • [46] MUJTM6RE bring back a level of wrapping
  • [47] HPVT467W initialize contains test state
  • [48] AMOPICKV bugfix: check after cursor on same line when searching upwards
  • [49] KOTI3MFG bugfix in previous commit
  • [50] 7EQLPB3O bugfix: don't delete selection when moving cursor
  • [51] 2LC3BM2N support other whitespace chars in word movements
  • [52] EMHRPJ3R no, that's not right
  • [53] 4CTZOJPC stop pretending globals are local
  • [54] Y4SPXCM3 bugfix: pagedown was sometimes bouncing up
  • [55] 7RKFA3VA failing test now looks realistic
  • [56] NUZFHX6I flesh out some tests for word movements
  • [57] 656FM555 bugfix: clear selection when clicking above or below lines
  • [58] F4RUTOND split up editor tests between LÖVE 11 and LÖVE 12
  • [59] B4USRORM disable DPI scaling
  • [60] O2E2MUT2 resolve conflicts
  • [61] 2N3HLCOV Merge text0
  • [62] V3EABA35 skip multiple consecutive whitespace
  • [63] HTWAM4NZ bugfix: scrolling in left/right movements
  • [64] 2JLVAYHB start decoupling editor tests from App
  • [65] FZBXBUFF bugfix: search
  • [66] MSOQI3A5 bugfix: check before cursor on same line
  • [67] ZLJGZYQG select text with shift + mouseclick
  • [68] LSYLEVBD drop some redundant args when clearing the cache
  • [69] 2CK5QI7W make love event names consistent
  • [70] CYEH4AXB a prefix for metadata in the manifest
  • [71] CYGNFOA5 Merge text0
  • [72] 6RYLD5ON change how we handle clicks above top margin
  • [73] TGHAJBES use line cache for drawings as well
  • [74] 6XCJX4DZ bugfix: inscript's bug
  • [75] CIQN2MDE bugfix: typing a capital letter deletes selection
  • [76] B4FAIVRA Merge lines.love
  • [77] Y2ZIPXEM new test
  • [78] LNUHQOGH start passing in Editor_state explicitly
  • [79] UFOVVX3Z Merge text0
  • [80] 2TCIWW6Z stop caching starty
  • [81] VG75U7IM bugfix: typing should delete highlighted text
  • [82] ILOA5BYF separate data structure for each line's cache data
  • [83] KMRJOSLY bugfix: delete selection before pasting
  • [84] LXTTOB33 extract a couple of files
  • [85] 6K5PFF6X helper: trimming whitespace from strings
  • [*] BULPIBEG beginnings of a module for the text editor

Change contents

  • replacement in text_tests_love11.lua at line 6
    [8.87840][8.87840:87866]()
    edit.draw(Editor_state)
    [8.87840]
    [8.87866]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 34
    [8.90043][8.90043:90069]()
    edit.draw(Editor_state)
    [8.90043]
    [8.90069]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 57
    [8.90782][8.90782:90808]()
    edit.draw(Editor_state)
    [8.90782]
    [8.90808]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 68
    [8.91143][8.91143:91169]()
    edit.draw(Editor_state)
    [8.91143]
    [8.91169]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 79
    [8.91531][8.91531:91557]()
    edit.draw(Editor_state)
    [8.91531]
    [8.91557]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 91
    [8.92003][8.92003:92029]()
    edit.draw(Editor_state)
    [8.92003]
    [8.92029]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 103
    [8.92426][8.92426:92452]()
    edit.draw(Editor_state)
    [8.92426]
    [8.92452]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 114
    [8.92846][8.92846:92872]()
    edit.draw(Editor_state)
    [8.92846]
    [8.92872]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 125
    [8.93258][8.93258:93284]()
    edit.draw(Editor_state)
    [8.93258]
    [8.93284]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 136
    [8.93675][8.93675:93701]()
    edit.draw(Editor_state)
    [8.93675]
    [8.93701]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 147
    [8.94104][8.94104:94130]()
    edit.draw(Editor_state)
    [8.94104]
    [8.94130]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 158
    [8.94508][8.94508:94534]()
    edit.draw(Editor_state)
    [8.94508]
    [8.94534]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 170
    [8.94935][8.94935:94961]()
    edit.draw(Editor_state)
    [8.94935]
    [8.94961]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 181
    [8.95344][8.95344:95370]()
    edit.draw(Editor_state)
    [8.95344]
    [8.95370]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 192
    [8.95763][8.95763:95789]()
    edit.draw(Editor_state)
    [8.95763]
    [8.95789]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 203
    [8.96190][8.96190:96216]()
    edit.draw(Editor_state)
    [8.96190]
    [8.96216]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 214
    [8.96592][8.96592:96618]()
    edit.draw(Editor_state)
    [8.96592]
    [8.96618]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 228
    [8.97103][8.97103:97176]()
    edit.draw(Editor_state) -- populate line_cache.startpos for each line
    [8.97103]
    [8.97176]
    edit.draw(Editor_state, Text_color) -- populate line_cache.startpos for each line
  • replacement in text_tests_love11.lua at line 247
    [8.97952][8.97952:97978]()
    edit.draw(Editor_state)
    [8.97952]
    [8.97978]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 266
    [8.98784][8.98784:98810]()
    edit.draw(Editor_state)
    [8.98784]
    [8.98810]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 284
    [8.99518][8.99518:99544]()
    edit.draw(Editor_state)
    [8.99518]
    [8.99544]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 302
    [8.100202][8.100202:100228]()
    edit.draw(Editor_state)
    [8.100202]
    [8.100228]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 318
    [8.100868][8.100868:100894]()
    edit.draw(Editor_state)
    [8.100868]
    [8.100894]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 334
    [8.101416][8.101416:101442]()
    edit.draw(Editor_state)
    [8.101416]
    [8.101442]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 350
    [8.101967][8.101967:101993]()
    edit.draw(Editor_state)
    [8.101967]
    [8.101993]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 368
    [8.102616][8.102616:102642]()
    edit.draw(Editor_state)
    [8.102616]
    [8.102642]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 386
    [8.103442][8.103442:103468]()
    edit.draw(Editor_state)
    [8.103442]
    [8.103468]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 402
    [8.104156][8.104156:104182]()
    edit.draw(Editor_state)
    [8.104156]
    [8.104182]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 419
    [8.104812][8.104812:104838]()
    edit.draw(Editor_state)
    [8.104812]
    [8.104838]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 437
    [8.105449][8.105449:105475]()
    edit.draw(Editor_state)
    [8.105449]
    [8.105475]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 459
    [8.106426][8.106426:106452]()
    edit.draw(Editor_state)
    [8.106426]
    [8.106452]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 479
    [8.107257][8.107257:107283]()
    edit.draw(Editor_state)
    [8.107257]
    [8.107283]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 502
    [8.108273][8.108273:108299]()
    edit.draw(Editor_state)
    [8.108273]
    [8.108299]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 526
    [8.109371][8.109371:109397]()
    edit.draw(Editor_state)
    [8.109371]
    [8.109397]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 544
    [8.110079][8.110079:110105]()
    edit.draw(Editor_state)
    [8.110079]
    [8.110105]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 566
    [8.110986][8.110986:111012]()
    edit.draw(Editor_state)
    [8.110986]
    [8.111012]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 583
    [8.111640][8.111640:111666]()
    edit.draw(Editor_state)
    [8.111640]
    [8.111666]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 599
    [8.112240][8.112240:112266]()
    edit.draw(Editor_state)
    [8.112240]
    [8.112266]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 620
    [8.113047][8.113047:113073]()
    edit.draw(Editor_state)
    [8.113047]
    [8.113073]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 637
    [8.113656][8.113656:113682]()
    edit.draw(Editor_state)
    [8.113656]
    [8.113682]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 654
    [8.114264][8.114264:114290]()
    edit.draw(Editor_state)
    [8.114264]
    [8.114290]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 672
    [8.114919][8.114919:114945]()
    edit.draw(Editor_state)
    [8.114919]
    [8.114945]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 695
    [8.115821][8.115821:115847]()
    edit.draw(Editor_state)
    [8.115821]
    [8.115847]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 713
    [8.116458][8.116458:116484]()
    edit.draw(Editor_state)
    [8.116458]
    [8.116484]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 757
    [8.118226][8.118226:118252]()
    edit.draw(Editor_state)
    [8.118226]
    [8.118252]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 786
    [8.119371][8.119371:119444]()
    edit.draw(Editor_state) -- populate line_cache.startpos for each line
    [8.119371]
    [8.119444]
    edit.draw(Editor_state, Text_color) -- populate line_cache.startpos for each line
  • replacement in text_tests_love11.lua at line 805
    [8.120305][8.120305:120378]()
    edit.draw(Editor_state) -- populate line_cache.startpos for each line
    [8.120305]
    [8.120378]
    edit.draw(Editor_state, Text_color) -- populate line_cache.startpos for each line
  • replacement in text_tests_love11.lua at line 822
    [8.121117][8.121117:121143]()
    edit.draw(Editor_state)
    [8.121117]
    [8.121143]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 843
    [8.122125][8.122125:122151]()
    edit.draw(Editor_state)
    [8.122125]
    [8.122151]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 864
    [8.123012][8.123012:123085]()
    edit.draw(Editor_state) -- populate line_cache.startpos for each line
    [8.123012]
    [8.123085]
    edit.draw(Editor_state, Text_color) -- populate line_cache.startpos for each line
  • replacement in text_tests_love11.lua at line 888
    [8.124218][8.124218:124291]()
    edit.draw(Editor_state) -- populate line_cache.startpos for each line
    [8.124218]
    [8.124291]
    edit.draw(Editor_state, Text_color) -- populate line_cache.startpos for each line
  • replacement in text_tests_love11.lua at line 916
    [8.125740][8.125740:125766]()
    edit.draw(Editor_state)
    [8.125740]
    [8.125766]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 938
    [8.126567][8.126567:126593]()
    edit.draw(Editor_state)
    [8.126567]
    [8.126593]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 953
    [8.127087][8.127087:127113]()
    edit.draw(Editor_state)
    [8.127087]
    [8.127113]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 976
    [8.129548][8.129548:129574]()
    edit.draw(Editor_state)
    [8.129548]
    [8.129574]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 1003
    [8.130662][8.130662:130688]()
    edit.draw(Editor_state)
    [8.130662]
    [8.130688]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 1018
    [8.131270][8.131270:131296]()
    edit.draw(Editor_state)
    [8.131270]
    [8.131296]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 1046
    [8.133490][8.133490:133516]()
    edit.draw(Editor_state)
    [8.133490]
    [8.133516]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 1073
    [8.134638][8.134638:134664]()
    edit.draw(Editor_state)
    [8.134638]
    [8.134664]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 1101
    [8.135921][8.135921:135947]()
    edit.draw(Editor_state)
    [8.135921]
    [8.135947]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 1128
    [8.137073][8.137073:137099]()
    edit.draw(Editor_state)
    [8.137073]
    [8.137099]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 1161
    [8.138606][8.138606:138632]()
    edit.draw(Editor_state)
    [8.138606]
    [8.138632]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 1189
    [8.140788][8.140788:140814]()
    edit.draw(Editor_state)
    [8.140788]
    [8.140814]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 1216
    [8.5676][8.142850:142876](),[8.142850][8.142850:142876]()
    edit.draw(Editor_state)
    [8.5676]
    [8.142876]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 1243
    [8.144020][8.144020:144046]()
    edit.draw(Editor_state)
    [8.144020]
    [8.144046]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 1272
    [8.145301][8.145301:145327]()
    edit.draw(Editor_state)
    [8.145301]
    [8.145327]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 1299
    [8.146336][8.146336:146362]()
    edit.draw(Editor_state)
    [8.146336]
    [8.146362]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 1322
    [8.147295][8.147295:147321]()
    edit.draw(Editor_state)
    [8.147295]
    [8.147321]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 1350
    [8.5898][8.148565:148591](),[8.148565][8.148565:148591]()
    edit.draw(Editor_state)
    [8.5898]
    [8.148591]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 1376
    [8.149703][8.149703:149729]()
    edit.draw(Editor_state)
    [8.149703]
    [8.149729]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 1404
    [8.150886][8.150886:150912]()
    edit.draw(Editor_state)
    [8.150886]
    [8.150912]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 1426
    [8.151828][8.151828:151854]()
    edit.draw(Editor_state)
    [8.151828]
    [8.151854]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 1444
    [8.152603][8.152603:152629]()
    edit.draw(Editor_state)
    [8.152603]
    [8.152629]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 1475
    [8.6227][8.153915:153941](),[8.153915][8.153915:153941]()
    edit.draw(Editor_state)
    [8.6227]
    [8.153941]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 1503
    [8.6459][8.155151:155177](),[8.155151][8.155151:155177]()
    edit.draw(Editor_state)
    [8.6459]
    [8.155177]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 1532
    [8.6787][8.156423:156449](),[8.156423][8.156423:156449]()
    edit.draw(Editor_state)
    [8.6787]
    [8.156449]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 1560
    [8.157641][8.157641:157667]()
    edit.draw(Editor_state)
    [8.157641]
    [8.157667]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 1588
    [8.158854][8.158854:158880]()
    edit.draw(Editor_state)
    [8.158854]
    [8.158880]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 1621
    [8.160370][8.160370:160396]()
    edit.draw(Editor_state)
    [8.160370]
    [8.160396]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 1648
    [8.7147][8.161509:161535](),[8.161509][8.161509:161535]()
    edit.draw(Editor_state)
    [8.7147]
    [8.161535]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 1783
    [8.167546][8.167546:167572]()
    edit.draw(Editor_state)
    [8.167546]
    [8.167572]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 1854
    [8.170614][8.170614:170640]()
    edit.draw(Editor_state)
    [8.170614]
    [8.170640]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 1874
    [8.171428][8.171428:171454]()
    edit.draw(Editor_state)
    [8.171428]
    [8.171454]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 1900
    [8.172538][8.172538:172564]()
    edit.draw(Editor_state)
    [8.172538]
    [8.172564]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 1917
    [8.173219][8.173219:173245]()
    edit.draw(Editor_state)
    [8.173219]
    [8.173245]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 1934
    [8.173881][8.173881:173907]()
    edit.draw(Editor_state)
    [8.173881]
    [8.173907]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 1951
    [8.174537][8.174537:174563]()
    edit.draw(Editor_state)
    [8.174537]
    [8.174563]
    edit.draw(Editor_state, Text_color)
  • replacement in text_tests_love11.lua at line 1965
    [8.175034][8.175034:175060]()
    edit.draw(Editor_state)
    [8.175034]
    [8.175060]
    edit.draw(Editor_state, Text_color)
  • edit in text_tests.lua at line 2
    [8.347][8.2:40](),[8.347][8.2:40](),[8.40][8.3:3](),[8.40][8.3:3](),[8.40][8.3:3](),[8.3][8.2:283](),[8.28][8.2:283](),[8.28][8.2:283](),[8.446][8.41:79](),[8.446][8.41:79](),[8.79][8.3:3](),[8.79][8.3:3](),[8.3][8.2:49](),[8.82][8.2:49](),[8.82][8.2:49](),[8.2805][8.80:118](),[8.2805][8.80:118](),[8.118][3.3:3](),[8.118][3.3:3](),[3.3][8.189:245](),[8.150][8.189:245](),[8.150][8.189:245](),[8.3035][8.119:157](),[8.3035][8.119:157](),[8.157][3.5:5](),[8.157][3.5:5](),[3.5][8.246:304](),[8.177][8.246:304](),[8.177][8.246:304](),[8.3275][8.158:196](),[8.3275][8.158:196](),[8.196][3.7:7](),[8.196][3.7:7](),[3.7][8.305:361](),[8.204][8.305:361](),[8.204][8.305:361](),[8.3662][8.197:235](),[8.3662][8.197:235](),[8.235][3.9:9](),[8.235][3.9:9](),[3.9][8.362:420](),[8.231][8.362:420](),[8.231][8.362:420](),[8.3994][8.236:274](),[8.3994][8.236:274](),[8.274][3.11:11](),[8.274][3.11:11](),[3.11][8.421:479](),[8.258][8.421:479](),[8.258][8.421:479](),[8.4273][8.275:313](),[8.4273][8.275:313](),[8.313][3.13:13](),[8.313][3.13:13](),[3.13][8.480:538](),[8.285][8.480:538](),[8.285][8.480:538](),[8.4562][8.314:352](),[8.4562][8.314:352](),[8.352][3.15:15](),[8.352][3.15:15](),[3.15][8.539:597](),[8.312][8.539:597](),[8.312][8.539:597](),[8.4838][8.353:391](),[8.4838][8.353:391](),[8.391][3.17:17](),[8.391][3.17:17](),[3.17][8.598:656](),[8.339][8.598:656](),[8.339][8.598:656](),[8.5128][8.392:430](),[8.5128][8.392:430](),[8.430][3.19:19](),[8.430][3.19:19](),[3.19][8.657:715](),[8.366][8.657:715](),[8.366][8.657:715](),[8.5399][8.431:469](),[8.5399][8.431:469](),[8.469][3.21:21](),[8.469][3.21:21](),[3.21][8.716:774](),[8.393][8.716:774](),[8.393][8.716:774](),[8.5765][8.470:508](),[8.5765][8.470:508](),[8.508][3.23:23](),[8.508][3.23:23](),[3.23][8.775:835](),[8.420][8.775:835](),[8.420][8.775:835](),[8.6044][8.509:547](),[8.6044][8.509:547](),[8.547][3.25:25](),[8.547][3.25:25](),[3.25][8.836:896](),[8.447][8.836:896](),[8.447][8.836:896](),[8.6320][8.548:586](),[8.6320][8.548:586](),[8.586][3.27:27](),[8.586][3.27:27](),[3.27][8.897:957](),[8.474][8.897:957](),[8.474][8.897:957](),[8.6606][8.587:625](),[8.6606][8.587:625](),[8.625][3.29:29](),[8.625][3.29:29](),[3.29][8.958:1018](),[8.501][8.958:1018](),[8.501][8.958:1018](),[8.6873][8.626:664](),[8.6873][8.626:664](),[8.664][3.31:31](),[8.664][3.31:31](),[3.31][8.1019:1079](),[8.528][8.1019:1079](),[8.528][8.1019:1079](),[8.7400][8.4:35](),[8.7400][8.4:35](),[8.35][8.2:87](),[8.87][8.142:230](),[8.142][8.142:230](),[8.142][8.142:230](),[8.230][8.1633:1743](),[8.354][8.1633:1743](),[8.354][8.1633:1743](),[8.1743][8.231:288](),[8.1743][8.231:288](),[8.288][8.1744:1862](),[8.492][8.1744:1862](),[8.492][8.1744:1862](),[8.469][8.704:742](),[8.469][8.704:742](),[8.718][8.743:781](),[8.718][8.743:781](),[8.383][8.782:820](),[8.383][8.782:820](),[8.678][2.2:40](),[8.678][2.2:40](),[8.8381][8.821:859](),[8.8381][8.821:859](),[8.8755][8.860:898](),[8.8755][8.860:898](),[8.9128][8.899:937](),[8.9128][8.899:937](),[8.1713][8.938:976](),[8.1713][8.938:976](),[8.2785][8.977:1015](),[8.2785][8.977:1015](),[8.9503][8.1016:1054](),[8.9503][8.1016:1054](),[8.9917][8.1055:1093](),[8.9917][8.1055:1093](),[8.10286][8.1094:1132](),[8.10286][8.1094:1132](),[8.10831][8.1133:1171](),[8.10831][8.1133:1171](),[8.11418][8.1172:1210](),[8.11418][8.1172:1210](),[8.12004][8.1211:1249](),[8.12004][8.1211:1249](),[8.12594][8.1250:1288](),[8.12594][8.1250:1288](),[8.13018][8.1289:1327](),[8.13018][8.1289:1327](),[8.13628][8.1328:1366](),[8.13628][8.1328:1366](),[8.14133][8.1367:1405](),[8.14133][8.1367:1405](),[8.14508][8.1406:1444](),[8.14508][8.1406:1444](),[8.14995][8.1445:1483](),[8.14995][8.1445:1483](),[8.15369][8.1484:1522](),[8.15369][8.1484:1522](),[8.15736][8.1523:1561](),[8.15736][8.1523:1561](),[8.16093][8.1562:1600](),[8.16093][8.1562:1600](),[8.16691][8.1601:1639](),[8.1639][8.347:347](),[8.1639][8.347:347](),[8.347][8.316:363](),[8.1095][8.316:363](),[8.1095][8.316:363](),[8.17134][8.1640:1678](),[8.17134][8.1640:1678](),[8.18618][8.1679:1717](),[8.18618][8.1679:1717](),[8.1206][8.1206:1211](),[8.1206][8.1206:1211](),[8.20197][8.88:173](),[8.20197][8.88:173](),[8.497][8.174:259](),[8.497][8.174:259](),[8.215][8.260:787](),[8.215][8.260:787](),[8.62][8.788:1387](),[8.62][8.788:1387](),[8.1387][8.110:148](),[8.720][8.110:148](),[8.720][8.110:148](),[8.1387][8.110:148](),[8.21125][8.1388:1473](),[8.21125][8.1388:1473](),[8.22267][8.1474:1559](),[8.22267][8.1474:1559](),[8.357][8.149:187](),[8.357][8.149:187](),[8.23723][8.2150:2188](),[8.23723][8.2150:2188](),[8.6555][8.2189:2227](),[8.6555][8.2189:2227](),[8.26449][8.2267:2305](),[8.26449][8.2267:2305](),[8.443][8.2306:2344](),[8.443][8.2306:2344](),[8.10434][8.2345:2383](),[8.10434][8.2345:2383](),[8.27840][8.2384:2422](),[8.27840][8.2384:2422](),[8.28590][8.2423:2461](),[8.28590][8.2423:2461](),[8.29464][8.2462:2500](),[8.29464][8.2462:2500](),[8.30422][8.2501:2539](),[8.30422][8.2501:2539](),[8.31681][8.2540:2578](),[8.31681][8.2540:2578](),[8.32336][8.2579:2617](),[8.32336][8.2579:2617](),[8.33078][8.2618:2656](),[8.33078][8.2618:2656](),[8.34012][8.2657:2695](),[8.34012][8.2657:2695](),[8.34926][8.2696:2734](),[8.34926][8.2696:2734](),[8.25306][8.2735:2773](),[8.25306][8.2735:2773](),[8.36217][8.2774:2812](),[8.36217][8.2774:2812](),[8.37150][8.2813:2851](),[8.37150][8.2813:2851](),[8.37982][8.2852:2890](),[8.37982][8.2852:2890](),[8.38826][8.2891:2929](),[8.38826][8.2891:2929](),[8.39626][8.2930:2968](),[8.39626][8.2930:2968](),[8.40403][8.2969:3007](),[8.40403][8.2969:3007]()
    edit.draw(Editor_state, Text_color)
    check_eq(#Editor_state.lines, 1, '#lines')
    check_eq(Editor_state.cursor1.line, 1, 'cursor:line')
    check_eq(Editor_state.cursor1.pos, 1, 'cursor:pos')
    check_eq(Editor_state.screen_top1.line, 1, 'screen_top:line')
    check_eq(Editor_state.screen_top1.pos, 1, 'screen_top:pos')
    edit.draw(Editor_state, Text_color)
    edit.run_after_text_input(Editor_state, 'a')
    edit.draw(Editor_state, Text_color)
    edit.run_after_keychord(Editor_state, 'left', 'left')
    edit.draw(Editor_state, Text_color)
    edit.run_after_keychord(Editor_state, 'right', 'right')
    edit.draw(Editor_state, Text_color)
    edit.run_after_keychord(Editor_state, 'left', 'left')
    edit.draw(Editor_state, Text_color)
    edit.run_after_keychord(Editor_state, 'right', 'right')
    edit.draw(Editor_state, Text_color)
    edit.run_after_keychord(Editor_state, 'M-left', 'left')
    edit.draw(Editor_state, Text_color)
    edit.run_after_keychord(Editor_state, 'M-left', 'left')
    edit.draw(Editor_state, Text_color)
    edit.run_after_keychord(Editor_state, 'M-left', 'left')
    edit.draw(Editor_state, Text_color)
    edit.run_after_keychord(Editor_state, 'M-left', 'left')
    edit.draw(Editor_state, Text_color)
    edit.run_after_keychord(Editor_state, 'M-left', 'left')
    edit.draw(Editor_state, Text_color)
    edit.run_after_keychord(Editor_state, 'M-left', 'left')
    edit.draw(Editor_state, Text_color)
    edit.run_after_keychord(Editor_state, 'M-right', 'right')
    edit.draw(Editor_state, Text_color)
    edit.run_after_keychord(Editor_state, 'M-right', 'right')
    edit.draw(Editor_state, Text_color)
    edit.run_after_keychord(Editor_state, 'M-right', 'right')
    edit.draw(Editor_state, Text_color)
    edit.run_after_keychord(Editor_state, 'M-right', 'right')
    edit.draw(Editor_state, Text_color)
    edit.run_after_keychord(Editor_state, 'M-right', 'right')
    Editor_state.selection1 = {}
    edit.draw(Editor_state, Text_color) -- populate line_cache.startpos for each line
    edit.run_after_mouse_release(Editor_state, Editor_state.left+8,Editor_state.top+5, 1)
    check_eq(Editor_state.cursor1.line, 1, 'cursor:line')
    check_eq(Editor_state.cursor1.pos, 2, 'cursor:pos')
    -- selection is empty to avoid perturbing future edits
    check_nil(Editor_state.selection1.line, 'selection:line')
    check_nil(Editor_state.selection1.pos, 'selection:pos')
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.run_after_text_input(Editor_state, 'g')
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    end
    edit.draw(Editor_state, Text_color) -- populate line_cache.startpos for each line
    edit.draw(Editor_state, Text_color) -- populate line_cache.startpos for each line
    Editor_state.lines = load_array{'abc', 'defgh', 'xyz'}
    Text.redraw_all(Editor_state)
    Editor_state.cursor1 = {line=2, pos=5}
    Editor_state.screen_top1 = {line=2, pos=3}
    -- press mouse above first line of text
    edit.draw(Editor_state, Text_color)
    edit.run_after_mouse_press(Editor_state, Editor_state.left+8,5, 1)
    -- selection is at screen top
    check(Editor_state.selection1.line ~= nil, 'selection:line-not-nil')
    check_eq(Editor_state.selection1.line, 2, 'selection:line')
    check_eq(Editor_state.selection1.pos, 3, 'selection:pos')
    -- I'd like to test what happens when a mouse click is below some page of
    -- text, potentially even in the middle of a line.
    -- However, it's brittle to set up a text line boundary just right.
    -- So I'm going to just check things below the bottom of the final line of
    -- text when it's in the middle of the screen.
    -- final screen line ends in the middle of screen
    App.screen.init{width=50, height=60}
    Editor_state = edit.initialize_test_state()
    Editor_state.lines = load_array{'abcde'}
    Text.redraw_all(Editor_state)
    Editor_state.cursor1 = {line=1, pos=1}
    Editor_state.screen_top1 = {line=1, pos=1}
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color) -- populate line_cache.startpos for each line
    edit.draw(Editor_state, Text_color) -- populate line_cache.startpos for each line
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
  • edit in text_tests.lua at line 12
    [8.41255][8.3008:3046](),[8.41255][8.3008:3046]()
    edit.draw(Editor_state, Text_color)
  • edit in text_tests.lua at line 19
    [8.42186][8.3047:3085](),[8.42186][8.3047:3085](),[8.43056][8.3086:3124](),[8.43056][8.3086:3124](),[8.43963][8.3125:3163](),[8.43963][8.3125:3163](),[8.44748][8.3164:3202](),[8.44748][8.3164:3202](),[8.45611][8.3203:3241](),[8.45611][8.3203:3241](),[8.46337][8.3242:3280](),[8.46337][8.3242:3280](),[8.40830][8.3281:3319](),[8.40830][8.3281:3319](),[8.3319][8.1213:1213](),[8.3319][8.1213:1213](),[8.1213][8.696:743](),[8.2291][8.696:743](),[8.2291][8.696:743](),[8.53740][8.3320:3358](),[8.53740][8.3320:3358](),[8.355][8.3359:3397](),[8.355][8.3359:3397](),[8.353][8.3398:3436](),[8.353][8.3398:3436](),[8.344][8.3437:3475](),[8.344][8.3437:3475](),[8.364][8.3476:3514](),[8.364][8.3476:3514](),[8.47][5.2:40](),[8.47][5.2:40](),[8.316][5.41:79](),[8.316][5.41:79](),[8.756][8.1561:1561](),[8.756][8.1561:1561]()
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.run_after_text_input(Editor_state, 'g')
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
    edit.draw(Editor_state, Text_color)
  • edit in text.lua at line 1036
    [8.442][8.1637:1637]()
  • edit in conf.lua at line 3
    [8.39][7.81:81](),[8.39][7.81:81]()
  • resolve order conflict in conf.lua at line 3
    [6.55]
    [8.233]