add args to some functions
[?]
Jul 8, 2022, 11:26 PM
5OALPNN3FGDKFM4K5EQZV6FU6GCKHEVSJDXM6XFFC7LGXES7GLWQCDependencies
- [2]
EGH7XDBKsupport non-text lines in Text.to2 - [3]
QCQTMUZ7add args to some functions - [4]
2CH77LZCadd args to some functions - [5]
242L3OQXbugfix: ensure Cursor_line is always on a text line - [6]
ZPUQSPQPextract a few methods - [7]
GCEF4N3Vstop repeatedly checking for line wrapping - [8]
H2DPLWMVsnapshot: wrapping long lines at word boundaries - [9]
HMODUNJEscroll on backspace - [10]
BTKAW76Lrename - [11]
KZ5GAYRPthis fixes the immediate regression - [12]
IMEJA43Lsnapshot - [13]
HOSPP2ANcrisp font rendering - [14]
BULPIBEGbeginnings of a module for the text editor - [15]
KOTI3MFGbugfix in previous commit - [16]
ULKLJBN6couple of renames - [17]
3OKKTUT4up and down arrow now moving by screen line where possible - [18]
HTWAM4NZbugfix: scrolling in left/right movements - [19]
2RXZ3PGObeginning of a new approach to scroll+wrap - [20]
KECEMMMRextract couple of functions - [21]
TRNWIQN6more precise height calculation when scrolling up as much as possible while keeping cursor on screen - [22]
QYIFOHW3first test! - [23]
AYE2VEGJextract a couple of methods - [24]
DXT4QTAHa few more integer coordinates - [25]
KOYAJWE4extract a couple more methods - [26]
62PZGSUCoptimization: moving cursor to next word - [27]
CVSRHMJ2experiment: slightly adaptive scrolling - [28]
ESETRNLBbugfix: printing the first part of a line at the bottom made it seem non-wrapping
Change contents
- replacement in text.lua at line 217
local top2 = Text.to2(Screen_top1)local top2 = Text.to2(Screen_top1, Margin_left, App.screen.width-Margin_right) - replacement in text.lua at line 359
local top2 = Text.to2(Screen_top1)local top2 = Text.to2(Screen_top1, left, right) - replacement in text.lua at line 385
local top2 = Text.to2(Screen_bottom1)local top2 = Text.to2(Screen_bottom1, left, right) - replacement in text.lua at line 560
local top2 = Text.to2(Screen_top1)local top2 = Text.to2(Screen_top1, left, right) - replacement in text.lua at line 632
local top2 = Text.to2(Cursor1)local top2 = Text.to2(Cursor1, left, right) - replacement in text.lua at line 821
function Text.to2(pos1)function Text.to2(pos1, left, right)