Folding in code is quite different in UDL 2.0.
Instead of two keyword sets (open and close), now we have three keyword sets (open, middle and close).
Also, there are two Folding in code groups: one for forward (style1) and one for backward (style2) search.
Example 1:
There are two important things here. As you can see both Folding 1 and Folding 2 create folding points, but they work differently.
|
Note that: forward and backward search concept is explained in more detail in Introduction tab.
You should read that part if you haven't already.
Example 2:
Example 2:
Example 3: EDIT: this should be fixed in Beta 1 !!