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]
3OKKTUT4up and down arrow now moving by screen line where possible - [7]
2H67P75Xswitch arg for a function - [8]
2CH77LZCadd args to some functions - [9]
CBPV5SSIstop handling nil screen_line_starting_pos everywhere - [10]
PIEDOKYQbugfix - [11]
2ZYV7D3Whandle tab characters - [12]
H2DPLWMVsnapshot: wrapping long lines at word boundaries - [13]
R53OF3ONone bug I've repeatedly run into while testing with Moby Dick - [14]
PR4KIAZDfirst stab at equally hacky cursor down support - [15]
IRCKL6VNextract scrolling logic out of insert_at_cursor - [16]
WOXIYUTLbugfix: manage screen_top and cursor when resizing - [17]
SVJZZDC3snapshot - no, that's all wrong - [18]
BULPIBEGbeginnings of a module for the text editor - [19]
HOSPP2ANcrisp font rendering - [20]
LERERVPHkeep one screen line of overlap on pagedown - [21]
CCYSVZA2bugfix: BSOD in #4. - [22]
EGH7XDBKsupport non-text lines in Text.to2 - [23]
P66MRF3Ubugfix: don't append metadata when it already exists - [24]
AYE2VEGJextract a couple of methods - [25]
HYEAFRZ2split mouse_pressed events between Text and Drawing - [26]
2RXZ3PGObeginning of a new approach to scroll+wrap - [27]
JY4VK7L2rename - [28]
V5MJRFOZbugfix: down arrow doesn't scroll up unnecessarily - [29]
GCEF4N3Vstop repeatedly checking for line wrapping - [30]
242L3OQXbugfix: ensure Cursor_line is always on a text line - [31]
MYC7XR5Qbugfix: lines that aren't drawn from the start - [32]
LAW2O3NWextract variable Margin_left - [33]
M6TH7VSZrip out notion of Line_width - [34]
CTJ3IZGSadd args to some functions - [35]
KZ5GAYRPthis fixes the immediate regression - [36]
OYXDYPGSget rid of debug variables - [37]
ESETRNLBbugfix: printing the first part of a line at the bottom made it seem non-wrapping - [38]
ZPUQSPQPextract a few methods - [39]
4VKEE43Zbugfix
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)