Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is it possible to get rid of the function folding margin on Notepad++? It seems like the sort of thing that should be in the prefs but I'm not seeing it anywhere.

share|improve this question
add comment

3 Answers 3

up vote 2 down vote accepted

In notepad++ v5.9.6.2 it's an option in the preferences. Under the "Editing" tab. They call it "Folder Margin Style". You can now select "none".

I think the more generic term for it is code folding.

share|improve this answer
add comment

I found someone else asking the same question on SourceForge

The solution is claimed to be:

If you go into langs.xml and comment out the Language tags for file extensions that you want, for me it's PHP, Perl and VBS, then restart Notepad++ and VOILA!!! No more annoying folder margins.

I hope it helps.

share|improve this answer
    
Hmm. All that seemed to do was disable most of the syntax highlighting. The folding margin is still stubbornly stuck to the side of the window. –  izb Aug 24 '09 at 14:15
    
Well it's hard to find any reference of what your asking for :-( I wonder if Notepad++ calls folding margin something else... –  Ivo Flipse Aug 24 '09 at 15:38
2  
There are no options for hiding the folding margin. You can only change the style of the folding margin, unfortunately. –  alex Aug 25 '09 at 10:38
add comment

You can add this macro to the Macros section of shortcuts.xml to make a shortcut Ctrl+Alt+H to hide the fold margin. I haven't yet found a way to make the macro auto-execute, so for now you just have to manually hide it for each buffer...

<Macro name="Hide Fold Margin" Ctrl="yes" Alt="yes" Shift="no" Key="83">
    <Action type="0" message="2242" wParam="2" lParam="0" sParam="" />
</Macro>

See also: http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Margins

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.