add todo note that text-window.sml needs to be changed so that it acts as if the screen is 80 chars wide if the screen can fit more than 80 chars, the same way text-builder.sml was changed in previous commits

This commit is contained in:
2025-08-31 01:47:11 +01:00
parent a9fda7d88b
commit 1cf33c9dd7

View File

@@ -2,6 +2,10 @@ structure TextWindow =
struct
open TextConstants
(* todo: at some point, make sure the functions in the TextWindow structure
* all act as if the screen is centered
* if the window width is more than 80 chars long *)
fun getStartLineBefore (sIdx, shd, lineNum, absIdx, cursorIdx, stl) =
if sIdx < 0 then
case stl of