If you are the local village idiot and type a line which is wrong and it doesn't show an error, I press the OK button and then I see an error for the node.
I open it and it says the line has an error.
I guess - now - you are right. (Of course you are.) It just threw me many times when I was working on that error we are discussing in the other thread.
I would type what I thought was correct and without thinking to move to another line, clicked the OK button and the node then told me there was an error.
I guess I need to move off the last line entered before pressing the OK button in future.
Sorry. Yeah. How it does it makes sense now - in retrospect.
It may be difficult for the interpreter to know that there is an error till you have finished typing. If it continually did it as you were typing it might be off-putting and also might take a lot of processor to continually re-evaluate it.
Granted while typing on a line you don't want error messages for that line.
But.....
If there is an error when you click the OK button, you are prompted THERE that there is an error and not after the edit screen has closed and you see the red triangle on the node and have to re-open it.
Just a thought.
Disabling the OK button - which I thought of - would not be good, as if you don't care and simply need to get out of editing that node for now..... It would be annoying.