From b02d5155bd17de5ab9b9a1de384f7eeaec399f5f Mon Sep 17 00:00:00 2001 From: dylan <> Date: Sat, 6 May 2023 10:13:49 -0700 Subject: [PATCH] Add a todo comment --- codetab.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/codetab.ts b/codetab.ts index d06c3f7..04a0456 100644 --- a/codetab.ts +++ b/codetab.ts @@ -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;