resolve conflicts
Dependencies
- [2]
5LN2NUSEresolve conflicts - [3]
QMRQL2FOresolve conflicts - [4]
BJ5X5O4Alet's prevent the text cursor from ever getting on a drawing - [5]
CE4LZV4Tdrop last couple of manual tests - [6]
VHQCNMARseveral more modules - [7]
K2X6G75Zstart writing some tests for drawings - [8]
R5QXEHUIsomebody stop me - [9]
FS2ITYYHrecord a known issue - [10]
TVCPXAAUrename - [11]
2CTN2IEFMerge lines.love - [12]
66X36NZNa little more prose describing manual_tests - [13]
JJDUDMVXMerge lines.love - [14]
QF3HGULOMerge text.love - [15]
QD4LOFQRMerge text.love - [16]
VXRYVZ74Merge text.love - [17]
ATQO62TFMerge lines.love - [18]
ONHKBLLCMerge lines.love - [19]
LWPFEZBIMerge lines.love - [20]
RIAFJLMZMerge text.love - [21]
M5JXTW56Merge text.love - [22]
TBTRYEBPMerge lines.love - [23]
2CEAF7YRresolve conflicts - [24]
ORKN6EOBMerge lines.love - [25]
PBGBRQIXbugfix for merge commit - [26]
B6DS4GZCMerge lines.love - [27]
GFBOJWNEresolve conflicts - [28]
R56CKHYZMerge text.love - [29]
YDUIKWSFMerge text.love - [30]
6VJTQKW7start supporting LÖVE v12 - [31]
T4FRZSYLdelete an ancient, unused file - [32]
VHUNJHXBMerge lines.love - [33]
AYX33NBCMerge lines.love - [34]
BLWAYPKVextract a module - [35]
VP5KC4XZMerge lines.love - [36]
CAG7PP5YMerge text.love - [37]
MGJZHZC4Merge lines.love - [38]
X43ZIKR3Merge text.love - [39]
AVTNUQYRbasic test-enabled framework - [40]
OTIBCAUJlove2d scaffold - [41]
KRDNIVZOMerge text.love - [42]
U3MJNFUYMerge lines.love - [43]
JCXL74WVbring back everything from commit a68647ae22 - [44]
ED4Z6ORCcleaner API for file-system access - [45]
34BZ5ZKNMerge lines.love - [46]
D2GCFTTTclean up repl functionality - [47]
VXORMHMEdelete experimental REPL - [48]
PJ5PQAQErecord support for multiple versions - [49]
Q6RXCILQMerge text.love - [50]
3QNOKBFMbeginnings of a test harness - [51]
2L5MEZV3experiment: new edit namespace - [52]
4SR3Z4Y3document the version of LÖVE I've been using - [53]
2CFLXLIEMerge text.love - [54]
SGMA5JLEsave the list of tests in repo - [55]
RU4HIK43Merge lines.love - [56]
VBU5YHLRMerge lines.love - [57]
DUHVCYW5Merge text.love - [58]
36Z442IVback to commit 8123959e52f without code editing - [59]
XX7G2FFJintermingle freehand line drawings with text - [60]
LXTTOB33extract a couple of files - [61]
N2NUGNN4include a brief reference enabling many useful apps - [62]
KKQKPGCIresolve conflicts - [63]
7JEYXICUresolve conflicts - [64]
2TQUKHBCMerge lines.love - [65]
3G723RV5Merge text.love - [66]
JKENJ2UGMerge lines.love - [67]
FM5LDKGTMerge text.love - [68]
3PSFWAILMerge lines.love - [69]
4YDBYBA4clean up memory leak experiments - [70]
VLTU33KWresolve conflicts - [71]
JZR3QMTNMerge lines.love - [72]
73OCE2MCafter much struggle, a brute-force undo - [73]
JRETETTLMerge lines.love - [74]
RSZD5A7Gforgot to add json.lua - [75]
KMSL74GAsupport selections in the source editor - [76]
BULPIBEGbeginnings of a module for the text editor - [77]
TLOAPLBJadd a license - [78]
TFM6F5ODMerge lines.love - [79]
2JLMNZZIMerge text.love - [80]
KKMFQDR4editing source code from within the app - [81]
OGUV4HSAremove some memory leaks from rendered fragments - [82]
ZLJYLPOTMerge lines.love - [83]
JOPVPUSAediting source code from within the app - [84]
6LJZN727handle chords - [85]
TFUNIT6Mresolve conflicts - [86]
C3GUE45IMerge text.love
Change contents
- file deletion: source_edit.lua source_edit.lua
function edit.initialize_state(top, left, right, font, font_height, line_height) -- currently always draws to bottom of screenfont = font,end -- edit.initialize_statelove.graphics.setFont(State.font)State.font = love.graphics.newFont(State.font_height)love.graphics.getFont(),14,15) -- line heightendState.line_height = math.floor(font_height*1.3)App.color(Text_color)font_height = font_height,line_height = line_height,local result = { - file deletion: source.lua source.lua
local font = love.graphics.newFont(settings.font_height)Editor_state = edit.initialize_state(Margin_top, Margin_left + Line_number_width*App.width('m'), right, font, settings.font_height, math.floor(settings.font_height*1.3))local font = love.graphics.newFont(font_height)Editor_state = edit.initialize_state(Margin_top, Margin_left + Line_number_width*App.width('m'), App.screen.width-Margin_right, font, font_height, math.floor(font_height*1.3))Editor_state.filename = 'run.lua'source.initialize_window_geometry()Editor_state.filename = settings.filename-- set up desired window dimensions and make window resizable_, _, App.screen.flags = App.screen.size()App.screen.flags.resizable = trueApp.screen.width, App.screen.height = settings.width, settings.heightApp.screen.resize(App.screen.width, App.screen.height, App.screen.flags) - file deletion: run.lua run.lua
local font = love.graphics.newFont(Settings.font_height)Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width-Margin_right, font, Settings.font_height, math.floor(Settings.font_height*1.3))local font = love.graphics.newFont(font_height)Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width-Margin_right, font, font_height, math.floor(font_height*1.3))Settings = run.settings()endrun.initialize_window_geometry()Editor_state.filename = Settings.filenameEditor_state.screen_top1 = Settings.screen_topEditor_state.cursor1 = Settings.cursorend-- set up desired window dimensions and make window resizable_, _, App.screen.flags = App.screen.size() - file deletion: log_browser.lua log_browser.lua
Log_browser_state = edit.initialize_state(Margin_top, Editor_state.right + Margin_right + Margin_left, (Editor_state.right+Margin_right)*2, Editor_state.font, Editor_state.font_height, Editor_state.line_height)Log_browser_state.filename = 'log'load_from_disk(Log_browser_state) -- TODO: pay no attention to Foldlog_browser.parse(Log_browser_state)Text.redraw_all(Log_browser_state)Log_browser_state.screen_top1 = {line=1, pos=1} - replacement in main.lua at line 99
love.graphics.setFont(love.graphics.newFont(settings.font_height))local font = love.graphics.newFont(settings.font_height) - replacement in main.lua at line 106[4.166]→[4.3805:3960](∅→∅),[4.225]→[4.3805:3960](∅→∅),[4.2630]→[4.3805:3960](∅→∅),[4.3805]→[4.3805:3960](∅→∅)
Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width-Margin_right, settings.font_height, math.floor(settings.font_height*1.3))Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width-Margin_right, font, settings.font_height, math.floor(settings.font_height*1.3)) - replacement in main.lua at line 124
love.graphics.setFont(love.graphics.newFont(font_height))local font = love.graphics.newFont(font_height) - replacement in main.lua at line 126
Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width-Margin_right)Editor_state.font_height = font_heightEditor_state.line_height = math.floor(font_height*1.3)Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width-Margin_right, font, font_height, math.floor(font_height*1.3))