add args to some functions
[?]
Jul 8, 2022, 11:28 PM
UV4EWOLYCQ27TL6IGGLKNQX3UUOF7HJ5EJVCZYW345X6BK4J7YQACDependencies
- [2]
5DOTWNVMright margin - [3]
2TQR4PSYadd args to some functions - [4]
GGJEDJOOadd args to some functions - [5]
QCQTMUZ7add args to some functions - [6]
SVJZZDC3snapshot - no, that's all wrong - [7]
3OKKTUT4up and down arrow now moving by screen line where possible - [8]
OYXDYPGSget rid of debug variables - [9]
2RXZ3PGObeginning of a new approach to scroll+wrap - [10]
AYE2VEGJextract a couple of methods - [11]
P66MRF3Ubugfix: don't append metadata when it already exists - [12]
CBPV5SSIstop handling nil screen_line_starting_pos everywhere - [13]
MYC7XR5Qbugfix: lines that aren't drawn from the start - [14]
PR4KIAZDfirst stab at equally hacky cursor down support - [15]
4VKEE43Zbugfix - [16]
CTJ3IZGSadd args to some functions - [17]
M6TH7VSZrip out notion of Line_width - [18]
LERERVPHkeep one screen line of overlap on pagedown - [19]
ZPUQSPQPextract a few methods - [20]
2ZYV7D3Whandle tab characters - [21]
JY4VK7L2rename - [22]
GCEF4N3Vstop repeatedly checking for line wrapping - [23]
BULPIBEGbeginnings of a module for the text editor - [24]
CCYSVZA2bugfix: BSOD in #4. - [25]
242L3OQXbugfix: ensure Cursor_line is always on a text line - [26]
ESETRNLBbugfix: printing the first part of a line at the bottom made it seem non-wrapping - [27]
HOSPP2ANcrisp font rendering - [28]
HYEAFRZ2split mouse_pressed events between Text and Drawing - [29]
KZ5GAYRPthis fixes the immediate regression - [30]
R53OF3ONone bug I've repeatedly run into while testing with Moby Dick - [31]
PIEDOKYQbugfix - [32]
2H67P75Xswitch arg for a function - [33]
H2DPLWMVsnapshot: wrapping long lines at word boundaries - [34]
EGH7XDBKsupport non-text lines in Text.to2 - [35]
LAW2O3NWextract variable Margin_left - [36]
2CH77LZCadd args to some functions - [37]
V5MJRFOZbugfix: down arrow doesn't scroll up unnecessarily - [38]
WOXIYUTLbugfix: manage screen_top and cursor when resizing - [39]
IRCKL6VNextract scrolling logic out of insert_at_cursor
Change contents
- replacement in text.lua at line 25
Text.populate_screen_line_starting_pos(line)Text.populate_screen_line_starting_pos(line, left, right) - replacement in text.lua at line 146
Text.populate_screen_line_starting_pos(Lines[Cursor1.line])Text.populate_screen_line_starting_pos(Lines[Cursor1.line], Margin_left, App.screen.width-Margin_right) - replacement in text.lua at line 179
Text.populate_screen_line_starting_pos(Lines[Cursor1.line])Text.populate_screen_line_starting_pos(Lines[Cursor1.line], Margin_left, App.screen.width-Margin_right) - replacement in text.lua at line 418
Text.populate_screen_line_starting_pos(Lines[Cursor1.line])Text.populate_screen_line_starting_pos(Lines[Cursor1.line], left, right) - replacement in text.lua at line 591
Text.populate_screen_line_starting_pos(Lines[Cursor1.line])Text.populate_screen_line_starting_pos(Lines[Cursor1.line], left, right) - replacement in text.lua at line 602
Text.populate_screen_line_starting_pos(Lines[Cursor1.line])Text.populate_screen_line_starting_pos(Lines[Cursor1.line], left, right) - replacement in text.lua at line 670
Text.populate_screen_line_starting_pos(line)Text.populate_screen_line_starting_pos(line, left, right) - replacement in text.lua at line 826
Text.populate_screen_line_starting_pos(Lines[pos1.line])Text.populate_screen_line_starting_pos(Lines[pos1.line], left, right) - replacement in text.lua at line 891
Text.populate_screen_line_starting_pos(Lines[pos2.line-1])Text.populate_screen_line_starting_pos(Lines[pos2.line-1], left, right) - replacement in text.lua at line 896
function Text.populate_screen_line_starting_pos(line)function Text.populate_screen_line_starting_pos(line, left, right) - replacement in text.lua at line 905
local x = Margin_leftlocal x = left - replacement in text.lua at line 911[6.1923]→[2.4537:4596](∅→∅),[6.1925]→[6.2567:2589](∅→∅),[2.4596]→[6.2567:2589](∅→∅),[6.2627]→[6.2567:2589](∅→∅)
if x + frag_width > App.screen.width-Margin_right thenx = Margin_leftif x + frag_width > right thenx = left - replacement in text.lua at line 925
Text.populate_screen_line_starting_pos(line)Text.populate_screen_line_starting_pos(line, left, right)