I have seen the same question severals time: How to disable the fold margin. Since there has never been any answer I guess it's impossible.
So I make my request, for the possibility to hide the fold margin. Why? Because sometimes I when debugging I want to see immediately the number next to the first word of the line that correspond. It would be much more comfortable.
This great software let us change the color of line number and fold margin. But that's very annoying to change styler.xml juste to debug.
Thank you very much
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Follow-up:
The reason why the fold margin is reset on every tab change is in Notepad++ territory, specifially in the call to isNeededFoldMarge() inside ScintillaEditView::defineDocType()
So yes, one could set up a general preference to override the language based display of the fold margin. There is no way to do so permanently at this moment.
CChris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Like I said, I did see the numerous threads without solution. In this thread the solution that he gives is to blow out the language definition in langs.xml This way I won't have syntaxe coloration anymore. This is not a solution.
I think there is are no solution. I just want to know if this feature will be implemented in the future or not.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Not sure exactly what this is supposed to do. It looks like I have to run a macro everytime I open a file to rid myself of the margin. That would be a quite a bit annoying.
Nevertheless, I tried the directions. I found shortcuts.xml in Program Files/NPP... and in %AppData%/NPP... I added that section of code. I restarted NPP. I go to Macro/Run macro multiple times, and the only one listed is the other Macro, Trim Trailing Space.
I re-open the shortcuts.xml files, and the one in %APPDATA% has wiped away my changes.
If I'm correct, and you have to run a macro for each file, then don't worry with helping me with the problem; I wouldn't take the effort for every single file I open.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm afraid Scintilla considers it unlikely that you don't want folding, because it was one of the reasons for it being developed.
shortcuts.xml is a Notepad++ configuration file, so special steps have to be taken to edit it, as per http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Configuration_Files . Simplest is to use a different editor to edit shortcuts.xml, config.xml and friends. That way, your changes will stay, and you'll have to play the macro often.
I haven't found where in the source code the fold margin is being reset to its default width. I'm not an experienced C++ programmer, so if anyone can pprovide a... pointer, that may help.
CChris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have seen the same question severals time: How to disable the fold margin. Since there has never been any answer I guess it's impossible.
So I make my request, for the possibility to hide the fold margin. Why? Because sometimes I when debugging I want to see immediately the number next to the first word of the line that correspond. It would be much more comfortable.
This great software let us change the color of line number and fold margin. But that's very annoying to change styler.xml juste to debug.
Thank you very much
Follow-up:
The reason why the fold margin is reset on every tab change is in Notepad++ territory, specifially in the call to isNeededFoldMarge() inside ScintillaEditView::defineDocType()
So yes, one could set up a general preference to override the language based display of the fold margin. There is no way to do so permanently at this moment.
CChris
This has been asked recently.
"Disable Fold Margin ?" (Help forum)
http://sourceforge.net/forum/forum.php?thread_id=1934814&forum_id=331754
It is still on the first page of the help forum, currently the 24th thread, second from the bottom of the list.
http://sourceforge.net/forum/forum.php?forum_id=331754
Like I said, I did see the numerous threads without solution. In this thread the solution that he gives is to blow out the language definition in langs.xml This way I won't have syntaxe coloration anymore. This is not a solution.
I think there is are no solution. I just want to know if this feature will be implemented in the future or not.
I'll consider it, but I promise you nothing.
Don
Thanks a lot donho, do what you can.
I would be happy if it were disableable. It makes the screen busy and I rarely use it.
http://sourceforge.net/forum/message.php?msg_id=7100270
CChris
Not sure exactly what this is supposed to do. It looks like I have to run a macro everytime I open a file to rid myself of the margin. That would be a quite a bit annoying.
Nevertheless, I tried the directions. I found shortcuts.xml in Program Files/NPP... and in %AppData%/NPP... I added that section of code. I restarted NPP. I go to Macro/Run macro multiple times, and the only one listed is the other Macro, Trim Trailing Space.
I re-open the shortcuts.xml files, and the one in %APPDATA% has wiped away my changes.
If I'm correct, and you have to run a macro for each file, then don't worry with helping me with the problem; I wouldn't take the effort for every single file I open.
I'm afraid Scintilla considers it unlikely that you don't want folding, because it was one of the reasons for it being developed.
shortcuts.xml is a Notepad++ configuration file, so special steps have to be taken to edit it, as per http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Configuration_Files . Simplest is to use a different editor to edit shortcuts.xml, config.xml and friends. That way, your changes will stay, and you'll have to play the macro often.
I haven't found where in the source code the fold margin is being reset to its default width. I'm not an experienced C++ programmer, so if anyone can pprovide a... pointer, that may help.
CChris