remove 'skipToFirstVisibleColumn' function in TextBuilder, as control flow is simpler if we have fewer mutually recursive functions and we can implement its functionality in the 'build' function instead. Also change the 'z' values for cursor and highlight; the cursor should appear above the highlight and now it does, but it previously didn't

This commit is contained in:
2025-09-13 23:22:40 +01:00
parent 7a388f2983
commit 2ab48626cd
3 changed files with 119 additions and 304 deletions

View File

@@ -75,8 +75,8 @@ struct
, cursorOnCharB = 0.83
, charZ = 0.01
, cursorZ = 0.05
, highlightZ = 0.03
, cursorZ = 0.03
, highlightZ = 0.05
, startX = 5
, startY = 5
@@ -126,8 +126,8 @@ struct
, cursorOnCharB = 0.83
, charZ = 0.01
, cursorZ = 0.05
, highlightZ = 0.03
, cursorZ = 0.03
, highlightZ = 0.05
, startX = startX
, startY = 5