sl-wxx / coffee-bytes

Automatically exported from code.google.com/p/coffee-bytes
0 stars 0 forks source link

User Defined Region End Tag acts as Start Tag #19

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Quote:
"When using a user-defined region with content between
it (for some reason it works when there's no code in
there) that is directly before another user-defined region,
the start tag does not enable folding. Instead, the end
tag does, and it goes to the next start tag.

For instance, using defaults, this...

// [start]
public String name;
// [end]

// [start]
public String address;
// [end]

Will collapse to this...

// [start]
public String name;
// [end]...
public String address;
// [end]

I've also had a problem with nested user-defined regions
when the internal region contains code; but this isn't a
big deal because I rarely use nested regions.

The former problem is a show-stopper for me getting my
team setup with CB, tho. If the regions don't act
correctly, the'll just cause problems and make things
harder to read."

Original issue reported on code.google.com by rjlori...@gmail.com on 20 Oct 2006 at 9:40