Suggestion (collapse option)

XXN
2014-07-19
2014-07-21
  • XXN
    XXN
    2014-07-19

    It would be good to add posibility to collapse blocks of code and from bottom side too. For me, often blocks have over 70 lines and it's a bit problematical to scroll up each time to collapse long section of code.

     
  • Loreia2
    Loreia2
    2014-07-20

    Hi XXN,

    in C-like languages you can jump to matching opening brace with CTRL+B shortcut.

    Regards,
    Loreia

     
  • Al Le
    Al Le
    2014-07-20

    What about XML? It would be cool if it would be possible to either collapse a node at its closing tag or to jump to the opening tag from the closing tag via Ctrl+B.

     
  • Al Le
    Al Le
    2014-07-21

    I use XML where it fits :-)

    The lexer has the information about the matching XML tags since corresponding tags are highlighted. Is it possible to get it via API (NP++ or Scintilla)? If it's possible then it should be an easy task to write a script using the python plugin. But does such API exist?