Open diertani opened 10 years ago
It's not supposed to alert you in either case; token split/join operations are not supposed to affect it. So this is a problem. What is the difference between splitting "from the front" vs. "from the back"?
Ah! Well, in that case I'm glad I asked!
The difference is: if I have
(XP (YP) (ZP))
and I remove YP into a new root token, I don't get the message the next time I save, but if I move out ZP, I do. I also get it if I demote a root-level token to the status of a consituent in another token, from either direction, and if I combine two tokens into a single token, but not if I combine that new token with another token.
That's very odd...the result is the same in both cases isn't it:
(XP (YP))
(WP (ZP))
I'll have to look into and fix this...
Also, it seems to be the case that once I've experimentally combined tokens, it gives me the error message when I remove constituents from either direction.
Yeah, the result is the same...
...and also if I delete a spurious XP created through experimentation, it gives me the error message even though in that case the text has not changed at all.
This is not a problem, just a question from sheer curiosity. The script that alerts me to changes in the tokens doesn't alert me to changes if I split a sentence token from the front, but does if I do from the back. What's the difference, from the perspective of the script?