From caf8aa1ab187928c6ae6d6653d2af9b516d5d1b7 Mon Sep 17 00:00:00 2001 From: nakst <> Date: Sun, 6 Feb 2022 14:19:07 +0000 Subject: [PATCH] update TODO comments --- apps/script_console.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/script_console.cpp b/apps/script_console.cpp index 3899e58..ea697ad 100644 --- a/apps/script_console.cpp +++ b/apps/script_console.cpp @@ -562,6 +562,7 @@ const EsStyle styleListRowOdd = { }; void AddREPLResult(ExecutionContext *context, EsElement *parent, Node *type, Value value) { + // TODO Improve styling. // TODO Truncating/scrolling/collapsing/saving/copying output. // TODO Letting scripts register custom views for structs. @@ -588,8 +589,6 @@ void AddREPLResult(ExecutionContext *context, EsElement *parent, Node *type, Val char *buffer = EsStringAllocateAndFormat(&bytes, "\"%s\"", valueBytes, valueText); EsTextDisplayCreate(parent, ES_CELL_H_FILL, &styleOutputParagraphStrong, buffer, bytes); } else if (type->type == T_LIST && type->firstChild->type == T_STRUCT) { - // TODO Row styling. - EsAssert(context->heapEntriesAllocated > (uint64_t) value.i); HeapEntry *listEntry = &context->heap[value.i]; EsAssert(listEntry->type == T_LIST);