resolve conflicts
Dependencies
- [2]
XYK7ESSIMerge lines.love - [3]
2TCIWW6Zstop caching starty - [4]
KKMFQDR4editing source code from within the app - [5]
SDEY7LFJrename a variable - [6]
OEIR7M74Merge lines.love - [7]
G54H3YG2get rid of all bifold text - [8]
I64IPGJXavoid saving fragments in lines - [9]
5SM6DRHKport inscript's bugfix to source editor - [10]
ZS5IYZH5stop caching screen_bottom1 - [11]
JSJSVQAXMerge lines.love - [12]
CUFW4EJLreorganize app.lua and its comments - [13]
KMSL74GAsupport selections in the source editor - [14]
HALS7E5Umore clearly skip prints before screen top - [*]
BULPIBEGbeginnings of a module for the text editor - [*]
3QNOKBFMbeginnings of a test harness
Change contents
- resurrect zombie in text.lua at line 20
local screen_line = Text.screen_line(line, line_cache, i)--? print('text.draw:', screen_line, 'at', line_index,pos, 'after', x,y)local frag_len = utf8.len(screen_line) - edit in source_text.lua at line 442
if State.lines[loc2.line].mode == 'drawing' theny = y + Drawing_padding_topend - replacement in source_text.lua at line 449
y = y + Drawing_padding_height + Drawing.pixels(State.lines[loc2.line].h, State.width)y = y + Drawing.pixels(State.lines[loc2.line].h, State.width) + Drawing_padding_bottom - edit in source_text.lua at line 1108
--? print('too low') - replacement in source_text.lua at line 1109[4.145772]→[4.145772:145797](∅→∅),[4.145797]→[4.5855:5879](∅→∅),[4.5879]→[4.7724:7859](∅→∅),[4.7859]→[4.6026:6034](∅→∅),[4.6026]→[4.6026:6034](∅→∅)
--? print('tweak')State.cursor1 = {line=screen_bottom1.line,pos=Text.to_pos_on_line(State, screen_bottom1.line, State.right-5, App.screen.height-5),}State.cursor1 = Text.final_text_loc_on_screen(State) - replacement in source_select.lua at line 72
if y < State.line_cache[State.screen_top1.line].starty thenif y < State.top then - replacement in app.lua at line 134
--? test_click_moves_cursor()--? test_click_below_all_lines()