resolve conflicts
Dependencies
- [2]
XZ6QAC5Xmerge bugfix - [3]
EWWIFR6Presolve conflicts - [4]
WTNHAVK5pijul bug - [5]
MQCCBXP2resolve conflicts - [6]
5X52XYQ3resolve conflicts - [7]
CD7JC76Cresolve conflicts - [8]
5BMR5HRTclick to the left of a line - [9]
YFW4MNNPhandle wrapping lines - [10]
NZKYPBSKcheck for scroll when just typing - [11]
T3B4NLV3include a unit test - [12]
LF7BWEG4group all editor globals - [13]
GDAWPFAVmore streamlined test names - [14]
DSLD74DKlots more tests - [15]
IFTYOERMline.y -> line_cache.starty in a few more places - [16]
ORRSP7FVdeduce test names on failures - [17]
FHNPQBLKmore carefully pass the 'key' arg around - [18]
ZS5IYZH5stop caching screen_bottom1 - [19]
S2YQBEYCsnapshot: test for a new regression - [20]
CZQ3NJ4NMerge text0 - [21]
LLAOOMULbugfix: search upwards - [22]
4FTOQOPZbugfix #2 in search UI - [23]
ER5RKUWUresolve conflicts - [24]
RLCO2SNKwrap lines like lines2 forks - [25]
PLKNHYZ4extract a function - [26]
EKKFWP4Dbugfix: couple of margin-relative computations - [27]
2H76FV5Sbugfix: searching files containing unicode - [28]
MPLM5UH7resolve conflicts - [29]
O7YTBRQYbugfix: restart search on backspace - [30]
GZ2OYPSHconfigurable colors and cursor in editor widget - [31]
4WAFGF4Zselection bugfix - [32]
MD3W5IRAnew fork: rip out drawing support - [33]
P6SYWBLBremove a duplicate test - [34]
NQM25OZVreduce use of rfind - [35]
QKAMUWSBanother bugfix in scrolling while inserting text - [36]
FYJXSWXVresolve conflicts - [37]
T42Y5MLOexplicitly specify app name - [38]
WAR3HXHTtest both ways of selecting text with mouse - [39]
APYPFFS3call edit rather than App callbacks in tests - [40]
UHB4GARJleft/right margin -> left/right coordinates - [41]
H3ECRBXFbugfix: clicking on empty lines - [42]
2O4OXP5Xcomment - [43]
KKQKPGCIresolve conflicts - [44]
52NEZG2FMerge text0 - [45]
RMKMPFT5fix a corner case when selecting text - [46]
MUJTM6REbring back a level of wrapping - [47]
HPVT467Winitialize contains test state - [48]
AMOPICKVbugfix: check after cursor on same line when searching upwards - [49]
KOTI3MFGbugfix in previous commit - [50]
7EQLPB3Obugfix: don't delete selection when moving cursor - [51]
2LC3BM2Nsupport other whitespace chars in word movements - [52]
EMHRPJ3Rno, that's not right - [53]
4CTZOJPCstop pretending globals are local - [54]
Y4SPXCM3bugfix: pagedown was sometimes bouncing up - [55]
7RKFA3VAfailing test now looks realistic - [56]
NUZFHX6Iflesh out some tests for word movements - [57]
656FM555bugfix: clear selection when clicking above or below lines - [58]
F4RUTONDsplit up editor tests between LÖVE 11 and LÖVE 12 - [59]
B4USRORMdisable DPI scaling - [60]
O2E2MUT2resolve conflicts - [61]
2N3HLCOVMerge text0 - [62]
V3EABA35skip multiple consecutive whitespace - [63]
HTWAM4NZbugfix: scrolling in left/right movements - [64]
2JLVAYHBstart decoupling editor tests from App - [65]
FZBXBUFFbugfix: search - [66]
MSOQI3A5bugfix: check before cursor on same line - [67]
ZLJGZYQGselect text with shift + mouseclick - [68]
LSYLEVBDdrop some redundant args when clearing the cache - [69]
2CK5QI7Wmake love event names consistent - [70]
CYEH4AXBa prefix for metadata in the manifest - [71]
CYGNFOA5Merge text0 - [72]
6RYLD5ONchange how we handle clicks above top margin - [73]
TGHAJBESuse line cache for drawings as well - [74]
6XCJX4DZbugfix: inscript's bug - [75]
CIQN2MDEbugfix: typing a capital letter deletes selection - [76]
B4FAIVRAMerge lines.love - [77]
Y2ZIPXEMnew test - [78]
LNUHQOGHstart passing in Editor_state explicitly - [79]
UFOVVX3ZMerge text0 - [80]
2TCIWW6Zstop caching starty - [81]
VG75U7IMbugfix: typing should delete highlighted text - [82]
ILOA5BYFseparate data structure for each line's cache data - [83]
KMRJOSLYbugfix: delete selection before pasting - [84]
LXTTOB33extract a couple of files - [85]
6K5PFF6Xhelper: trimming whitespace from strings - [*]
BULPIBEGbeginnings of a module for the text editor
Change contents
- replacement in text_tests_love11.lua at line 6
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 34
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 57
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 68
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 79
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 91
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 103
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 114
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 125
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 136
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 147
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 158
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 170
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 181
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 192
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 203
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 214
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 228
edit.draw(Editor_state) -- populate line_cache.startpos for each lineedit.draw(Editor_state, Text_color) -- populate line_cache.startpos for each line - replacement in text_tests_love11.lua at line 247
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 266
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 284
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 302
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 318
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 334
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 350
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 368
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 386
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 402
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 419
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 437
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 459
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 479
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 502
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 526
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 544
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 566
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 583
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 599
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 620
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 637
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 654
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 672
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 695
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 713
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 757
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 786
edit.draw(Editor_state) -- populate line_cache.startpos for each lineedit.draw(Editor_state, Text_color) -- populate line_cache.startpos for each line - replacement in text_tests_love11.lua at line 805
edit.draw(Editor_state) -- populate line_cache.startpos for each lineedit.draw(Editor_state, Text_color) -- populate line_cache.startpos for each line - replacement in text_tests_love11.lua at line 822
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 843
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 864
edit.draw(Editor_state) -- populate line_cache.startpos for each lineedit.draw(Editor_state, Text_color) -- populate line_cache.startpos for each line - replacement in text_tests_love11.lua at line 888
edit.draw(Editor_state) -- populate line_cache.startpos for each lineedit.draw(Editor_state, Text_color) -- populate line_cache.startpos for each line - replacement in text_tests_love11.lua at line 916
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 938
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 953
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 976
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 1003
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 1018
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 1046
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 1073
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 1101
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 1128
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 1161
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 1189
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 1216
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 1243
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 1272
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 1299
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 1322
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 1350
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 1376
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 1404
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 1426
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 1444
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 1475
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 1503
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 1532
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 1560
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 1588
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 1621
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 1648
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 1783
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 1854
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 1874
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 1900
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 1917
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 1934
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 1951
edit.draw(Editor_state)edit.draw(Editor_state, Text_color) - replacement in text_tests_love11.lua at line 1965
edit.draw(Editor_state)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 lineedit.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 editscheck_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)endedit.draw(Editor_state, Text_color) -- populate line_cache.startpos for each lineedit.draw(Editor_state, Text_color) -- populate line_cache.startpos for each lineEditor_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 textedit.draw(Editor_state, Text_color)edit.run_after_mouse_press(Editor_state, Editor_state.left+8,5, 1)-- selection is at screen topcheck(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 screenApp.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 lineedit.draw(Editor_state, Text_color) -- populate line_cache.startpos for each lineedit.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
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
- edit in conf.lua at line 3
- resolve order conflict in conf.lua at line 3