Thursday, April 21, 2011

Multiple hideshow regexes

In emacs, is there a way to get hideshow-mode to recognize multiple regular expressions for hiding?

From stackoverflow
  • Taken from the EmacsWiki. If I'm understanding your question right you may be out of luck however "no simple way" might mean there is a complicated way out there to be found.

    Good luck

    There is no simple way to specify multiple regexp pairs for a single language, e.g.,

    * Open: {, close: }
    * Open: #ifdef, close: #else or #elif or … etc.
    

0 comments:

Post a Comment