Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Folding block marks misplaced

2. Help
lancelot
2014-01-18
2014-03-03
  • lancelot
    lancelot
    2014-01-18

    Not sure what is the best place to ask this. Create a custom language with Folding in code 1 style using { for Open and } for Close (curly braces). Add ( and ) to Operators 1 (round parentheses). Now in this code the folding block markup comes out wrong:

    if (cond)
        foo
    else
        if (cond2) {
            bar
        }
    

    Notepad++ places the beginning of the block at the line containing bar, not the line with the opening curly brace. Is this the expected behavior?

     
  • Loreia2
    Loreia2
    2014-03-03

    Hi lancelot,

    I know I am late to the rescue, but can you share your userdefine.xml file?

    BR,
    Loreia