<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How can I hide the horizontal lines that appear when I fold a block?]]></title><description><![CDATA[<p dir="auto">Hi. I have a very indented file with lots of folding. For each folded block, a horizontal black line appears delimiting that block, making the entire editing area full of lines, which is distracting. Is there a way to hide these lines? I looked around settings and could not find that. Thanks.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/16484/how-can-i-hide-the-horizontal-lines-that-appear-when-i-fold-a-block</link><generator>RSS for Node</generator><lastBuildDate>Fri, 08 May 2026 08:16:22 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/16484.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 18 Oct 2018 02:01:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How can I hide the horizontal lines that appear when I fold a block? on Sun, 21 Oct 2018 23:41:10 GMT]]></title><description><![CDATA[<p dir="auto">Very good, thank you, now things work as I wanted. :-)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/35599</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/35599</guid><dc:creator><![CDATA[rodrigodesalvobraz]]></dc:creator><pubDate>Sun, 21 Oct 2018 23:41:10 GMT</pubDate></item><item><title><![CDATA[Reply to How can I hide the horizontal lines that appear when I fold a block? on Thu, 18 Oct 2018 18:55:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rodrigodesalvobraz" aria-label="Profile: rodrigodesalvobraz">@<bdi>rodrigodesalvobraz</bdi></a></p>
<p dir="auto">Yes, NppExec is somewhat complicated in this point.</p>
<ol>
<li>Open <code>(menu) Plugins -&gt; NppExec -&gt; Execute...</code>.</li>
<li>Type your command into the code box (e.g. <code>sci_sendmsg SCI_SETFOLDFLAGS 0</code>).</li>
<li>Click on <code>Save...</code>.</li>
<li>Type a name for your command into the combobox (e.g. <code>FoldingLinesOff</code>).</li>
<li>Click <code>Save</code>.</li>
<li>If you want to have a script to turn folding lines on again repeat steps 2 to 5 with the command <code>sci_sendmsg SCI_SETFOLDFLAGS 16</code> and give it the name <code>FoldingLinesOn</code>.<br />
<code> </code></li>
</ol>
<p dir="auto">Now you can select these scripts in the combobox under <code>(menu) Plugins -&gt; NppExec -&gt; Advanced Options... -&gt; (group box) Advanced options</code>.</p>
<p dir="auto">If you want to create menu entries in the <code>Macro</code> menu which you can assign to keyboard shortcuts use the UI in the <code>Menu items</code> group box. Type a name in <code>Item name</code> input field and select a script in the <code>Associated script</code> combobox. After a restart of Notepad++ go to <code>(menu) Settings -&gt; Shortcut Mapper -&gt; (tab) Plugin commands</code> and assign the shortcuts you want.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/35534</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/35534</guid><dc:creator><![CDATA[dinkumoil]]></dc:creator><pubDate>Thu, 18 Oct 2018 18:55:42 GMT</pubDate></item><item><title><![CDATA[Reply to How can I hide the horizontal lines that appear when I fold a block? on Thu, 18 Oct 2018 17:54:09 GMT]]></title><description><![CDATA[<p dir="auto">Thank you all for your help.</p>
<p dir="auto">I was able to install NppExec and run the command to turn the lines off, and it worked.</p>
<p dir="auto">I tried configuring NppExec to run a script at Notepad++ startup, but I was unable to do it on the “Advanced Options” menu that dinkumoil suggested. While I see the option to select a script for startup, it requires the script to be selected from a pull-down menu that is however empty. I could not find a way to add scripts to it. I tried finding instructions for that in the NppExec documention but I was unable to find them.</p>
<p dir="auto">I also tried adding the script via NppExec.INI file but that did not work either. I assumed &lt;some existing script&gt;<br />
[Options]<br />
ScriptNppStart=“&lt;some existing script&gt;”<br />
to stand for a full path name of the file containing the instructions, but perhaps this assumption is incorrect.</p>
<p dir="auto">Thank you.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/35532</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/35532</guid><dc:creator><![CDATA[rodrigodesalvobraz]]></dc:creator><pubDate>Thu, 18 Oct 2018 17:54:09 GMT</pubDate></item><item><title><![CDATA[Reply to How can I hide the horizontal lines that appear when I fold a block? on Thu, 18 Oct 2018 13:08:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dinkumoil" aria-label="Profile: dinkumoil">@<bdi>dinkumoil</bdi></a><br />
Yes, much easier to use the advanced options UI to do the editing of the .INI file!  I don’t know if I ever looked at that menu entry before. Thanks for pointing it out!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/35526</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/35526</guid><dc:creator><![CDATA[Jim Dailey]]></dc:creator><pubDate>Thu, 18 Oct 2018 13:08:01 GMT</pubDate></item><item><title><![CDATA[Reply to How can I hide the horizontal lines that appear when I fold a block? on Thu, 18 Oct 2018 12:57:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jim-dailey" aria-label="Profile: Jim-Dailey">@<bdi>Jim-Dailey</bdi></a> said:</p>
<blockquote>
<p dir="auto">The NPP Exec documentation says you can add a script name to the options section of its INI file</p>
</blockquote>
<p dir="auto">All neccessary stuff can be configured via the plugin’s GUI (<code>Plugins (menu) -&gt; NppExec -&gt; Execute...</code> and <code>Plugins (menu) -&gt; NppExec -&gt; Advanced Options...</code>), no need to fiddle around with INI files.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/35525</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/35525</guid><dc:creator><![CDATA[dinkumoil]]></dc:creator><pubDate>Thu, 18 Oct 2018 12:57:37 GMT</pubDate></item><item><title><![CDATA[Reply to How can I hide the horizontal lines that appear when I fold a block? on Thu, 18 Oct 2018 12:53:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/scott-sumner" aria-label="Profile: Scott-Sumner">@<bdi>Scott-Sumner</bdi></a> said:</p>
<blockquote>
<p dir="auto">I was hopeful you’d elaborate more on <em>how</em> to do that</p>
</blockquote>
<p dir="auto">No problem, if the OP decides to accept my suggestion. If he prefers the Pythonscript plugin, the LUAscript plugin, the AutomationScripts/NppScripts plugin (C#, by Oleg Shilo) or … (maybe there are more) I can not help him.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/scott-sumner" aria-label="Profile: Scott-Sumner">@<bdi>Scott-Sumner</bdi></a> said:</p>
<blockquote>
<p dir="auto">Of course, the OP could also “look it up”</p>
</blockquote>
<p dir="auto">That’s what I had in mind too, but if he runs in trouble I’m willing to help. The steps to install and properly configure the NppExec plugin take a long list. If it is not neccessary to type all that stuff I’m happy.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/35524</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/35524</guid><dc:creator><![CDATA[dinkumoil]]></dc:creator><pubDate>Thu, 18 Oct 2018 12:53:40 GMT</pubDate></item><item><title><![CDATA[Reply to How can I hide the horizontal lines that appear when I fold a block? on Thu, 18 Oct 2018 12:48:26 GMT]]></title><description><![CDATA[<p dir="auto">The NPP Exec documentation says you can add a script name to the options section of its INI file (<em><strong>plugins\Config\NppExec.ini</strong></em>) like this:</p>
<pre><code>[Options]
ScriptNppStart="&lt;some existing script&gt;"
</code></pre>
<p dir="auto">Here’s a part of the documentation from file <em><strong>plugins\doc\NppExec_TechInfo.txt</strong></em>:</p>
<pre><code> ScriptNppStart
 --------------
   You can specify here a name of existing script which you want to be
   executed each time when Notepad++ starts.
   For example, this script can contain declarations of your own variables
   (using SET command), some welcome messages (using ECHO command) or
   whatever command(s) you want.
   Note: if you specify an empty value or non-existent script name for
   this option, no script will be executed when Notepad++ starts.
   See also: ScriptNppExit.
</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/post/35523</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/35523</guid><dc:creator><![CDATA[Jim Dailey]]></dc:creator><pubDate>Thu, 18 Oct 2018 12:48:26 GMT</pubDate></item><item><title><![CDATA[Reply to How can I hide the horizontal lines that appear when I fold a block? on Thu, 18 Oct 2018 12:36:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dinkumoil" aria-label="Profile: dinkumoil">@<bdi>dinkumoil</bdi></a></p>
<blockquote>
<p dir="auto">NppExec plugin is able to start a script on startup</p>
</blockquote>
<p dir="auto">Ha.  Well, I was hopeful you’d elaborate more on <em>how</em> to do that, not really for me (I could look it up) but more for the OP (maybe a real noob?) and future thread readers!  :-)</p>
<p dir="auto">(Of course, the OP could also “look it up”)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/35522</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/35522</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Thu, 18 Oct 2018 12:36:01 GMT</pubDate></item><item><title><![CDATA[Reply to How can I hide the horizontal lines that appear when I fold a block? on Thu, 18 Oct 2018 12:25:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/scott-sumner" aria-label="Profile: Scott-Sumner">@<bdi>Scott-Sumner</bdi></a></p>
<p dir="auto">Yes, the NppExec plugin is able to start a script on startup of Notepad++.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/35520</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/35520</guid><dc:creator><![CDATA[dinkumoil]]></dc:creator><pubDate>Thu, 18 Oct 2018 12:25:09 GMT</pubDate></item><item><title><![CDATA[Reply to How can I hide the horizontal lines that appear when I fold a block? on Thu, 18 Oct 2018 12:16:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dinkumoil" aria-label="Profile: dinkumoil">@<bdi>dinkumoil</bdi></a></p>
<p dir="auto">I have some passing familiarity with the NppExec plugin (the Pythonscript plugin serves me better for what I want/need to do…) but as I read this I was thinking that the OP would want to make this change one time only (and then forget about it).  That led me to wonder if NppExec is capable of running its little scripts on startup of Notepad++ (or more accurately, startup of NppExec itself).</p>
]]></description><link>https://community.notepad-plus-plus.org/post/35519</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/35519</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Thu, 18 Oct 2018 12:16:08 GMT</pubDate></item><item><title><![CDATA[Reply to How can I hide the horizontal lines that appear when I fold a block? on Thu, 18 Oct 2018 08:59:02 GMT]]></title><description><![CDATA[<p dir="auto">Addendum:</p>
<p dir="auto">This is the syntax to turn them on again:</p>
<p dir="auto"><code>sci_sendmsg SCI_SETFOLDFLAGS 16</code></p>
<p dir="auto">The Scintilla documentation can be found <a href="https://www.scintilla.org/ScintillaDoc.html" rel="nofollow ugc">here</a></p>
]]></description><link>https://community.notepad-plus-plus.org/post/35513</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/35513</guid><dc:creator><![CDATA[dinkumoil]]></dc:creator><pubDate>Thu, 18 Oct 2018 08:59:02 GMT</pubDate></item><item><title><![CDATA[Reply to How can I hide the horizontal lines that appear when I fold a block? on Thu, 18 Oct 2018 08:41:01 GMT]]></title><description><![CDATA[<p dir="auto">The folding lines are created and managed by Scintilla, the underlying edit component which is used by Notepad++. To turn off the folding lines you have to send a message to the Scintilla component because Notepad++ provides no ability to configure this detail.</p>
<p dir="auto">To send messages to Scintilla (or even to Notepad++) you need a scripting plugin. I personally use the NppExec plugin. With this plugin you can write and save scripts and create an entry in the Macro menu for them. This menu entries can be assigned to a keyboard shortcut via Shortcut Mapper.</p>
<p dir="auto">Here is the syntax to send a message with the NppExec plugin to turn off folding lines:</p>
<p dir="auto"><code>sci_sendmsg SCI_SETFOLDFLAGS 0</code></p>
]]></description><link>https://community.notepad-plus-plus.org/post/35512</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/35512</guid><dc:creator><![CDATA[dinkumoil]]></dc:creator><pubDate>Thu, 18 Oct 2018 08:41:01 GMT</pubDate></item></channel></rss>