new globals: draw partial screen line up top
[?]
May 20, 2022, 1:58 PM
WLHI7KD3LJTQH6V7RLVJWGZUR4YQK6LN4OIUMIN45BGMMQGN6RNQCDependencies
- [2]
LUNH47XXmake text and drawings the same width - [3]
A2QPFRFJmove - [4]
3TFEAQSWstart using some globals - [5]
H2DPLWMVsnapshot: wrapping long lines at word boundaries - [6]
5L7K4GBDclicking to the right of a wrapped line - [7]
BOFNXP5Gclicking now moves the cursor even on long, wrapped lines - [*]
BULPIBEGbeginnings of a module for the text editor - [*]
OTIBCAUJlove2d scaffold - [*]
JCSLDGAHbeginnings of support for multiple shapes - [*]
PWHZPJJMalways show current filename in window title
Change contents
- replacement in text.lua at line 22
y = y + math.floor(15*Zoom)if line_index > Screen_top_line or pos >= Top_screen_line_starting_pos theny = y + math.floor(15*Zoom)end - replacement in text.lua at line 32
love.graphics.draw(frag_text, x,y, 0, Zoom)if line_index > Screen_top_line or pos >= Top_screen_line_starting_pos thenlove.graphics.draw(frag_text, x,y, 0, Zoom)end - edit in main.lua at line 50
Top_screen_line_starting_pos = 1 -- when top of screen starts in between a wrapped lineBottom_screen_line_starting_pos = 1 -- when bottom of screen starts in between a wrapped line - edit in main.lua at line 71[12.43][2.87]
--? Line_width = 100