<?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[Question about notepad++ double click behavior between certain characters]]></title><description><![CDATA[<p dir="auto">Hello there, greetings. I have a question about the double click behavior on notepad++. Specifically, I have noticed that certain symbols will stop the double click selection.</p>
<p dir="auto">For example, take this string of text.</p>
<p dir="auto">wordsandtext-notepad-morestuff</p>
<p dir="auto">If I were to double click the word ‘notepad’ in the following string of text, the selection of text would stop at both of the dash ‘-’ characters. Both before and after the word ‘notepad’.</p>
<p dir="auto">My question therefore, is there anyway to modify which characters notepad++ respects as stopping points for a double click selection? If at all possible, I would like to remove all such respect for any characters, so that I can select an entire line of text with a double click.</p>
<p dir="auto">I exhaustively looked through all of the available options within notepad++, but could not find anything that looked relevant. I am hoping someone more knowledgeable and experienced, either with notepad++ or computing in general, can be of assistance.</p>
<p dir="auto">Thanks guys for reading my message and for any help offered.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/19128/question-about-notepad-double-click-behavior-between-certain-characters</link><generator>RSS for Node</generator><lastBuildDate>Sun, 10 May 2026 01:59:47 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/19128.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 29 Mar 2020 15:32:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Question about notepad++ double click behavior between certain characters on Sat, 04 Apr 2020 19:55:43 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="/user/carverof-canyons" aria-label="Profile: carverof-canyons">@<bdi>carverof-canyons</bdi></a> and <strong>All</strong>,</p>
<p dir="auto">Thank you so much for your <strong>appreciation</strong>. No, I’m <strong>not</strong> a <em>paid staff</em> member, at all ! Just a <strong>volunteer</strong>, who <strong>loves</strong> N++ and be <strong>happy</strong> to help people when I guess a possible <strong>solution</strong> ;-))</p>
<p dir="auto">And, anyway,  I am <strong>confined</strong> at home, in <strong>France</strong>, like everywhere else, in the <strong>world</strong>. So, presently, I have <strong>plenty of time</strong> to think about some problems !</p>
<p dir="auto">Cheers,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/52139</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/52139</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Sat, 04 Apr 2020 19:55:43 GMT</pubDate></item><item><title><![CDATA[Reply to Question about notepad++ double click behavior between certain characters on Sat, 04 Apr 2020 15:52:07 GMT]]></title><description><![CDATA[<p dir="auto">My hat is off to you <a class="plugin-mentions-user plugin-mentions-a" href="/user/guy038" aria-label="Profile: guy038">@<bdi>guy038</bdi></a> that has to be the single most helpful response I’ve ever gotten to any of my questions posted on the internet for any topic. The amount of knowledge and research that went into that answer is breath-taking at the least. That you would take the time out of your day to help me like this… God bless you sir.</p>
<p dir="auto">Your macros work perfectly for the desired functionality I was trying to achieve. I suspected that Macros would be an interesting way to attack this problem. But I had such little personal experience with them, I got overwhelmed trying to research them and I gave up too quick.</p>
<p dir="auto">But lucky for me, a genius responded to my call for help and solved my question like a warm knife through butter. Of course that genius is none other than you!</p>
<p dir="auto">Are you a paid staff member around here? I find it astonishing that someone would be that courteous and helpful just on a volunteer basis.</p>
<p dir="auto">Also, thank you to Prahlad-Makwana4145 and Alan Kilborn for also helping.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/52126</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/52126</guid><dc:creator><![CDATA[CarverOf Canyons]]></dc:creator><pubDate>Sat, 04 Apr 2020 15:52:07 GMT</pubDate></item><item><title><![CDATA[Reply to Question about notepad++ double click behavior between certain characters on Thu, 02 Apr 2020 21:11:15 GMT]]></title><description><![CDATA[<p dir="auto">Hi, <a class="plugin-mentions-user plugin-mentions-a" href="/user/carverof-canyons" aria-label="Profile: carverof-canyons">@<bdi>carverof-canyons</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: alan-kilborn">@<bdi>alan-kilborn</bdi></a> and <strong>All</strong>,</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/carverof-canyons" aria-label="Profile: carverof-canyons">@<bdi>carverof-canyons</bdi></a>, you said :</p>
<blockquote>
<p dir="auto">I was hoping to ask one last final question if you’d let me. When I use the triple click method or the scintilla command SCI_LINECOPY to select an entire line of text, the cursor always goes immediately to the far left of the next line below it. So when I copy a line in this manner, upon pasting it, I always end up getting an extra blank line below whatever I am pasting. Is there anyway to stop notepad++ from always pasting in a blank line below whatever information I copied from a triple click on the line above?</p>
</blockquote>
<p dir="auto">I think that you could <strong>easily</strong> get this behaviour, by adding, for instance, the <strong><code>3</code></strong> <strong>macro</strong> definitions, below, in your <strong>active</strong> <strong><code>shortcuts.xml</code></strong> file :</p>
<pre><code class="language-xml">        &lt;Macro name="Cut        Current Line w/o EOL" Ctrl="no" Alt="yes" Shift="yes" Key="88"&gt;           &lt;!--  Alt + Shift + X  --&gt;
            &lt;Action type="0" message="2312" wParam="0" lParam="0" sParam="" /&gt;   &lt;!-- Go Very Beginning   SCI_HOME          (51) --&gt;
            &lt;Action type="0" message="2315" wParam="0" lParam="0" sParam="" /&gt;   &lt;!-- Select to Very End  SCI_LINEENDEXTEND (68) --&gt;

            &lt;Action type="0" message="2177" wParam="0" lParam="0" sParam="" /&gt;   &lt;!-- Ctrl + X            SCI_CUT           (01) --&gt;
        &lt;/Macro&gt;

        &lt;Macro name="Copy     Current Line w/o EOL" Ctrl="no" Alt="yes" Shift="yes" Key="67"&gt;             &lt;!--  Alt + Shift + C  --&gt;
            &lt;Action type="0" message="2312" wParam="0" lParam="0" sParam="" /&gt;   &lt;!-- Go Very Beginning   SCI_HOME          (51) --&gt;
            &lt;Action type="0" message="2315" wParam="0" lParam="0" sParam="" /&gt;   &lt;!-- Select to Very End  SCI_LINEENDEXTEND (68) --&gt;

            &lt;Action type="0" message="2178" wParam="0" lParam="0" sParam="" /&gt;   &lt;!-- Ctrl + C            SCI_COPY          (02) --&gt;
            &lt;Action type="0" message="2306" wParam="0" lParam="0" sParam="" /&gt;   &lt;!-- Right Arrow         SCI_CHARRIGHT     (36) --&gt;
        &lt;/Macro&gt;

        &lt;Macro name="Replace Current line by Clipboard" Ctrl="no" Alt="yes" Shift="yes" Key="86"&gt;         &lt;!--  Alt + Shift + V  --&gt;
            &lt;Action type="0" message="2312" wParam="0" lParam="0" sParam="" /&gt;   &lt;!-- Go Very Beginning   SCI_HOME          (51) --&gt;
            &lt;Action type="0" message="2315" wParam="0" lParam="0" sParam="" /&gt;   &lt;!-- Select to Very End  SCI_LINEENDEXTEND (68) --&gt;

            &lt;Action type="0" message="2179" wParam="0" lParam="0" sParam="" /&gt;   &lt;!-- Ctrl + V            SCI_PASTE         (03) --&gt;
        &lt;/Macro&gt;
</code></pre>
<p dir="auto">Note that the <strong><code>Scintilla</code></strong> messages to get the <strong>very beginning</strong> of <strong>current</strong> line <strong>SCI_HOME</strong> ( <strong><code>2312</code></strong> ) and, then, <strong>extend</strong> selection to the <strong>very end</strong> of <strong>current</strong> line <strong>SCI_LINEENDEXTEND</strong> ( <strong><code>2315</code></strong> ) are <strong>not</strong> the <strong>default</strong> ones, used within N++ !</p>
<p dir="auto">Indeed, the default <strong><code>Home</code></strong> operation is controlled by the <strong>SCI_VCHOMEWRAP</strong> message and the default <strong><code>Shift + End</code></strong> operation by the <strong>SCI_LINEENDWRAPEXTEND</strong> message</p>
<p dir="auto">However, the <strong><code>2312</code></strong> and <strong><code>2315</code></strong> <strong>Scintilla</strong> messages, used in the <strong><code>3</code></strong> macros,  are <strong>preferred</strong>, because, on their own, they work <strong>properly</strong>, whatever :</p>
<ul>
<li>
<p dir="auto">the present <strong>cursor</strong> location, in current line</p>
</li>
<li>
<p dir="auto">the current line is <strong>wrapped</strong>, or not ( <strong><code>View &gt; Word wrap</code></strong> )</p>
</li>
<li>
<p dir="auto">the current line is split on <strong>several</strong> lines, <strong>preceded</strong>, or not, by any <strong>indentation</strong></p>
</li>
<li>
<p dir="auto">the current line begins, or not, by some <strong>blank</strong> characters</p>
</li>
<li>
<p dir="auto">the <strong>EOL</strong> characters of current  line ( <strong><code>\r\n</code></strong>, <strong><code>\n</code></strong> or <strong><code>\r</code></strong> )</p>
</li>
<li>
<p dir="auto">the current line is <strong>not</strong> terminated by any <strong><code>EOL</code></strong> characters ( case of the <strong>very last</strong> line of the file )</p>
</li>
<li>
<p dir="auto">the <strong>Line Wrap</strong> type, ( <strong><code>Settings &gt; Preferences...&gt; Editing &gt; Line Wrap</code></strong> ) : <strong>Default</strong>, <strong>Aligned</strong> or <strong>Indent</strong></p>
</li>
</ul>
<hr />
<p dir="auto">Also, in summary :</p>
<ul>
<li>
<p dir="auto">In order to <strong>cut</strong> line contents, you may use, <strong>either</strong> :</p>
<ul>
<li>
<p dir="auto">The <strong>default</strong> N++ shortcut <strong><code>Ctrl + L</code></strong> ( <strong>SCI_LINECUT</strong> ), which cuts the <strong>entire current</strong> line, with its <strong>line-break</strong>, in the <strong>Clipboard</strong></p>
</li>
<li>
<p dir="auto">The new <strong>macro</strong> shortcut <strong><code>Alt + Shift + X</code></strong>, which cuts the <strong>current</strong> line, <strong>w/o</strong> its <strong>line-break</strong>, in the <strong>Clipboard</strong></p>
</li>
</ul>
</li>
<li>
<p dir="auto">In order to <strong>copy</strong> line contents, you may use, <strong>either</strong> :</p>
<ul>
<li>
<p dir="auto">The <strong>default</strong> N++ shortcut <strong><code>Ctrl + Shift + X</code></strong> ( <strong>SCI_LINECOPY</strong> ), which copies the <strong>entire current</strong> line, with its <strong>line-break</strong>, in the <strong>Clipboard</strong></p>
</li>
<li>
<p dir="auto">The new <strong>macro</strong> shortcut <strong><code>Alt + Shift + C</code></strong>, which copies the <strong>current</strong> line, <strong>w/o</strong> its <strong>line-break</strong>, in the <strong>Clipboard</strong></p>
</li>
</ul>
</li>
<li>
<p dir="auto">In order to copy the <strong>Clipboard</strong> contents, you may use, <strong>either</strong> :</p>
<ul>
<li>
<p dir="auto">The <strong>default</strong> N++ shortcut <strong><code>Ctrl + V</code></strong> ( <strong>SCI_PASTE</strong> ), which copies the <strong>Clipboard</strong> contents, at <strong>cursor</strong> location</p>
</li>
<li>
<p dir="auto">The new <strong>macro</strong> shortcut <strong><code>Alt + Shift + V</code></strong>, which replaces the <strong>current</strong> line, <strong>w/o</strong> its <strong>line-break</strong>, by the <strong>Clipboard</strong> contents</p>
</li>
</ul>
</li>
</ul>
<p dir="auto">Just play around with these <strong>different</strong> functions to test it and get <strong>acquainted</strong> to ;-))</p>
<hr />
<p dir="auto"><strong>Remark</strong> :</p>
<ul>
<li>The <strong><code>Cut Current Line w/o EOL</code></strong> macro just <strong>deletes</strong> the lines contents, <strong>without</strong> its line-break, and copies it into the <strong>Clipboard</strong>. However, the <strong>line-break</strong> of current line is <strong>kept</strong>. If you also want to get <strong>rid</strong> of this <strong>line-break</strong>, simply add a <strong>SCI_CLEAR</strong> message to this macro, giving :</li>
</ul>
<pre><code class="language-xml">        &lt;Macro name="Cut        Current Line w/o EOL" Ctrl="no" Alt="yes" Shift="yes" Key="88"&gt;           &lt;!--  Alt + Shift + X  --&gt;
            &lt;Action type="0" message="2312" wParam="0" lParam="0" sParam="" /&gt;   &lt;!-- Go Very Beginning   SCI_HOME          (51) --&gt;
            &lt;Action type="0" message="2315" wParam="0" lParam="0" sParam="" /&gt;   &lt;!-- Select to Very End  SCI_LINEENDEXTEND (68) --&gt;

            &lt;Action type="0" message="2177" wParam="0" lParam="0" sParam="" /&gt;   &lt;!-- Ctrl + X            SCI_CUT           (01) --&gt;
            &lt;Action type="0" message="2180" wParam="0" lParam="0" sParam="" /&gt;   &lt;!-- Delete              SCI_CLEAR         (05) --&gt;
        &lt;/Macro&gt;
</code></pre>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
<p dir="auto"><strong>P.S.</strong> :</p>
<p dir="auto"><strong>Previously</strong>, I answered to <strong>similar</strong> requests ! Refer to :</p>
<p dir="auto"><a href="https://community.notepad-plus-plus.org/topic/12525/replace-current-line-without-inserting-a-new-line/19">https://community.notepad-plus-plus.org/topic/12525/replace-current-line-without-inserting-a-new-line/19</a></p>
<p dir="auto"><a href="https://community.notepad-plus-plus.org/topic/12525/replace-current-line-without-inserting-a-new-line/24">https://community.notepad-plus-plus.org/topic/12525/replace-current-line-without-inserting-a-new-line/24</a></p>
<p dir="auto">and more recently :</p>
<p dir="auto"><a href="https://community.notepad-plus-plus.org/topic/15859/copy-line-without-line-feed/6">https://community.notepad-plus-plus.org/topic/15859/copy-line-without-line-feed/6</a></p>
<hr />
<p dir="auto">And, after some <strong>re-testing</strong>, I think that the <strong>macros</strong> described, in <strong>this</strong> post, which have been <strong>shortened</strong>, seem to be just as <strong>effective</strong> ;-))</p>
]]></description><link>https://community.notepad-plus-plus.org/post/52044</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/52044</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Thu, 02 Apr 2020 21:11:15 GMT</pubDate></item><item><title><![CDATA[Reply to Question about notepad++ double click behavior between certain characters on Thu, 02 Apr 2020 12:17:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/prahlad-makwana4145" aria-label="Profile: Prahlad-Makwana4145">@<bdi>Prahlad-Makwana4145</bdi></a></p>
<p dir="auto">Nothing new there. :-(</p>
]]></description><link>https://community.notepad-plus-plus.org/post/52019</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/52019</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Thu, 02 Apr 2020 12:17:55 GMT</pubDate></item><item><title><![CDATA[Reply to Question about notepad++ double click behavior between certain characters on Thu, 02 Apr 2020 08:35:23 GMT]]></title><description><![CDATA[<p dir="auto">Hello , <a class="plugin-mentions-user plugin-mentions-a" href="/user/carverof-canyons" aria-label="Profile: CarverOf-Canyons">@<bdi>CarverOf-Canyons</bdi></a></p>
<p dir="auto">Please follow this information ,To  Question about notepad++ double click behavior between certain characters</p>
<p dir="auto">Go to “Settings &gt; Preferences &gt; Delimiter”</p>
<p dir="auto">Add all characters you want in the box “Add your character as part of word”. In the screenshot below I’ve added hyphen and comma. When I double click on word notepad the whole string is selected.</p>
<p dir="auto"><img src="/assets/uploads/files/1585816448163-image1.png" alt="image1.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I hope this information will be usefull.<br />
Thank You.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/52010</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/52010</guid><dc:creator><![CDATA[Prahlad-Makwana4145]]></dc:creator><pubDate>Thu, 02 Apr 2020 08:35:23 GMT</pubDate></item><item><title><![CDATA[Reply to Question about notepad++ double click behavior between certain characters on Thu, 02 Apr 2020 00:53:11 GMT]]></title><description><![CDATA[<p dir="auto">Thank you very much <a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: alan-kilborn">@<bdi>alan-kilborn</bdi></a> and <a class="plugin-mentions-user plugin-mentions-a" href="/user/guy038" aria-label="Profile: guy038">@<bdi>guy038</bdi></a> for your very helpful responses! I was able to play around with the delimeter settings and was able to select entire paragraphs with a double click. That’s certainly a cool way of trying to get close to the functionality that I wanted.</p>
<p dir="auto">I was hoping to ask one last final question if you’d let me. When I use the triple click method or the scintilla command SCI_LINECOPY to select an entire line of text, the cursor always goes immediately to the far left of the next line below it. So when I copy a line in this manner, upon pasting it, I always end up getting an extra blank line below whatever I am pasting. Is there anyway to stop notepad++ from always pasting in a blank line below whatever information I copied from a triple click on the line above?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/52001</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/52001</guid><dc:creator><![CDATA[CarverOf Canyons]]></dc:creator><pubDate>Thu, 02 Apr 2020 00:53:11 GMT</pubDate></item><item><title><![CDATA[Reply to Question about notepad++ double click behavior between certain characters on Sun, 29 Mar 2020 17:35:26 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="/user/carverof-canyons" aria-label="Profile: carverof-canyons">@<bdi>carverof-canyons</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: alan-kilborn">@<bdi>alan-kilborn</bdi></a> and <strong>All</strong>,</p>
<p dir="auto">It is <strong>very important</strong> to point out that the characters <strong>added</strong> to the zone <strong><code>add character as part of word</code></strong>, in the <strong><code>Preferences... &gt; Delimiter</code></strong> dialog, are, indeed,  considered, by Notepad++, as <strong>pseudo</strong>-word chars !</p>
<p dir="auto">For instance, let’s assume the <strong>initial</strong> text of <strong><code>3</code></strong> lines :</p>
<pre><code class="language-diff">1 ABCDE wordsandtext-notepad-morestuff ABCDE
2 ABCDEwordsandtext-notepad-morestuffABCDE
3 ABCDE wordsandtext-notepad-morestuff ABCDE
</code></pre>
<p dir="auto">and that you <strong>previously</strong> added the <strong><code>-</code></strong> <strong>character</strong> in the zone, mentioned by <a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: alan-kilborn">@<bdi>alan-kilborn</bdi></a></p>
<ul>
<li>
<p dir="auto">The expression <strong>wordsandtext-notepad-morestuff</strong> is considered as a <strong>true word</strong> in lines <strong><code>1</code></strong> or <strong><code>3</code></strong> :</p>
</li>
<li>
<p dir="auto">After a <strong>double-click</strong> on that expression</p>
</li>
<li>
<p dir="auto">After a search of <strong><code>wordsandtext-notepad-morestuff</code></strong> in <strong>normal</strong> mode, with the <strong><code>Match whole word only</code></strong> <strong>ticked</strong></p>
</li>
<li>
<p dir="auto">After a search of <strong><code>\bwordsandtext\-notepad\-morestuff\b</code></strong>, in <strong>regular expression</strong> mode</p>
</li>
</ul>
<p dir="auto">However :</p>
<ul>
<li>
<p dir="auto">The regex <strong><code>\w</code></strong> still does <strong>not</strong> consider that the <strong>dash</strong> is a <strong>word</strong> character</p>
</li>
<li>
<p dir="auto">The regex <strong><code>\w+</code></strong> <strong>still</strong> begins after a <strong><code>-</code></strong> char and <strong>still</strong> ends before a <strong><code>-</code></strong> char</p>
</li>
</ul>
<p dir="auto">So, in order to mimic the <strong>new</strong> set of <strong>words</strong> characters, you should use, for instance, the <strong>new</strong> regex syntaxes <strong><code>[\w-]</code></strong> and <strong><code>[\w-]+</code></strong></p>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/51871</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/51871</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Sun, 29 Mar 2020 17:35:26 GMT</pubDate></item><item><title><![CDATA[Reply to Question about notepad++ double click behavior between certain characters on Sun, 29 Mar 2020 15:40:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/carverof-canyons" aria-label="Profile: CarverOf-Canyons">@<bdi>CarverOf-Canyons</bdi></a></p>
<p dir="auto">Here’s the setting that you would want to experiment with for this:</p>
<p dir="auto"><img src="/assets/uploads/files/1585496422040-b02a1733-48b0-4f82-b990-bccfca4e7dc5-image.png" alt="b02a1733-48b0-4f82-b990-bccfca4e7dc5-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.notepad-plus-plus.org/post/51866</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/51866</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Sun, 29 Mar 2020 15:40:37 GMT</pubDate></item></channel></rss>