sl-wxx / coffee-bytes

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

Block Based Folding Can Start on Wrong Line #12

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Quote: "Block based folding can start at the wrong point when
given a code block with next line braces, like this:
[-] - folding icon

<signature>
[-] {

}

when it should optimally be like this:

[-] <signature>
{

}"

RJL: There are several problems with code folding when using an expressed
block like this, rather than a compressed block (with the { trailing
directly after the method signature). We need to be more assertive in our
parsing to consider this case (it will involve moving away from the scanner
exclusively).

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