Merge text.love
[?]
Jul 11, 2023, 6:11 PM
2JLMNZZI7AQD3SOUQQZGP2URNAUJ27XJTOOFXFPMPUQVPVX3LAXACDependencies
- [2]
PBGBRQIXbugfix for merge commit - [3]
FM5LDKGTMerge text.love - [4]
B6DS4GZCMerge lines.love - [5]
K2X6G75Zstart writing some tests for drawings - [6]
AVTNUQYRbasic test-enabled framework - [7]
KKMFQDR4editing source code from within the app - [8]
QF3HGULOMerge text.love - [9]
LWPFEZBIMerge lines.love - [10]
2L5MEZV3experiment: new edit namespace - [11]
MD3W5IRAnew fork: rip out drawing support - [12]
OTIBCAUJlove2d scaffold - [13]
ZLJYLPOTMerge lines.love - [14]
36Z442IVback to commit 8123959e52f without code editing - [15]
OGUV4HSAremove some memory leaks from rendered fragments - [16]
VHUNJHXBMerge lines.love - [17]
N2NUGNN4include a brief reference enabling many useful apps - [18]
YDUIKWSFMerge text.love - [19]
R5QXEHUIsomebody stop me - [20]
LXTTOB33extract a couple of files - [21]
VP5KC4XZMerge lines.love - [22]
3PSFWAILMerge lines.love - [23]
4YDBYBA4clean up memory leak experiments - [24]
KMSL74GAsupport selections in the source editor - [25]
2344TV56Merge lines.love - [26]
UAYCSFSKMerge text.love - [27]
Q6RXCILQMerge text.love - [28]
SGMA5JLEsave the list of tests in repo - [29]
4HR3G5ZDMerge text.love - [30]
73OCE2MCafter much struggle, a brute-force undo - [31]
VXRYVZ74Merge text.love - [32]
2CFLXLIEMerge text.love - [33]
X43ZIKR3Merge text.love - [34]
T4FRZSYLdelete an ancient, unused file - [35]
JKENJ2UGMerge lines.love - [36]
6LJZN727handle chords - [37]
TVCPXAAUrename - [38]
CE4LZV4Tdrop last couple of manual tests - [39]
RU4HIK43Merge lines.love - [40]
BLWAYPKVextract a module - [41]
K74U4BAUMerge lines.love - [42]
JZR3QMTNMerge lines.love - [43]
TLOAPLBJadd a license - [44]
VXORMHMEdelete experimental REPL - [45]
BJ5X5O4Alet's prevent the text cursor from ever getting on a drawing - [46]
4SR3Z4Y3document the version of LÖVE I've been using - [47]
ATQO62TFMerge lines.love - [48]
66X36NZNa little more prose describing manual_tests - [49]
PJ5PQAQErecord support for multiple versions - [50]
BULPIBEGbeginnings of a module for the text editor - [51]
QD4LOFQRMerge text.love - [52]
3QNOKBFMbeginnings of a test harness - [53]
JOPVPUSAediting source code from within the app - [54]
D2GCFTTTclean up repl functionality - [55]
JDZVBFEIMerge lines.love - [56]
ONHKBLLCMerge lines.love - [57]
XX7G2FFJintermingle freehand line drawings with text - [58]
RSZD5A7Gforgot to add json.lua - [59]
VHQCNMARseveral more modules - [60]
IGBTDA6YMerge text.love - [61]
2CTN2IEFMerge lines.love - [62]
ORKN6EOBMerge lines.love - [63]
FS2ITYYHrecord a known issue
Change contents
- file deletion: source.lua source.lua
function source.initialize_window_geometry()-- Initialize window width/height and make window resizable.---- I get tempted to have opinions about window dimensions here, but they're-- non-portable:-- - maximizing doesn't work on mobile and messes things up-- - maximizing keeps the title bar on screen in Linux, but off screen on-- Windows. And there's no way to get the height of the title bar.-- It seems more robust to just follow LÖVE's default window size until-- someone overrides it.App.screen.width, App.screen.height, App.screen.flags = App.screen.size()source.initialize_window_geometry()Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width-Margin_right) - file deletion: run.lua run.lua
function run.initialize_window_geometry()-- Initialize window width/height and make window resizable.---- I get tempted to have opinions about window dimensions here, but they're-- non-portable:-- - maximizing doesn't work on mobile and messes things up-- - maximizing keeps the title bar on screen in Linux, but off screen on-- Windows. And there's no way to get the height of the title bar.-- It seems more robust to just follow LÖVE's default window size until-- someone overrides it.run.initialize_window_geometry()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) - replacement in main.lua at line 114
initialize_window_geometry(App.width('m'))initialize_window_geometry() - replacement in main.lua at line 120
function initialize_window_geometry(em_width)function initialize_window_geometry()