Using html5 Backend but any other would likely have a similar problem ?
from Components Examples Labels
label text=“32px red style” style=“font-size: 32px;color:red;”
something like textarea below
vbox style=“padding: 5px;”
button text=“Click Me!” onclick=“this.text=‘Thanks!’” style=“font-size: 24px;” /
textarea width=“100%” height=“200” text="this is a " style=“font-size: 12px;color:red;”
text="Verb " style=“font-size: 12px;color:green;”/
(removed the < > so we can see the good stuff)
Key Idea is to be able to mix text of selected Colors together inside a Label or Textarea
To support more expressive Text representations like:
Highlighting keywords in a code Editor.
So there is a need to have a display where text can be changed. After the change the forGL Parser would figure out the new text and re Color any edited text keywords as needed by overwriting the old text.
There is also a need to display Colored text that is not editable for showing structural information.
VSCode has a Map feature (typically at Right side of IDE).
forGL would have a Dictionary window that shows the top level Verbs (code) that then calls lower level Verbs. Similar to what used to be referred to as a Call Tree.
Hopefully I am just missing some HaxeUI syntax combination here.