Home » Questions » Computers [ Ask a new question ]

Show/Hide function folding margin on Notepad++

Show/Hide function folding margin on Notepad++

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.

Asked by: Guest | Views: 286
Total answers/comments: 2
Guest [Entry]

"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."
Guest [Entry]

"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"