better naming of functions to create search/char highlight

This commit is contained in:
2025-10-15 10:01:50 +01:00
parent e2ed022ccc
commit 60b6cc6d6d
3 changed files with 11 additions and 9 deletions

View File

@@ -157,7 +157,7 @@ struct
, #cursorB env
)
fun makeHighlight (posX, posY, env: env_data) =
fun makeSearchHighlight (posX, posY, env: env_data) =
Rect.lerp
( Real32.fromInt (posX - 2)
, Real32.fromInt posY
@@ -184,7 +184,7 @@ struct
, #charB env
)
fun makeCursorOnChr (chr, posX, posY, env: env_data) =
fun makeCursorHighlightedChr (chr, posX, posY, env: env_data) =
CozetteAscii.make
( chr
, Real32.fromInt posX
@@ -198,7 +198,7 @@ struct
, #cursorHighlightedCharB env
)
fun makeHighlightChr (chr, posX, posY, env: env_data) =
fun makeSearchHighlightedChr (chr, posX, posY, env: env_data) =
CozetteAscii.make
( chr
, Real32.fromInt posX