Add a todo comment

This commit is contained in:
dylan 2023-05-06 10:13:49 -07:00
parent 4b99599b31
commit b02d5155bd

View File

@ -301,6 +301,7 @@ const drawCodeField = (code: string, x: number, y: number, w: number, h: number)
fillRect(x+anchorX*fontWidth-scrollX, y+anchorY*(fontHeight+1)-scrollY, fontWidth+1, fontHeight+1, COLOR.GREEN);
fillRect(x+focusX*fontWidth-scrollX, y+focusY*(fontHeight+1)-scrollY, fontWidth+1, fontHeight+1, COLOR.YELLOW);
}
// TODO: syntax highlight built-in functions
const tokens = [...tokenize(code)];
let cx = 0;
let cy = 0;