fix 'getStartLineBefore' in text-window.sml, where we always decrement 'lineNum' variable when encountering \n, and use 'Int.max (lineNum - 1, 0)' to clip lineNum to 0 if it happens to go below 0

This commit is contained in:
2024-11-07 11:57:32 +00:00
parent c07afee77f
commit a35c0803fb
2 changed files with 4 additions and 19 deletions

BIN
shf

Binary file not shown.