It turns out that always reading the entire .leo files to be diffed collapses the complexity of the code, clarifies what is happening, and does not greatly complicate the diffs:
- diff_list_of_files no longer takes a show_files arg. To-be-differed files are always fully loaded and always shown. - The code "just works" in the unlikely event that a to-be-diffed .leo is already opened. As an additional improvement, the "changed" tree now lists nodes as: 1: headline of the node in the first file. 2: headline of the node in the second file. This is actually clearer and less cluttered than before. *Summary* No tricky cases remain in the code, or in the user interface. 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 leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.