Add a todo comment
This commit is contained in:
parent
4b99599b31
commit
b02d5155bd
@ -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+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);
|
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)];
|
const tokens = [...tokenize(code)];
|
||||||
let cx = 0;
|
let cx = 0;
|
||||||
let cy = 0;
|
let cy = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user