Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Line folding and how does it works.

Anonymous
2012-10-10
2012-11-14

  • Anonymous
    2012-10-10

    Hello there, sorry for asking a lot in this forum. I just cant make line folding work and the documentation I see doesn't help.

    Im creating a plugin that reads the file and do several process before I work with the line folding.

    The problem is i just cant manage to get line folding work.

    If i want to make that like 5 hides all from line 5 to line 10. What do i have to do?

     

  • Anonymous
    2012-10-10

    I created the margin for the folding, i can assign markers to the line and set the fold level, i just dont know how to be able to toggle the lines.

     
  • cchris
    cchris
    2012-10-13

    You may want to check the NppNotifications.cpp source file from Notepad++. It contains the code to catch the click notification and take action. Check around line #367.

    CChris

     

  • Anonymous
    2012-10-15

    Ok, thx wil check that out. Was looking at the other files.