By using symbols Regionerate knows which regions are self-managed ("Regionerated regions") and which regions should be kept untouched ("exisiting regions") .

Up until v0.6.6.5, symbols were visible as prefixes before the name of the region, for example:

#region [rgn] Fields (5)

 

Now you can choose between 3 different types of symbols:


1. Hidden Dragon - (default) The Hidden Dragon is a special character (#255) which is not considered whitespace, yet not visible. If you use the Hidden Dragon, the symbol will be transparently embedded in your region declarations and will look like this:


#region Fields (5)

I would recommend you keep using the Hidden Dragon unless you stumble upon any trouble with it or if you want to be able to visually identify Regionerated regions.


2. Prefix - Allows you to add a prefix to Regionerated region headers, for example:



#region [rgn] Fields (5)

3. Wrapper - Allows you to add a prefix and a suffix to Regionerated region headers, for example:



#region [Fields (5)]

The symbol can be declared in your Code Layout document under the Configuration element.


 

<Configuration>
    <Symbol>
        <HiddenDragon />
    </Symbol>
    ...
</Configuration>



 



Labels: ,

0 comments. Add a comment.