This branch is my attempt at #1665 <https://github.com/leo-editor/leo-editor/issues/1665>. #1666 <https://github.com/leo-editor/leo-editor/pull/1666> is the corresponding PR.
This was tricky code to get right, but the result is slightly simpler than the old. As noted in #1665, Leo no longer uses an "empty" cache key to represent new files. Instead, new files get the layout of the first-loaded .leo file. When someone loads Leo for the very first time (.leo/db is empty), Leo will use one of two reasonable defaults. The new code passes my limited tests. Please test the docks3 branch and report any problems. I won't merge this branch into devel until Thomas is happy. *Note*: The docks3 branch is the only remaining dock-related branch. All other branches have been merged into devel or deleted. 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/9042070d-0f09-49f4-9432-eb76ccdbc066o%40googlegroups.com.
