This branch fixes #1232 <https://github.com/leo-editor/leo-editor/issues/1232>. It is based on devel, so it should be immune from the controversy surrounding the gnx branch.
The fix is conceptually straightforward. Within @clean files only, the new code disallows multiple section references on the same. Imo, this is not only reasonable, it is likely the only possible solution. Indeed, the @clean read logic ends up putting all section references on their own lines anyway. That is, within @clean files, any text preceding or following a section reference will end up on a separate line. There is zero chance I would consider changing this. There is only one slight drawback. The new code adds a new, required, arg to at.write. There is a slight possibility that this could break existing scripts or plugins. Imo, that's a risk worth taking. Other solutions would be more ugly. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/eff92b8b-6117-46ac-b8bd-880b6e7ae2d3%40googlegroups.com.
