After my previous post on the subject I have been doing some thinking and realized that it will be very annoying to not have any control on the symbol (the unique string that will appear at region declarations to help Regionerate distinguish between Regionerated regions and existing regions).
Here’s how I’ve solved it:
Inside the Code Layout XML file, the CodeLayout element has an optional string attribute called Symbol. You can use it to set your own symbol ( such as [*], [~] or any other kind of symbol )
If you don’t mention any symbol, it will use the default [rgn] symbol.
For example:
<CodeLayout Symbol=”[!]“>
If you do not want to distinguish Regionerate region from existing regions, all you need to do is set your symbol to an empty string as in
<CodeLayout Symbol=”">
This will make Regionerate treat existing regions the same as Regionerated regions. (since they both share the empty symbol, sort of…)
Note: Setting the symbol is possible only if you are using a custom Code Layout, the default Code Layout will use [rgn] as its symbol.
No Responses to “Existing Regions Continued”