add args to some functions

[?]
Jul 8, 2022, 11:26 PM
5OALPNN3FGDKFM4K5EQZV6FU6GCKHEVSJDXM6XFFC7LGXES7GLWQC

Dependencies

  • [2] EGH7XDBK support non-text lines in Text.to2
  • [3] QCQTMUZ7 add args to some functions
  • [4] 2CH77LZC add args to some functions
  • [5] 3OKKTUT4 up and down arrow now moving by screen line where possible
  • [6] HOSPP2AN crisp font rendering
  • [7] H2DPLWMV snapshot: wrapping long lines at word boundaries
  • [8] KECEMMMR extract couple of functions
  • [9] KOTI3MFG bugfix in previous commit
  • [10] AYE2VEGJ extract a couple of methods
  • [11] HTWAM4NZ bugfix: scrolling in left/right movements
  • [12] ESETRNLB bugfix: printing the first part of a line at the bottom made it seem non-wrapping
  • [13] IMEJA43L snapshot
  • [14] ULKLJBN6 couple of renames
  • [15] KZ5GAYRP this fixes the immediate regression
  • [16] KOYAJWE4 extract a couple more methods
  • [17] CVSRHMJ2 experiment: slightly adaptive scrolling
  • [18] QYIFOHW3 first test!
  • [19] 242L3OQX bugfix: ensure Cursor_line is always on a text line
  • [20] HMODUNJE scroll on backspace
  • [21] 62PZGSUC optimization: moving cursor to next word
  • [22] TRNWIQN6 more precise height calculation when scrolling up as much as possible while keeping cursor on screen
  • [23] 2RXZ3PGO beginning of a new approach to scroll+wrap
  • [24] BTKAW76L rename
  • [25] BULPIBEG beginnings of a module for the text editor
  • [26] DXT4QTAH a few more integer coordinates
  • [27] ZPUQSPQP extract a few methods
  • [28] GCEF4N3V stop repeatedly checking for line wrapping

Change contents

  • replacement in text.lua at line 217
    [5.172][5.2982:3023](),[5.2982][5.2982:3023]()
    local top2 = Text.to2(Screen_top1)
    [5.172]
    [4.3]
    local top2 = Text.to2(Screen_top1, Margin_left, App.screen.width-Margin_right)
  • replacement in text.lua at line 359
    [5.115][5.115:152]()
    local top2 = Text.to2(Screen_top1)
    [5.115]
    [5.152]
    local top2 = Text.to2(Screen_top1, left, right)
  • replacement in text.lua at line 385
    [5.2991][5.2991:3031]()
    local top2 = Text.to2(Screen_bottom1)
    [5.2991]
    [5.3031]
    local top2 = Text.to2(Screen_bottom1, left, right)
  • replacement in text.lua at line 560
    [5.6597][5.6597:6636]()
    local top2 = Text.to2(Screen_top1)
    [5.6597]
    [4.150]
    local top2 = Text.to2(Screen_top1, left, right)
  • replacement in text.lua at line 632
    [5.231][5.62:95](),[3.658][5.62:95](),[5.589][5.62:95]()
    local top2 = Text.to2(Cursor1)
    [3.658]
    [5.533]
    local top2 = Text.to2(Cursor1, left, right)
  • replacement in text.lua at line 821
    [5.3295][5.7735:7759]()
    function Text.to2(pos1)
    [5.3295]
    [2.1]
    function Text.to2(pos1, left, right)