> > > - I could easily do that with cloned nodes. However, we are strongly > encouraged *not* to create cross-file clones. > > Any suggestions on how to accomplish that without using clones? > > As long as you are not using any other editor to edit those files and you are the only one who edits them, it is safe to use cross-file clones for this kind of problem.
If you do use other editors you might accidentally change the content of some parts that should be same in all other files. But that risk won't be any less even if you don't use clones. At least Leo will warn you if those sections ever get out of sync. Keeping same content in several files, and keeping it synchronized is not a trivial task. Leo with clones can help you to manage this task reasonably safe. You might look for other mechanisms of sharing text parts between files, like including one file in all others, or extending templates, defining constants, ... Perhaps you can create intermediate files with Leo/or other editors and then use some kind of pre-processor/script to put the section content in all the final files. Vitalije -- 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
