I encountered an interesting problem tonight.
My widgets passage is... huge. There came a point when new widgets wouldn't register. If I did something like
<<widget "test">>test<</widget>>
It would display the red "test macro does not exist">> and then sometimes several seconds later it would display "test" above that word.
But then I created a passage called widgets2 and also tagged it with wiget, and started adding new widgets there, and everything worked again.
Is it having a hard time reading a huge passage?
Comments
Also, when were you getting this error, when defining the widget or when trying to use it? It sounds like the latter, but….
I'm sure it's not a user error since if I copy past a widget from the start and give it a slightly different name (eg copy paste <<widget "news">> and call it <<widget "news2">> it'll fail to compile the new widget.
I had something like this before when it just randomly stopped working one day then restarted the next, but it doesn't matter since creating a second passage fixed it. My story is huge and complex though, so it's a workflow improvement to have multiple widget passages.