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