This commit is contained in:
justumen
2024-09-22 17:27:56 +02:00
parent 37520a9366
commit 6a9d31022a
26 changed files with 455 additions and 51 deletions

View File

@@ -47,6 +47,10 @@ app.registerExtension({
color = '#0096FF'; // Integer
} else if (/^-?\d*\.?\d+$/.test(value)) {
color = 'orange'; // Float
} else if (value.startsWith("If-Else ERROR: ")) {
color = 'red'; // If-Else ERROR lines
} else if (value.startsWith("tensor(")) {
color = '#0096FF'; // Lines starting with "tensor("
}
w.inputEl.style.color = color;