PR #3215 <https://github.com/leo-editor/leo-editor/pull/3215> changes many 
files in complex ways. See detailed comments in the first comment of the PR.

This PR started as a fix for a minor bug 
<https://github.com/leo-editor/leo-editor/issues/3181>, but work expanded 
in unexpected directions.

*New, unbreakable, unls*

The status line now reports unls of the form: unl:gnx:<gnx>.

After copying this string to any body text:
- Leo's syntax coloring code will show this as any other url.
- Control-clicking this url will take you to the first position of the 
outline having the given <gnx>.

These unls won't break unless you delete the original node (including all 
its clones)!

*Summary*

This PR is a milestone in Leo's history. How did we ever live without 
unbreakable unl links?

Internally, Leo now uses *only* these new unls. The old unls are gone. This 
PR should simplify leoJS.

I'll merge this PR into devel in a day or three. I won't wait for a code 
review. The code involved is too tricky to understand in an hour or five.

I'll take full responsibility for any problems that may arise. We aren't 
going back.

All comments are welcome. There is plenty of time for tweaks.

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/9ffafd59-1c1f-4cc4-8f18-7c4021e21f9dn%40googlegroups.com.

Reply via email to