<?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[New displaying of the "Search Results" panel]]></title><description><![CDATA[<p dir="auto">Hello, <strong>All</strong>,</p>
<p dir="auto">One minor <strong>drawback</strong>, when you display the <strong><code>Search results</code></strong> panel, is that the <strong>name</strong> of <strong>each</strong> file does <strong>not</strong> appear <strong>before</strong> the line <strong>number</strong> and the line <strong>itself</strong> !</p>
<p dir="auto">See, for example, this post : <a href="https://community.notepad-plus-plus.org/topic/21722/format-of-search-results">https://community.notepad-plus-plus.org/topic/21722/format-of-search-results</a></p>
<p dir="auto">Here is the way to realize this <strong>goal</strong> !</p>
<hr />
<p dir="auto">Once any <strong><code>Search Results</code></strong> panel is displayed :</p>
<ul>
<li>
<p dir="auto">Hit the <strong><code>Ctrl + A</code></strong> shortcut</p>
</li>
<li>
<p dir="auto">Hit the <strong><code>Ctrl + C</code></strong> shortcut</p>
</li>
<li>
<p dir="auto">Open a <strong>new</strong> tab ( <strong><code>Ctrl + N</code></strong> )</p>
</li>
<li>
<p dir="auto">Paste the <strong><code>Search Results</code></strong> contents in this <strong>new</strong> tab ( <strong><code>Ctrl + V</code></strong>  )</p>
</li>
<li>
<p dir="auto">Run the option <strong><code>Edit &gt; Line operations &gt; Reverse line order</code></strong> ( <em>IMPORTANT</em> )</p>
</li>
<li>
<p dir="auto">Now, open the <strong>Replace</strong> dialog ( <strong><code>Ctrl + H</code></strong> )</p>
</li>
<li>
<p dir="auto"><strong>Uncheck</strong> all <strong>box</strong> options</p>
</li>
<li>
<p dir="auto">FIND <strong><code>(?-si)^\tLine\x20+(\d+)(?=(?s:.+?)^\x20\x20\u:.*\\(.+)(?= \())|^\x20\x20\u.+\R</code></strong></p>
</li>
<li>
<p dir="auto">REPLACE <strong><code>?2\2\t\1\t</code></strong></p>
</li>
<li>
<p dir="auto"><strong>Check</strong> the ‘Wrap around’ option</p>
</li>
<li>
<p dir="auto">Select the <strong><code>Regular expression</code></strong> search <strong>mode</strong></p>
</li>
<li>
<p dir="auto">Click on the <strong><code>Replace All</code></strong> button</p>
</li>
<li>
<p dir="auto">Now, <strong>re</strong>-run the <strong><code>Edit &gt; Line operations &gt; Reverse line order</code></strong> option ( <em>IMPORTANT</em> )</p>
</li>
<li>
<p dir="auto">Finally, save this <strong>new</strong> tab for future <strong>study</strong> within <strong>N++</strong> or <strong>Excel</strong> !</p>
</li>
</ul>
<hr />
<p dir="auto">For a more <strong>appealing</strong> presentation within N++, if you have the <strong><code>Columns++</code></strong> plugin, do the following actions :</p>
<ul>
<li>
<p dir="auto">Check the <strong><code>Elastic tabstops</code></strong> option</p>
</li>
<li>
<p dir="auto">Run the <strong><code>Convert tabs to spaces</code></strong> option</p>
</li>
</ul>
<hr />
<p dir="auto">For example, I did a search of the word <strong><code>the</code></strong>, whatever its case, in <strong><code>Normal</code></strong> mode, on any <strong><code>.txt</code></strong> file of an <strong><code>USB</code></strong> key</p>
<pre><code class="language-diff">Search "the" (76665 hits in 498 files of 578 searched) [Normal]
</code></pre>
<p dir="auto">I got an <em>INPUT</em> file of <strong><code>51,224</code></strong> lines for about <strong><code>10,2 Mb</code></strong></p>
<p dir="auto">And, after the <strong>above</strong> process :</p>
<ul>
<li>
<p dir="auto"><strong>Reverse</strong> line order</p>
</li>
<li>
<p dir="auto"><strong>Regex</strong> Replacement</p>
</li>
<li>
<p dir="auto"><strong>Reverse</strong> line order</p>
</li>
</ul>
<p dir="auto">Which took <strong><code>66s</code></strong>, I got an <em>OUTPUT</em> file of <strong><code>50,713</code></strong> lines, for about <strong><code>12 Mb</code></strong>, with <em>filename, number and text</em> <strong>aligned</strong></p>
<p dir="auto">And in order to <strong>right</strong>-aligned the line <strong>numbers</strong>, do the following <strong>regex</strong> replacement :</p>
<p dir="auto">FIND <strong><code>(\d+)(\x20*)(?=\x20:\x20)</code></strong></p>
<p dir="auto">REPLACE <strong><code>\2\1</code></strong></p>
<p dir="auto"><img src="/assets/uploads/files/1778945918940-206d94c6-772e-4ae9-807d-ddf792ec10e6-image.jpeg" alt="206d94c6-772e-4ae9-807d-ddf792ec10e6-image.jpeg" class=" img-fluid img-markdown" /></p>
<p dir="auto">Voila !</p>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/27535/new-displaying-of-the-search-results-panel</link><generator>RSS for Node</generator><lastBuildDate>Thu, 15 Oct 2026 01:57:56 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/27535.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 16 May 2026 13:47:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to New displaying of the "Search Results" panel on Mon, 01 Jun 2026 13:04:06 GMT]]></title><description><![CDATA[<p dir="auto">Hi, <strong>All</strong>,</p>
<p dir="auto">From the <a class="plugin-mentions-user plugin-mentions-a" href="/user/pellelin" aria-label="Profile: pellelin">@<bdi>pellelin</bdi></a>’s <a href="https://community.notepad-plus-plus.org/post/105613">post</a>, here is an improvement of my <strong>previous</strong> post : I now added the <strong>complete path</strong> of each file , followed with a <strong><code>\</code></strong> character and the file <strong>name</strong> !</p>
<hr />
<p dir="auto">Once <strong>any</strong> <strong><code>Search Results</code></strong> panel is displayed :</p>
<ul>
<li>
<p dir="auto">Hit the <strong><code>Ctrl + A</code></strong> shortcut</p>
</li>
<li>
<p dir="auto">Hit the <strong><code>Ctrl + C</code></strong> shortcut</p>
</li>
<li>
<p dir="auto">Open a <strong>new</strong> tab ( <strong><code>Ctrl + N</code></strong> )</p>
</li>
<li>
<p dir="auto">Paste the <strong><code>Search Results</code></strong> contents in this <strong>new</strong> tab ( <strong><code>Ctrl + V</code></strong>  )</p>
</li>
<li>
<p dir="auto">Run the option <strong><code>Edit &gt; Line operations &gt; Reverse line order</code></strong> ( <em>IMPORTANT</em> )</p>
</li>
<li>
<p dir="auto">Now, open the <strong>Replace</strong> dialog ( <strong><code>Ctrl + H</code></strong> )</p>
</li>
<li>
<p dir="auto"><strong>Uncheck</strong> all <strong>box</strong> options</p>
<ul>
<li>
<p dir="auto">FIND <strong><code>(?-si)^\tLine\x20+(\d+)(?=(?s:.+?)^\x20\x20(\u:.*\\.+)(?=\x20\())|^\x20\x20\u.+\R</code></strong></p>
</li>
<li>
<p dir="auto">REPLACE <strong><code>?2\2\t\1\t</code></strong></p>
</li>
</ul>
</li>
<li>
<p dir="auto"><strong>Check</strong> the <strong><code>Wrap around</code></strong> option</p>
</li>
<li>
<p dir="auto">Select the <strong><code>Regular expression</code></strong> search <strong>mode</strong></p>
</li>
<li>
<p dir="auto">Click on the <strong><code>Replace All</code></strong> button</p>
</li>
<li>
<p dir="auto">Now, <strong>re</strong>-run the <strong><code>Edit &gt; Line operations &gt; Reverse line order</code></strong> option ( <em>IMPORTANT</em> )</p>
</li>
<li>
<p dir="auto">Finally, save this <strong>new</strong> tab for future <strong>study</strong> within <strong>N++</strong> or <strong>Excel</strong> !</p>
</li>
</ul>
<hr />
<p dir="auto">Now, <a class="plugin-mentions-user plugin-mentions-a" href="/user/pellelin" aria-label="Profile: pellelin">@<bdi>pellelin</bdi></a>, if you don’t have already the <strong><code>Columns++</code></strong> plugin installed in your configuration, I <strong>kindly</strong> advice you to install it !</p>
<ul>
<li>
<p dir="auto"><strong>After</strong> installation of this plugin, close and <strong>re-open</strong> Notepad++</p>
</li>
<li>
<p dir="auto">First, run the <strong><code>Plugins &gt; Columns++ &gt; Elastic tabstops</code></strong> option</p>
</li>
<li>
<p dir="auto">Then run  the <strong><code>Plugins &gt; Columns++ &gt; Convert tabs to spaces</code></strong> option</p>
</li>
<li>
<p dir="auto">Now, in order to <strong>right</strong>-aligned the line <strong>numbers</strong>, do the following <strong>regex</strong> replacement :</p>
<ul>
<li>
<p dir="auto">FIND <strong><code>(\d+)(\x20*)(?=\x20:\x20)</code></strong></p>
</li>
<li>
<p dir="auto">REPLACE <strong><code>\2\1</code></strong></p>
</li>
</ul>
</li>
</ul>
<p dir="auto">With the <strong>same</strong> parameters, in the <strong><code>Replace</code></strong> dialog, than above !</p>
<hr />
<p dir="auto">For example, I did a search of the word <strong><code>the</code></strong>, whatever its case, in <strong><code>Normal</code></strong> mode, on any <strong><code>.txt</code></strong> file of an <strong><code>USB</code></strong> key</p>
<pre><code class="language-diff">Search "the" (77312 hits in 507 files of 590 searched) [Normal]
</code></pre>
<p dir="auto">I got an <em>INPUT</em> file of <strong><code>51,5544</code></strong> lines for about <strong><code>10,2 Mb</code></strong></p>
<p dir="auto">And, after the <strong>above</strong> process :</p>
<ul>
<li>
<p dir="auto"><strong>Reverse</strong> line order</p>
</li>
<li>
<p dir="auto"><strong>Regex</strong> Replacement</p>
</li>
<li>
<p dir="auto"><strong>Reverse</strong> line order</p>
</li>
</ul>
<p dir="auto">Which took <strong><code>82s</code></strong>, I got an <em>OUTPUT</em> file of <strong><code>51,047</code></strong> lines, for about <strong><code>12,2 Mb</code></strong>, with <em>Complete file path, Line number and Text</em>, all <strong>aligned</strong></p>
<p dir="auto"><img src="/assets/uploads/files/1780319031552-b25954ec-283c-4b15-9603-bf0d370d3c2d-image.jpeg" alt="b25954ec-283c-4b15-9603-bf0d370d3c2d-image.jpeg" class=" img-fluid img-markdown" /></p>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
<p dir="auto"><strong>P.S.</strong> :</p>
<p dir="auto">In this version, I didn’t report the <strong>number</strong> of hits. If this information matters too, just <strong>ask</strong> me about it !</p>
]]></description><link>https://community.notepad-plus-plus.org/post/105618</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/105618</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Mon, 01 Jun 2026 13:04:06 GMT</pubDate></item></channel></rss>