resolve conflicts
Dependencies
- [2]
5LN2NUSEresolve conflicts - [3]
QMRQL2FOresolve conflicts - [4]
2CEAF7YRresolve conflicts - [5]
BULPIBEGbeginnings of a module for the text editor - [6]
VLTU33KWresolve conflicts - [7]
R56CKHYZMerge text.love - [8]
XX7G2FFJintermingle freehand line drawings with text - [9]
JOPVPUSAediting source code from within the app - [10]
TFM6F5ODMerge lines.love - [11]
LWPFEZBIMerge lines.love - [12]
2TQUKHBCMerge lines.love - [13]
RU4HIK43Merge lines.love - [14]
ED4Z6ORCcleaner API for file-system access - [15]
PBGBRQIXbugfix for merge commit - [16]
R5QXEHUIsomebody stop me - [17]
JJDUDMVXMerge lines.love - [18]
B6DS4GZCMerge lines.love - [19]
4SR3Z4Y3document the version of LÖVE I've been using - [20]
FM5LDKGTMerge text.love - [21]
FS2ITYYHrecord a known issue - [22]
KRDNIVZOMerge text.love - [23]
6LJZN727handle chords - [24]
U3MJNFUYMerge lines.love - [25]
QD4LOFQRMerge text.love - [26]
3PSFWAILMerge lines.love - [27]
JZR3QMTNMerge lines.love - [28]
TBTRYEBPMerge lines.love - [29]
X43ZIKR3Merge text.love - [30]
RIAFJLMZMerge text.love - [31]
OTIBCAUJlove2d scaffold - [32]
JRETETTLMerge lines.love - [33]
7JEYXICUresolve conflicts - [34]
ZLJYLPOTMerge lines.love - [35]
ORKN6EOBMerge lines.love - [36]
AYX33NBCMerge lines.love - [37]
VHUNJHXBMerge lines.love - [38]
2L5MEZV3experiment: new edit namespace - [39]
3QNOKBFMbeginnings of a test harness - [40]
VBU5YHLRMerge lines.love - [41]
VP5KC4XZMerge lines.love - [42]
2CTN2IEFMerge lines.love - [43]
AVTNUQYRbasic test-enabled framework - [44]
JCXL74WVbring back everything from commit a68647ae22 - [45]
QF3HGULOMerge text.love - [46]
D2GCFTTTclean up repl functionality - [47]
BLWAYPKVextract a module - [48]
VXORMHMEdelete experimental REPL - [49]
CAG7PP5YMerge text.love - [50]
KMSL74GAsupport selections in the source editor - [51]
LXTTOB33extract a couple of files - [52]
N2NUGNN4include a brief reference enabling many useful apps - [53]
3G723RV5Merge text.love - [54]
YDUIKWSFMerge text.love - [55]
VHQCNMARseveral more modules - [56]
ATQO62TFMerge lines.love - [57]
C3GUE45IMerge text.love - [58]
2JLMNZZIMerge text.love - [59]
KKQKPGCIresolve conflicts - [60]
OGUV4HSAremove some memory leaks from rendered fragments - [61]
VXRYVZ74Merge text.love - [62]
2CFLXLIEMerge text.love - [63]
GFBOJWNEresolve conflicts - [64]
RSZD5A7Gforgot to add json.lua - [65]
66X36NZNa little more prose describing manual_tests - [66]
PJ5PQAQErecord support for multiple versions - [67]
DUHVCYW5Merge text.love - [68]
73OCE2MCafter much struggle, a brute-force undo - [69]
ONHKBLLCMerge lines.love - [70]
36Z442IVback to commit 8123959e52f without code editing - [71]
BJ5X5O4Alet's prevent the text cursor from ever getting on a drawing - [72]
SGMA5JLEsave the list of tests in repo - [73]
34BZ5ZKNMerge lines.love - [74]
K2X6G75Zstart writing some tests for drawings - [75]
TLOAPLBJadd a license - [76]
TVCPXAAUrename - [77]
CE4LZV4Tdrop last couple of manual tests - [78]
4YDBYBA4clean up memory leak experiments - [79]
M5JXTW56Merge text.love - [80]
TFUNIT6Mresolve conflicts - [81]
T4FRZSYLdelete an ancient, unused file - [82]
MGJZHZC4Merge lines.love - [83]
JKENJ2UGMerge lines.love - [84]
KKMFQDR4editing source code from within the app - [85]
Q6RXCILQMerge text.love - [86]
6VJTQKW7start supporting LÖVE v12
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))