I would have preferred a bit more testing of this change, but I thought it best to push what I had so as to make the Plugins menu functional again :-)
All day yesterday I worked on two related tasks: 1. Basing the import checks on tokens, rather than characters. This gives the verify much more control over the proper comparisons to make. Recall that Leo's importers run these checks automatically whenever executing an import command or whenever loading an @auto tree. In practice, there have been many more problems with the import checks themselves rather than the import code the checks are supposed to verify. Nevertheless, the import checks are essential, imo. 2. Fixing difficult bugs in the html import logic. I fixed one bug (only double-quotes start html strings) and found the root of the other: html comment tokens may have leading whitespace, but that leading whitespace should be ignored when verifying that the import went smoothly. You would think that verifying the accuracy of html imports would be easier than usual. After all, whitespace is completely irrelevant outside of comments and strings. But not so. The complexities are immense, and intrinsic. But I've just about conquered them :-) Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
