Is it possible to config Outline Plug-in to act like this?
For example, in "ini" files , codes are presented this way:
I would like the outline plug-in work like this:
Is this possible?
I have set "Custom (Specify Begin as Level 1)/End as Level 2)" level 1: "]n$"
level 2: "^n"
but it doesn't work. Outline just fold everything below the line :-(
[some thing]
some code here
some code here
some code here
(blank line here)
[some thing else]
another code here
another code here
(blank line here)
...
...
...
I would like the outline plug-in work like this:
+[some thing][...]
+[some thing else][...]
Is this possible?
I have set "Custom (Specify Begin as Level 1)/End as Level 2)" level 1: "]n$"
level 2: "^n"
but it doesn't work. Outline just fold everything below the line :-(
zhouzh2 wrote:
For example, in "ini" files , codes are presented this way:
[some thing]
some code here
some code here
some code here
(blank line here)
[some thing else]
another code here
another code here
(blank line here)
...
...
...
I would like the outline plug-in work like this:
+[some thing][...]
+[some thing else][...]
Is this possible?
I have set "Custom (Specify Begin as Level 1)/End as Level 2)" level 1: "]n$"
level 2: "^n"
but it doesn't work. Outline just fold everything below the line :-(
Please use the latest version (currently RC4), and specify blank as the Level 2 string. Thanks!
Yes, the lastest RC4 works. Beautifully done!
Just one more question: why "blank" works but regex "^n" doesn't? IMHO they should be the same.
Just one more question: why "blank" works but regex "^n" doesn't? IMHO they should be the same.
zhouzh2 wrote:
Yes, the lastest RC4 works. Beautifully done!
Just one more question: why "blank" works but regex "^n" doesn't? IMHO they should be the same.
When the plug-in compares each line with a regular expression, each line does not contain a new line. Thus, regular expressions should not contains "n".
4 posts in this topic