I will check this out Terry, sorry I hadn't seen this post before I 
responded to Edward.

On Monday, May 4, 2015 at 8:01:51 AM UTC-4, Terry Brown wrote:
>
> Have a look at the valuespace plug in, I think it does outline wide 
> substitution. Not sure if the results are syntax agnostic. 
> Cheers -Terry
>
> On May 4, 2015 6:14:47 AM CDT, john lunzer <lun...@gmail.com <javascript:>> 
> wrote:
>>
>> I've been using Leo to help me organize hundreds of bash scripts. Some 
>> scripts share common data. One might say my project (and my reason for 
>> seeking out Leo) was to find a way to organize all these scripts. It's been 
>> a resounding success.
>>
>> I'd like to find a way to consolidate common pieces of data in a type of 
>> "global variables node" where I can change a value once and it is applied 
>> to all files/nodes which reference it. I've been doing this with 
>> find/replace all but I find this cumbersome and it does not document the 
>> shared data.
>>
>> Could Leo have something like @int/@bool/@string/etc simple settings 
>> types but applicable to any node in an outline?
>>
>> Section references do what I'm talking about but in reverse. In a section 
>> reference you can reference blocks of code in a parent node and it will 
>> replace them if those section definition nodes are found as children. My 
>> proposal here is to have node which collects a type of node similar to 
>> section definition nodes where those definitions could be referenced 
>> anywhere in an outline (or suboutline) similarly to how simple settings 
>> nodes work.
>>
>> I guess I would call these "Global Project Variables" if defined at the 
>> top level.
>>
>>

-- 
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 http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to