#1160 Folding possible bug

open-wont-fix
Neil Hodgson
Scintilla (789)
3
2011-06-04
2011-06-04
XhmikosR
No

Hi. I recently noticed a weird problem with the latest scintilla.
Attached is the ini file that causes this problem.

All started to happen after this commit: http://scintilla.hg.sourceforge.net/hgweb/scintilla/scintilla/rev/7e5a4a9eb847

Attached are 2 screenshots which show what I mean. Folds are folded but not unfolded.

I managed to partially reproduce it with the latest Sc1 2.26.
1) Open the ini file.
2) View-->Toggle all folds
3) View-->Toggle current fold while the marker is in the first line
4) View-->Toggle all folds does nothing, you have to do it twice

Discussion

  • XhmikosR
    XhmikosR
    2011-06-04

     
    Attachments
  • XhmikosR
    XhmikosR
    2011-06-04

     
    Attachments
  • XhmikosR
    XhmikosR
    2011-06-04

     
    Attachments
  • Neil Hodgson
    Neil Hodgson
    2011-06-04

    • assigned_to: nobody --> nyamatongwe
    • priority: 5 --> 3
    • status: open --> open-wont-fix
     
  • Neil Hodgson
    Neil Hodgson
    2011-06-04

    Its trading different confusions: we stopped showing the top fold indicator since clicking on it had no apparent effect but it is still used to determine which way the "Toggle all folds" will go.