Changing the Perl scheme to have folding comments

Locate perl.scheme at Programmer's Notepad\schemes folder and edit it. Search for the line that starts the language declarations:

<language name="perl" title="Perl" folding="true">

and add the following two values just before the right bracket:

foldcomments=“true” foldcompact=“true”

Save perl.scheme. Now, when you edit a file declared as Perl, consecutive lines of comments (starting with #) can be folded to show just the first one.

 
howto/fold_perl_comments.txt · Last modified: 2008/04/28 22:03 by Simon Steele
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki