#1349 PHP folding includes all blank lines following the block

Bug
closed-rejected
Scintilla (796)
1
2012-06-02
2012-04-07
Anonymous
No

I haven't found this with any other languages, but with PHP if you collapse a block, any blank lines following it are also hidden.

E.g.

[CODE]
function a() {
//...
}

function b() {
//...
}
[/CODE]

If you collapse a() it becomes:

[CODE]
function a() {
function b() {
//...
}
[/CODE]

Discussion

  • Jérôme LAFORGE

    Set fold.compact=1 into your config file.

     
  • Neil Hodgson

    Neil Hodgson - 2012-04-07
    • assigned_to: nobody --> nyamatongwe
    • priority: 5 --> 1
    • status: open --> open-rejected
     
  • Neil Hodgson

    Neil Hodgson - 2012-06-02
    • status: open-rejected --> closed-rejected
     

Log in to post a comment.