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:
@@ -2,6 +2,10 @@ structure TextWindow =
|
|||||||
struct
|
struct
|
||||||
open TextConstants
|
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) =
|
fun getStartLineBefore (sIdx, shd, lineNum, absIdx, cursorIdx, stl) =
|
||||||
if sIdx < 0 then
|
if sIdx < 0 then
|
||||||
case stl of
|
case stl of
|
||||||
|
|||||||
Reference in New Issue
Block a user