switch arg for a function
[?]
Jul 8, 2022, 3:47 PM
2H67P75X7FSSNZMV4TU5I46XLIYAJ5VT7H6MS7GYLUSNTA4IRDFQCDependencies
- [2]
YGCT2D2Ostart loading settings as applicable - [3]
WOXIYUTLbugfix: manage screen_top and cursor when resizing - [4]
SVJZZDC3snapshot - no, that's all wrong - [5]
M6TH7VSZrip out notion of Line_width - [6]
XX7G2FFJintermingle freehand line drawings with text - [7]
PX7DDEMOautosave slightly less aggressively - [8]
2RXZ3PGObeginning of a new approach to scroll+wrap - [9]
IRV65LZPfold variables for screen dimensions into the app framework - [10]
EDY3RQULgracefully handle a non-existent filename at the commandline - [11]
ESETRNLBbugfix: printing the first part of a line at the bottom made it seem non-wrapping - [12]
OYXDYPGSget rid of debug variables - [13]
EGH7XDBKsupport non-text lines in Text.to2 - [14]
AIRIP35Zcleaner - [15]
XNFTJHC4split keyboard handling between Text and Drawing - [16]
MYC7XR5Qbugfix: lines that aren't drawn from the start - [17]
DHCLUDCW. - [18]
GCEF4N3Vstop repeatedly checking for line wrapping - [19]
HJ3PM2VT. - [20]
ZPUQSPQPextract a few methods - [21]
QU7NHFOVshow cursor - [22]
R53OF3ONone bug I've repeatedly run into while testing with Moby Dick - [23]
LERERVPHkeep one screen line of overlap on pagedown - [24]
4VKEE43Zbugfix - [25]
5FW7YOFThighlight selection while dragging - [26]
OTIBCAUJlove2d scaffold - [27]
H2DPLWMVsnapshot: wrapping long lines at word boundaries - [28]
3OKKTUT4up and down arrow now moving by screen line where possible - [29]
DLQMM265scroll past first page - [30]
CBPV5SSIstop handling nil screen_line_starting_pos everywhere - [31]
6E3HVYWFtest and App helper for mouse clicks - [32]
KZ5GAYRPthis fixes the immediate regression - [33]
VJ77YABHmore efficient undo/redo - [34]
ZNLTRNNKhighlight another global - [35]
LAW2O3NWextract variable Margin_left - [36]
JY4VK7L2rename - [37]
AVQ5MC5Dfinish uppercasing all globals - [38]
5DOTWNVMright margin - [39]
HYEAFRZ2split mouse_pressed events between Text and Drawing - [40]
BOFNXP5Gclicking now moves the cursor even on long, wrapped lines - [41]
AYE2VEGJextract a couple of methods - [42]
MDXGMZU2disable all debug prints - [43]
2ZYV7D3Whandle tab characters - [44]
PR4KIAZDfirst stab at equally hacky cursor down support - [45]
V5MJRFOZbugfix: down arrow doesn't scroll up unnecessarily - [46]
K464QQR4more defensive resize handling - [47]
CCYSVZA2bugfix: BSOD in #4. - [48]
HDC3AAQPsilly reason my screenshots had an ugly black line down the left - [49]
DGK5BPVIbugfix: UTF-8 in compute_fragments - [50]
2C7CTIQYmake space for multiple kinds of width - [51]
BULPIBEGbeginnings of a module for the text editor - [52]
P66MRF3Ubugfix: don't append metadata when it already exists - [53]
HOSPP2ANcrisp font rendering - [54]
HTWAM4NZbugfix: scrolling in left/right movements - [55]
PIEDOKYQbugfix - [56]
NZ7V4BVSnote card - [57]
PESSMQBJno, make sure to compute line width after screen dimensions - [58]
4NDYV4WDfix 2 bugs in line selection - [59]
YJJ4X4JGbugfix: avoid scrolling on 'end' - [60]
IRCKL6VNextract scrolling logic out of insert_at_cursor - [61]
G3VLJLDHuse the background color
Change contents
- replacement in text.lua at line 25
Text.populate_screen_line_starting_pos(line_index)Text.populate_screen_line_starting_pos(line) - replacement in text.lua at line 146
Text.populate_screen_line_starting_pos(Cursor1.line)Text.populate_screen_line_starting_pos(Lines[Cursor1.line]) - replacement in text.lua at line 179
Text.populate_screen_line_starting_pos(Cursor1.line)Text.populate_screen_line_starting_pos(Lines[Cursor1.line]) - replacement in text.lua at line 418
Text.populate_screen_line_starting_pos(Cursor1.line)Text.populate_screen_line_starting_pos(Lines[Cursor1.line]) - replacement in text.lua at line 591
Text.populate_screen_line_starting_pos(Cursor1.line)Text.populate_screen_line_starting_pos(Lines[Cursor1.line]) - replacement in text.lua at line 602
Text.populate_screen_line_starting_pos(Cursor1.line)Text.populate_screen_line_starting_pos(Lines[Cursor1.line]) - replacement in text.lua at line 670
Text.populate_screen_line_starting_pos(line_index)Text.populate_screen_line_starting_pos(line) - replacement in text.lua at line 825
Text.populate_screen_line_starting_pos(pos1.line)Text.populate_screen_line_starting_pos(Lines[pos1.line]) - replacement in text.lua at line 890
Text.populate_screen_line_starting_pos(pos2.line-1)Text.populate_screen_line_starting_pos(Lines[pos2.line-1]) - replacement in text.lua at line 895[4.8448]→[4.2149:2209](∅→∅),[4.2209]→[4.631:697](∅→∅),[4.697]→[4.2250:2283](∅→∅),[4.2250]→[4.2250:2283](∅→∅)
function Text.populate_screen_line_starting_pos(line_index)--? print('Text.populate_screen_line_starting_pos', line_index)local line = Lines[line_index]function Text.populate_screen_line_starting_pos(line) - edit in text.lua at line 910
--? print(x, pos, frag, frag_width) - edit in text.lua at line 913
--? print('new screen line:', #line.screen_line_starting_pos, pos) - edit in text.lua at line 923
Text.populate_screen_line_starting_pos(Screen_top1.line) - edit in text.lua at line 924
Text.populate_screen_line_starting_pos(line) - edit in main.lua at line 228[4.64]→[4.302:336](∅→∅),[4.88]→[4.302:336](∅→∅),[4.165]→[4.302:336](∅→∅),[4.337]→[4.302:336](∅→∅),[4.932]→[4.302:336](∅→∅),[4.1317]→[4.302:336](∅→∅),[4.302]→[4.302:336](∅→∅)
love.graphics.setColor(0, 0, 0) - edit in main.lua at line 229
love.graphics.setColor(0, 0, 0)