<?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, grab and move -  faster way]]></title><description><![CDATA[<p dir="auto">I have work to tagging text with numbers.</p>
<p dir="auto">Orginal text sample:<br />
“1|w| Na początku stworzył Bóg niebo i ziemię.<br />
|7225| |1254| |430| |853| |8064| |853| |776|”</p>
<p dir="auto">Text tagged:<br />
“1|w| Na początku|7225| stworzył|1254| Bóg|430| [-]|853| niebo|8064| i|853| ziemię.|776|”</p>
<p dir="auto">And that thousands of times.</p>
<p dir="auto">To select tag i must to double click LMB, to grab it - wait 0.5 second, then hold LMB and move to proper place.</p>
<p dir="auto">I write certain macro in AutoHotkey program to reduce this steps to clicking and holding simultaneously Ctrl and LMB but I must wait this 0.5 second. When I don’t wait and click thrice LMB the whole line will be highlighted.</p>
<p dir="auto">Can I in some way change settings of notepad++ to work this way that thrice clicking will grab my numerical tag? Or some shortcut or plugin will do this work?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/17462/select-grab-and-move-faster-way</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Apr 2026 16:06:02 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/17462.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 16 Apr 2019 16:43:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Select, grab and move -  faster way on Mon, 22 Apr 2019 11:28:33 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/195">@guy038</a><br />
Thanks for your help and tips. But this text was only an example. This kind of work is only to do “by hand”, because things are not always so simple. Numbers are not always matching text with that simple order as in my example…</p>
]]></description><link>https://community.notepad-plus-plus.org/post/42492</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/42492</guid><dc:creator><![CDATA[learner9753]]></dc:creator><pubDate>Mon, 22 Apr 2019 11:28:33 GMT</pubDate></item><item><title><![CDATA[Reply to Select, grab and move -  faster way on Sun, 21 Apr 2019 14:35:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@alan-kilborn</a>,</p>
<p dir="auto"><strong>None</strong> ! It does what I was expected to ;-)) I was thinking about <strong>syntax</strong> : may be, an <strong>other</strong> function than <strong><code>editor.addText()</code></strong> or… ?</p>
<p dir="auto">Anyway, thank you for your <strong>offer</strong> to help !</p>
<p dir="auto">Best regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/42480</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/42480</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Sun, 21 Apr 2019 14:35:52 GMT</pubDate></item><item><title><![CDATA[Reply to Select, grab and move -  faster way on Sun, 21 Apr 2019 13:17:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/195">@guy038</a> said:</p>
<blockquote>
<p dir="auto">Alan, just tell me if something seems incorrect to you</p>
</blockquote>
<p dir="auto">Seems reasonable – is there any problem with it when you run it?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/42479</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/42479</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Sun, 21 Apr 2019 13:17:03 GMT</pubDate></item><item><title><![CDATA[Reply to Select, grab and move -  faster way on Sun, 21 Apr 2019 14:26:43 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/15018">@learner9753</a>, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@alan-kilborn</a>, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/9520">@meta-chuh</a> and <strong>All</strong>,</p>
<p dir="auto"><strong>Alan</strong>, my post-script, about the <strong><code>install_state</code></strong> variable, was <strong>not</strong> intended to you, <strong>personally</strong>, but to <strong>everyone</strong>, of course. Just an easy <strong>trick</strong> ;-))</p>
<hr />
<p dir="auto">Now, I tried to <strong>slightly</strong> change your script to add a <strong>prefix</strong> and/or a <strong>suffix</strong> zones to the <strong>selected</strong> and <strong>cut</strong> text on a <strong>double</strong> mouse click. Of course, changes are quite <strong>minimum</strong> but, <strong>Alan</strong>, just tell me if something seems <strong>incorrect</strong> to you ;-)). Here is my version :</p>
<pre><code class="language-py"># coding= utf-8

#  Modified version, on 04-20-2019, of the Alan KILBORN's Python script, which includes TWO preset
#  variables to define 2 text areas BEFORE and/or AFTER the text, selected and cut on a DOUBLE-MOUSE click
#
# ORIGINAL file at location : https://notepad-plus-plus.org/community/topic/17462/select-grab-and-move-faster-way/5

from Npp import editor, SCINTILLANOTIFICATION, NOTIFICATION

try:
    install_state
except NameError:
    install_state = 0  # 0 = first run, 1 = active, 2 = inactive

if install_state == 0:

    # ----- START of the CONFIGURATION area -----
    prefix = '......'
    suffix = ' €'
    # ----- END of the CONFIGURATION area -----

    paste_upon_mouse_stopped = False
    pos_of_cut = -1
    cut_word_length = 0
    LINE_NUMBER_MARGIN_DEFAULT_BACK_RGB = editor.styleGetBack(STYLESCOMMON.LINENUMBER)
    BLUEISH_RGB = (135, 206, 250)  # margin color when paste is pending

    def dwell_start_callback(args):
        if install_state == 2: return
        global paste_upon_mouse_stopped
        if paste_upon_mouse_stopped:
            pos_of_mouse_stop = args['position']
            if pos_of_mouse_stop != -1:  # if mouse cursor points beyond end-of-line or other non-position'd spot
                if pos_of_mouse_stop &lt; pos_of_cut or pos_of_mouse_stop &gt; pos_of_cut + cut_word_length:
                    editor.setSelectionStart(pos_of_mouse_stop)
                    editor.setSelectionEnd(pos_of_mouse_stop)
                    editor.addText(prefix)
                    editor.paste()
                    editor.addText(suffix)
                    editor.setSelectionStart(pos_of_mouse_stop)
                    editor.styleSetBack(STYLESCOMMON.LINENUMBER, LINE_NUMBER_MARGIN_DEFAULT_BACK_RGB)
                    paste_upon_mouse_stopped = False

    def double_click_callback(args):
        if install_state == 2: return
        if editor.getSelectionStart() != editor.getSelectionEnd():
            global cut_word_length, pos_of_cut, paste_upon_mouse_stopped
            cut_word_length = len(editor.getSelText())
            editor.cut()
            pos_of_cut = editor.getCurrentPos()
            paste_upon_mouse_stopped = True
            editor.styleSetBack(STYLESCOMMON.LINENUMBER, BLUEISH_RGB)

    editor.setMouseDwellTime(300)  # set a more reasonable value than the default (10000000 ms)

    editor.callback(dwell_start_callback, [SCINTILLANOTIFICATION.DWELLSTART])
    editor.callback(double_click_callback, [SCINTILLANOTIFICATION.DOUBLECLICK])

    install_state = 1

else:

    install_state = 3 - install_state
</code></pre>
<p dir="auto">Cheers,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/42472</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/42472</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Sun, 21 Apr 2019 14:26:43 GMT</pubDate></item><item><title><![CDATA[Reply to Select, grab and move -  faster way on Sat, 20 Apr 2019 12:49:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/195">@guy038</a> said:</p>
<blockquote>
<p dir="auto">Your script is really surprising,</p>
</blockquote>
<p dir="auto">I don’t know about <em>surprising</em> but I did think it was an <em>interesting</em> approach to the problem! :)</p>
<blockquote>
<p dir="auto">What’s your feeling about it ?</p>
</blockquote>
<p dir="auto">Sure, go for it! :)</p>
<blockquote>
<p dir="auto">“install_state”</p>
</blockquote>
<p dir="auto">Yea, my “install_state” stuff was kind of bad in the script (wrote that part very fast).  After posting initially I made it better for myself, even though I may never have use for that script.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/42468</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/42468</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Sat, 20 Apr 2019 12:49:49 GMT</pubDate></item><item><title><![CDATA[Reply to Select, grab and move -  faster way on Sat, 20 Apr 2019 11:34:56 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/15018">@learner9753</a>, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@alan-kilborn</a>, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/9520">@meta-chuh</a> and <strong>All</strong>,</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@alan-kilborn</a>,</p>
<p dir="auto">Your script is really <strong>surprising</strong>, as it deals with <strong>mouse</strong> gestures ! This gives it a <strong>dynamic</strong> look, in contrast to most <strong>Python</strong> scripts, which provide, obviously, <strong>static</strong> results ;-))</p>
<p dir="auto">Now, I think that it would be very <strong>useful</strong> to add a <strong>leading</strong> and/or a <strong>trailing</strong> string to the present <strong>cut</strong> selection ! I don’t mean dialogs to <strong>enter</strong> these <strong>string</strong> values. But, simply, <strong>two</strong> variables, let’s say <strong><code>prefix</code></strong> and <strong><code>suffix</code></strong> ;-)). For instance, with, the <strong>two</strong> assignments :</p>
<pre><code class="language-py">prefix = "......"

suffix = " €"
</code></pre>
<p dir="auto">and the <strong>original</strong> text :</p>
<pre><code class="language-diff">Article A
Article B
Article C
120
270
53
</code></pre>
<p dir="auto">We would get, after <strong><code>3</code></strong> mouse gestures :</p>
<pre><code class="language-diff">Article A......120 €
Article B......270 €
Article C......53 €



</code></pre>
<p dir="auto">What’s your feeling about it ?</p>
<hr />
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/15018">@learner9753</a>,</p>
<p dir="auto">Starting with your <strong>example</strong> :</p>
<pre><code class="language-diff">1|w| Na początku stworzył Bóg niebo i ziemię.
|7225| |1254| |430| |853| |8064| |853| |776|

and the result :

1|w| Na początku|7225| stworzył|1254| Bóg|430| [-]|853| niebo|8064| i|853| ziemię.|776|
</code></pre>
<p dir="auto">Let’s suppose that any <strong>set</strong> of characters, surrounded by <strong>spaces</strong>, is <strong>always</strong> associated with a <strong>tagging</strong> number, of the <strong>next</strong> line. Then we could organize your example as below :</p>
<pre><code class="language-diff"> 1       Na       początku       stworzył       Bóg       [-]       niebo       i       ziemię.
|w|      ||        |7225|         |1254|       |430|     |853|     |8064|     |853|      |776|
</code></pre>
<p dir="auto"><strong>Notes</strong> :</p>
<ul>
<li>
<p dir="auto">I just inserted some <strong>space</strong> characters, in order to see the <strong>associated</strong> zones <strong>clearly</strong> !</p>
</li>
<li>
<p dir="auto">You’ve certainly noticed :</p>
<ul>
<li>
<p dir="auto">That an <strong>empty tagging</strong> number <strong><code>||</code></strong> have been added and associated to the word <strong>Na</strong>, of your example</p>
</li>
<li>
<p dir="auto">The <strong>string</strong> <strong><code>[-]</code></strong> have been added, in order to correspond with the <strong><code>853</code></strong> <strong>tagging</strong> number of your example</p>
</li>
</ul>
</li>
</ul>
<p dir="auto">Now, this <strong>template</strong> of text could be easily handled and modified with a <strong>regular</strong> expression S/R !</p>
<hr />
<p dir="auto">So, assuming, for instance, the <strong>original</strong> text, below, pasted in a <strong>new</strong> tab :</p>
<pre><code class="language-diff">1 Na początku stworzył Bóg [-] niebo
|w| || |7225| |1254| |430| |853| |8064|

Some text
indepedent of the
main zones to process



			1 Na początku stworzył
      |w| || |7225| |1254|

Other
rubbish text
between


1 Na początku stworzył Bóg [-] niebo i ziemię.
|w| || |7225| |1254| |430| |853| |8064| |853| |776|
</code></pre>
<ul>
<li>Open the N++ <strong>Replace</strong> dialog ( <strong><code>Ctrl + H</code></strong> )</li>
</ul>
<p dir="auto">SEARCH <strong><code>(?-s)^((.+\|)?\h*[^\h\r\n]+)(.*\R\h*)(\|.*?\|)\h*</code></strong></p>
<p dir="auto">REPLACE <strong><code>\1\4\3</code></strong></p>
<ul>
<li>
<p dir="auto">Click on the <strong><code>Wrap around</code></strong> option</p>
</li>
<li>
<p dir="auto">Choose the <strong><code>Regular expression</code></strong> search mode</p>
</li>
</ul>
<p dir="auto">Now, click on the <strong><code>Replace All</code></strong> button, <strong>exclusively</strong>, <strong>several</strong> times, till you see the line <strong><code>Replace All: 0 occurrence were replaced.</code></strong>. ( You may also use the <strong><code>ALT + A</code></strong> shortcut ! )</p>
<p dir="auto">Note that the <strong>number</strong> of hits on the <strong>Replace All</strong> button is equal to the value : 1 + number of tags of the longest line of tagging numbers of your file !</p>
<p dir="auto">You should get the text below :</p>
<pre><code class="language-diff">1|w| Na|| początku|7225| stworzył|1254| Bóg|430| [-]|853| niebo|8064|


Some text
indepedent of the
main zones to process



			1|w| Na|| początku|7225| stworzył|1254|
      

Other
rubbish text
between


1|w| Na|| początku|7225| stworzył|1254| Bóg|430| [-]|853| niebo|8064| i|853| ziemię.|776|
</code></pre>
<ul>
<li>Finally just get rid of the <strong>surplus</strong> <strong><code>||</code></strong> empty tags ( as, for instance, <strong>after</strong> the <strong>Na</strong> word ! )</li>
</ul>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
<p dir="auto"><strong>P.S.</strong> :</p>
<p dir="auto">The last line of the <strong>Alan</strong> script can be changed into :</p>
<pre><code class="language-py">install_state = 3 - install_state  # values 1 or 2
</code></pre>
<p dir="auto">Whatever your programming language, if you have a variable that can <strong>only</strong> take <strong><code>2</code></strong> values <strong><code>a</code></strong> and <strong><code>b</code></strong>, you can always use the <strong>simple</strong> assignment, below :</p>
<p dir="auto"><strong><code>var = ( a + b ) - var</code></strong></p>
<p dir="auto">to express the <strong>two possible</strong> values :-))</p>
<p dir="auto">Indeed:</p>
<ul>
<li>
<p dir="auto">If <strong>var</strong> is equal to the value <strong><code>a</code></strong>, the <strong>next</strong> value becomes <strong><code>(a + b) - a</code></strong>, i.e. the value <strong><code>b</code></strong></p>
</li>
<li>
<p dir="auto">If <strong>var</strong> is equal to the value <strong><code>b</code></strong>, the <strong>next</strong> value becomes <strong><code>(a + b) - b</code></strong>, i.e. the value <strong><code>a</code></strong></p>
</li>
</ul>
<p dir="auto">So, this syntax avoids an <strong>useless</strong> test. However, as this syntax does <strong>not</strong>, explicitly, show the <strong>two</strong> values, you may indicate them in <strong>comments</strong>, if desired</p>
<hr />
<p dir="auto">For instance, let’s suppose you have a <strong>test</strong> variable, which should be <strong><code>-11</code></strong> or <strong><code>+7</code></strong>, <strong>only</strong>. Then, simply use the simple assignment :</p>
<pre><code class="language-py">test = -4 - test  # test = -11 or +7
</code></pre>
<p dir="auto">Just because <strong><code>(-11) + (+7) = - 4</code></strong> !</p>
<p dir="auto">Of course, if you’re using the <strong><code>-1</code></strong> and <strong><code>+1</code></strong> values to identify the <strong>two</strong> states, the above statement just becomes :</p>
<pre><code class="language-py">test = - test  # test = - 1 or + 1
</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/post/42464</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/42464</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Sat, 20 Apr 2019 11:34:56 GMT</pubDate></item><item><title><![CDATA[Reply to Select, grab and move -  faster way on Wed, 17 Apr 2019 09:35:10 GMT]]></title><description><![CDATA[<p dir="auto">Thank you, thank you very much! Everything goes perfectly well :) This script is great! Now my workflow improves heavily :D</p>
]]></description><link>https://community.notepad-plus-plus.org/post/42329</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/42329</guid><dc:creator><![CDATA[learner9753]]></dc:creator><pubDate>Wed, 17 Apr 2019 09:35:10 GMT</pubDate></item><item><title><![CDATA[Reply to Select, grab and move -  faster way on Tue, 16 Apr 2019 21:06:28 GMT]]></title><description><![CDATA[<p dir="auto">welcome to the notepad++ community, <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/15018">@learner9753</a></p>
<p dir="auto">here is the <a href="https://notepad-plus-plus.org/community/topic/17256/guide-how-to-install-the-pythonscript-plugin-on-notepad-7-6-3-7-6-4-and-above/1" rel="nofollow ugc">Guide How to install the PythonScript plugin on Notepad++ 7.6.3, 7.6.4 and above</a></p>
]]></description><link>https://community.notepad-plus-plus.org/post/42307</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/42307</guid><dc:creator><![CDATA[Meta Chuh]]></dc:creator><pubDate>Tue, 16 Apr 2019 21:06:28 GMT</pubDate></item><item><title><![CDATA[Reply to Select, grab and move -  faster way on Tue, 16 Apr 2019 20:22:38 GMT]]></title><description><![CDATA[<p dir="auto">Thank you very much Bro!<br />
Besides: I’m very noob in python scripting in notepad++… I tried to run this by  <a href="http://npppythonscript.sourceforge.net/" rel="nofollow ugc">link text</a> (Python Script). I even do not know if this is apropriate plugin for that. I have installed Python in my computer already. I tried to install this plugin through normal executable and I do not see this in my plugin list… Excuse me ;)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/42306</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/42306</guid><dc:creator><![CDATA[learner9753]]></dc:creator><pubDate>Tue, 16 Apr 2019 20:22:38 GMT</pubDate></item><item><title><![CDATA[Reply to Select, grab and move -  faster way on Tue, 16 Apr 2019 19:46:02 GMT]]></title><description><![CDATA[<p dir="auto">Here’s a Pythonscript that implements the functionality:</p>
<pre><code>from Npp import editor, SCINTILLANOTIFICATION, NOTIFICATION

try:
    install_state
except NameError:
    install_state = 0  # 0 = first run, 1 = active, 2 = inactive

if install_state == 0:

    paste_upon_mouse_stopped = False
    pos_of_cut = -1
    cut_word_length = 0
    LINE_NUMBER_MARGIN_DEFAULT_BACK_RGB = editor.styleGetBack(STYLESCOMMON.LINENUMBER)
    BLUEISH_RGB = (135, 206, 250)  # margin color when paste is pending

    def dwell_start_callback(args):
        if install_state == 2: return
        global paste_upon_mouse_stopped
        if paste_upon_mouse_stopped:
            pos_of_mouse_stop = args['position']
            if pos_of_mouse_stop != -1:  # if mouse cursor points beyond end-of-line or other non-position'd spot
                if pos_of_mouse_stop &lt; pos_of_cut or pos_of_mouse_stop &gt; pos_of_cut + cut_word_length:
                    editor.setSelectionStart(pos_of_mouse_stop)
                    editor.setSelectionEnd(pos_of_mouse_stop)
                    editor.paste()
                    editor.setSelectionStart(pos_of_mouse_stop)
                    editor.styleSetBack(STYLESCOMMON.LINENUMBER, LINE_NUMBER_MARGIN_DEFAULT_BACK_RGB)
                    paste_upon_mouse_stopped = False

    def double_click_callback(args):
        if install_state == 2: return
        ss = editor.getSelectionStart()
        se = editor.getSelectionEnd()
        if ss != se:
            global cut_word_length, pos_of_cut, paste_upon_mouse_stopped
            cut_word_length = len(editor.getSelText())
            editor.cut()
            pos_of_cut = editor.getCurrentPos()
            paste_upon_mouse_stopped = True
            editor.styleSetBack(STYLESCOMMON.LINENUMBER, BLUEISH_RGB)

    editor.setMouseDwellTime(300)  # set a more reasonable value than the default (10000000 ms)

    editor.callback(dwell_start_callback, [SCINTILLANOTIFICATION.DWELLSTART])
    editor.callback(double_click_callback, [SCINTILLANOTIFICATION.DOUBLECLICK])

    install_state = 1

else:

    install_state = 2 if install_state == 1 else 1
</code></pre>
<p dir="auto">It turns the line number margin area blue while the functionality is “in progress”.  This was kind of interesting to experiment with, not sure of its general usefulness…</p>
<p dir="auto">BTW, once the script is run it remains “on” and available.  Running it a second time will turn it “off” without really uninstalling it.  A third run will turn it back on, etc.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/42304</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/42304</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Tue, 16 Apr 2019 19:46:02 GMT</pubDate></item><item><title><![CDATA[Reply to Select, grab and move -  faster way on Tue, 16 Apr 2019 19:05:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/15018">@learner9753</a> said:</p>
<blockquote>
<p dir="auto">I am for that functionality: holding left Control + LMB will highlight and “cut” my number with “|” delimeter. Then this number will float with my cursor automatically, without any other action and embed when I click LMB again. Can you do that?</p>
</blockquote>
<p dir="auto">Nope, it wouldn’t work that way.  Scripting only gives you so much capability (with reasonable effort).  It would work the way I said before, but I can make it plainer, I think:  <em>Double click some text, it totally disappears. You now have a normal looking caret and you have no mouse button down.  Next you move the mouse to where you want the text to appear but you DO NOT STOP on the way (if you stop it will get pasted wherever you stop). When you reach your stopping point your text gets pasted without any other action (besides stopping).</em></p>
<blockquote>
<p dir="auto">Contact me on alexander.post(at)<a href="http://protonmail.com" rel="nofollow ugc">protonmail.com</a> for details.</p>
</blockquote>
<p dir="auto">Gosh if I contacted you any way other than postings back-n-forther here it would have to be with an invoice for services. ;)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/42303</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/42303</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Tue, 16 Apr 2019 19:05:20 GMT</pubDate></item><item><title><![CDATA[Reply to Select, grab and move -  faster way on Tue, 16 Apr 2019 18:44:29 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for your response! Sure, this could save my life :)<br />
Contact me on alexander.post(at)<a href="http://protonmail.com" rel="nofollow ugc">protonmail.com</a> for details.<br />
I am for that functionality: holding left Control + LMB will highlight and “cut” my number with “|” delimeter. Then this number will float with my cursor automatically, without any other action and embed when I click LMB again. Can you do that? It will be great…<br />
About your question: I add this delimeter in Preferences -&gt; Delimeter -&gt; “Add your character…”.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/42302</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/42302</guid><dc:creator><![CDATA[learner9753]]></dc:creator><pubDate>Tue, 16 Apr 2019 18:44:29 GMT</pubDate></item><item><title><![CDATA[Reply to Select, grab and move -  faster way on Tue, 16 Apr 2019 18:04:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/15018">@learner9753</a></p>
<p dir="auto">I think maybe a Pythonscript could be written for this use case.  Are you interested in that?</p>
<p dir="auto">You might have to adjust your workflow slightly…would that be okay?</p>
<p dir="auto">What I’m thinking is that the double-click action would “cut” your text, and then you immediately start moving the mouse and when you stop your mouse that’s where the previously cut text would get pasted.  There would still need to be some sort of delay involved so that the stopping of the mouse could be detected, but it could be shorter than 0.5 s.</p>
<p dir="auto">Also, you’d have to train yourself for when you don’t want this behavior…NOT to double click to select! :)</p>
<p dir="auto">But I’m curious about your example.  You seem to have extra <code>|</code> in the “after” text; those wouldn’t get selected with a double-click action by default…</p>
]]></description><link>https://community.notepad-plus-plus.org/post/42301</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/42301</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Tue, 16 Apr 2019 18:04:23 GMT</pubDate></item></channel></rss>