<?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[Select a path between words]]></title><description><![CDATA[<p dir="auto">Can someone point me how we can select a path between the words? Some examples:</p>
<pre><code class="language-txt">word1 C:\te|st\name word2
C:\te|st\name word2
C:\te|st\name word2
</code></pre>
<p dir="auto">Char <code>|</code> indicates the position of the cursor. When I click on <code>test</code> only <code>test</code> was selected, next click select the entire line. I need select only path <code>C:\test\name</code> but without making a precise selection by myself. If anyone has an idea how to do it in NPPExec, it would be even better.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/21173/select-a-path-between-words</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 23:09:02 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/21173.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 16 May 2021 15:33:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Select a path between words on Sun, 16 May 2021 17:36:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/1978">@ArkadiuszMichalski</a> ,</p>
<p dir="auto">The three levels of single-click, double-click, and triple-click select single caret position, current word, and whole line.</p>
<p dir="auto">The way to get the behavior you want is to change teh definition of “word”, which you can do by setting <strong>Settings &gt; Preferences &gt; Delimiter &gt; ☑ Add your characters…</strong>  = <code>:\</code></p>
<p dir="auto">I know there have been PythonScript examples of highjacking double-click as well (using the scintilla notifications and callbacks), so if you didn’t want to change the definition of “word” you could solve it another way.  NppExec can do a lot, but I don’t think it can handle the notification callbacks.  NppExec <em>might</em> be able to create a script that goes from the current position, and searches both forward and backward until it hits a space in either direction – but I usually think of NppExec as more of a batch-scripting, for interacting the entire contents of the file with external programs, and think of character-based as something better suited for PythonScript or similar, so I’m not sure how I would go about solving that problem in NppExec.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/66042</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/66042</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Sun, 16 May 2021 17:36:21 GMT</pubDate></item></channel></rss>