about 'paste as template'

77 views
Skip to first unread message

Félix

unread,
Jan 1, 2022, 5:29:52 PM1/1/22
to leo-editor
Is this command documented somewhere? 

(i'm transliterating it to typescript today so i'll have a good idea of what it does pretty soon, but I was just wondering if it's documented somewhere...)

--
Félix

Félix

unread,
Jan 1, 2022, 5:32:03 PM1/1/22
to leo-editor
Oh, and a good and happy new year 2022 to every one hanging in the leo-editor google group forum!! :)

vitalije

unread,
Jan 2, 2022, 5:03:44 AM1/2/22
to leo-editor
I remember implementing this command after some discussion here.
The idea for this command came from this thread
and the implementation is discussed here.

Félix

unread,
Jan 2, 2022, 1:36:15 PM1/2/22
to leo-editor
Thank you for this vitalije !!  :)

Félix

unread,
Jan 2, 2022, 9:40:21 PM1/2/22
to leo-editor
I've changed the description string from 'Paste as template' to 'Paste as template clones only nodes that were already clones' in leojs.

If anyone has a suggestion, don't hesitate to propose something else if you can think of a better (more concise) way to phrase it.
--
Félix

vitalije

unread,
Jan 4, 2022, 4:56:05 AM1/4/22
to leo-editor
The most accurate explanation that I could think of would be: "creates a copy of the tree from the clipboard by creating NEW COPIES of most of the (sub)nodes but CLONING only those (sub)nodes which have clones outside the copied tree". Perhaps someone of native speakers can paraphrase that in more adequate way.

tbp1...@gmail.com

unread,
Jan 4, 2022, 8:44:55 AM1/4/22
to leo-editor
"Copy And Keep Clones".
Reply all
Reply to author
Forward
0 new messages