<?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[Shortcut map Num+ performs function but also adds &#x27;+&#x27;]]></title><description><![CDATA[<p dir="auto">This may be a newbie problem.  I attempted to add Numeric keypad ‘+’ as an additional shortcut for SCI_LINECOPY.  It does work, sort-of.  The problem is that after copying the line, a ‘+’ is also entered afterwards.  The net effect of the operation is that the line is selected, copied to the clipboard, and then the ‘+’ is entered in front of the previously selected line.  Am I missing a step that would prevent the original meaning of ‘Num +’ from executing?</p>
<p dir="auto">In addition, if I add a third key, Num *, to SCI_PASTE, I can see the definition and it works in the session that I defined it.  When I exit and run NP++ again the third shortcut has disappeared and no longer works.</p>
<p dir="auto">I’m not sure if this is relevant, but there appears to be a conflict in the mapping of Ctl-Alt-Shift-F.</p>
<p dir="auto">This is the section I am seeing in shortcuts.xml that appears related to the modifications I’m attempting.</p>
<pre><code>&lt;ScintillaKeys&gt;
    &lt;ScintKey ScintID="2179" menuCmdID="42005" Ctrl="yes" Alt="no" Shift="no" Key="86"&gt;
        &lt;NextKey Ctrl="no" Alt="no" Shift="yes" Key="45" /&gt;
        &lt;NextKey Ctrl="no" Alt="no" Shift="no" Key="106" /&gt;
    &lt;/ScintKey&gt;
    &lt;ScintKey ScintID="2455" menuCmdID="0" Ctrl="yes" Alt="no" Shift="yes" Key="88"&gt;
        &lt;NextKey Ctrl="no" Alt="no" Shift="no" Key="107" /&gt;
    &lt;/ScintKey&gt;
&lt;/ScintillaKeys&gt;
</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/topic/12901/shortcut-map-num-performs-function-but-also-adds</link><generator>RSS for Node</generator><lastBuildDate>Tue, 16 Jun 2026 14:40:29 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/12901.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 11 Dec 2016 20:26:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Shortcut map Num+ performs function but also adds &#x27;+&#x27; on Fri, 03 Mar 2017 14:38:47 GMT]]></title><description><![CDATA[<p dir="auto">Just noting that a similar thing is discussed in this thread as well:<br />
<a href="https://notepad-plus-plus.org/community/topic/11233/disable-ascii-control-characters-shortcuts" rel="nofollow ugc">https://notepad-plus-plus.org/community/topic/11233/disable-ascii-control-characters-shortcuts</a></p>
]]></description><link>https://community.notepad-plus-plus.org/post/22283</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/22283</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Fri, 03 Mar 2017 14:38:47 GMT</pubDate></item><item><title><![CDATA[Reply to Shortcut map Num+ performs function but also adds &#x27;+&#x27; on Mon, 06 Feb 2017 16:52:15 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">and that’s the reason why I don’t have it. De-assigning the shortcut and et voila<br />
I do have the same BS (no, not for Bull…) :-)</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/21608</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/21608</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Mon, 06 Feb 2017 16:52:15 GMT</pubDate></item><item><title><![CDATA[Reply to Shortcut map Num+ performs function but also adds &#x27;+&#x27; on Mon, 06 Feb 2017 16:47:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/claudia-frank" aria-label="Profile: Claudia-Frank">@<bdi>Claudia-Frank</bdi></a></p>
<p dir="auto">I have no shortcut defined for SCI_DELWORDLEFT.<br />
Additionally, I have no shortcut for the Ctrl+Backspace combination (tested by setting one for a command that has none, and saw “no conflicts” result).<br />
Using the script as it was provided (thus “callbackSync”).</p>
]]></description><link>https://community.notepad-plus-plus.org/post/21607</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/21607</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Mon, 06 Feb 2017 16:47:06 GMT</pubDate></item><item><title><![CDATA[Reply to Shortcut map Num+ performs function but also adds &#x27;+&#x27; on Mon, 06 Feb 2017 16:30:50 GMT]]></title><description><![CDATA[<p dir="auto">Hi Scott,</p>
<p dir="auto">ahh - one of my wanted to test but forgot about it totally.</p>
<p dir="auto">Hmm, don’t have it on my side  but thx for enhancing anyway. :-)<br />
Normal config defines ctrl+backspace as delete word left.<br />
Do you use sync or async callback? Could it be that backup functionality<br />
is jumping in? Another py script running in parallel?</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/21606</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/21606</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Mon, 06 Feb 2017 16:30:50 GMT</pubDate></item><item><title><![CDATA[Reply to Shortcut map Num+ performs function but also adds &#x27;+&#x27; on Mon, 06 Feb 2017 16:06:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/claudia-frank" aria-label="Profile: Claudia-Frank">@<bdi>Claudia-Frank</bdi></a></p>
<p dir="auto">I just noticed when I accidentally typed ctrl+backspace that a “funny character” was inserted into my document.  After a little investigation I changed the relevant line in the script above to:</p>
<p dir="auto"><code>if (c &lt; 32 and c not in [9,10,13]) or c == 0x7F:</code></p>
]]></description><link>https://community.notepad-plus-plus.org/post/21605</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/21605</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Mon, 06 Feb 2017 16:06:35 GMT</pubDate></item><item><title><![CDATA[Reply to Shortcut map Num+ performs function but also adds &#x27;+&#x27; on Mon, 19 Dec 2016 16:03:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/claudia-frank" aria-label="Profile: Claudia-Frank">@<bdi>Claudia-Frank</bdi></a></p>
<p dir="auto">That short script seems to solve my fat-finger issues; seems so obvious now…  Thank you.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/20140</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/20140</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Mon, 19 Dec 2016 16:03:56 GMT</pubDate></item><item><title><![CDATA[Reply to Shortcut map Num+ performs function but also adds &#x27;+&#x27; on Mon, 19 Dec 2016 15:16:44 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">after spent a couple of minutes thinking about it, I don’t see<br />
a built-in way or using a scripting plugin to achieve this.<br />
Another approach might be to register a charadded callback function<br />
and check if char is &lt; 32. E.g.</p>
<pre><code>def CHARADDED(args):
    c = args['ch']
    if c &lt; 32 and c not in [9,10,13]:
        editor.deleteBack()
    
editor.callbackSync(CHARADDED,[SCINTILLANOTIFICATION.CHARADDED])
</code></pre>
<p dir="auto">Or hooking (maybe it isn’t required but getting handle and search controls)<br />
npp might be working as well, something like<br />
first set all key combination to sci_null and then get what is configured as editor shortcut<br />
from npp and set it again.<br />
First question would be, how to handle shortcut map changes during runtime.<br />
Also, not sure how easy this can be done but I will give it a try when back from work.</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/20139</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/20139</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Mon, 19 Dec 2016 15:16:44 GMT</pubDate></item><item><title><![CDATA[Reply to Shortcut map Num+ performs function but also adds &#x27;+&#x27; on Mon, 19 Dec 2016 06:19:36 GMT]]></title><description><![CDATA[<p dir="auto">Linux has so many flavors and there are so much variety in the background infrastructure that every machine may act differently.<br />
At work, under ubuntu 14.04 with gnome-shell (and whoever knows what else) I see the behavior I described and also some GUI artifacts like shrunken title bars for windows.<br />
At home under Linux Mint I don’t see the GUI artifacts. Don’t remember if the keyboard issues are there.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/20133</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/20133</guid><dc:creator><![CDATA[gstavi]]></dc:creator><pubDate>Mon, 19 Dec 2016 06:19:36 GMT</pubDate></item><item><title><![CDATA[Reply to Shortcut map Num+ performs function but also adds &#x27;+&#x27; on Mon, 19 Dec 2016 00:45:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/claudia-frank" aria-label="Profile: Claudia-Frank">@<bdi>Claudia-Frank</bdi></a></p>
<p dir="auto">Occasionally I fat-finger something and end up with a control character of some sort in my text.  For example, I remember recently getting “CAN” or “DC1” or “ETB” in white surrounded by a black border when I did this.  Is there a way to assign all non-normal (define normal as something on a key that actually appears the same way when typed) and non-shortcutmapper-mapped keys to SCI_NULL?  This would stop the fat-finger mistakes.</p>
<p dir="auto">Clearly one can do it as Claudia has, but that sort of becomes a maintenance nightmare to do each keycombo individually…</p>
]]></description><link>https://community.notepad-plus-plus.org/post/20131</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/20131</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Mon, 19 Dec 2016 00:45:26 GMT</pubDate></item><item><title><![CDATA[Reply to Shortcut map Num+ performs function but also adds &#x27;+&#x27; on Sun, 18 Dec 2016 22:34:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gstavi" aria-label="Profile: gstavi">@<bdi>gstavi</bdi></a></p>
<p dir="auto">actually I don’t see this behavior with my linux installation.<br />
What I do have is an ESC when pressing escape and shift together,<br />
therefore I disabled all those asccii control chars using python script and <a href="http://startup.py" rel="nofollow ugc">startup.py</a><br />
file.</p>
<pre><code>editor.assignCmdKey(ord('E') + (KEYMOD.CTRL &lt;&lt; 16),2172)
editor.assignCmdKey(ord('R') + (KEYMOD.CTRL &lt;&lt; 16),2172)
editor.assignCmdKey(ord('Y') + (KEYMOD.SHIFT + KEYMOD.CTRL &lt;&lt; 16),2172)
editor.assignCmdKey(ord('W') + (KEYMOD.SHIFT + KEYMOD.CTRL &lt;&lt; 16),2172)
editor.assignCmdKey(ord('O') + (KEYMOD.SHIFT + KEYMOD.CTRL &lt;&lt; 16),2172)
editor.assignCmdKey(ord('A') + (KEYMOD.SHIFT + KEYMOD.CTRL &lt;&lt; 16),2172)
editor.assignCmdKey(ord('D') + (KEYMOD.SHIFT + KEYMOD.CTRL &lt;&lt; 16),2172)
editor.assignCmdKey(ord('G') + (KEYMOD.SHIFT + KEYMOD.CTRL &lt;&lt; 16),2172)
editor.assignCmdKey(ord('H') + (KEYMOD.SHIFT + KEYMOD.CTRL &lt;&lt; 16),2172)
editor.assignCmdKey(ord('Z') + (KEYMOD.SHIFT + KEYMOD.CTRL &lt;&lt; 16),2172)
editor.assignCmdKey(ord('X') + (KEYMOD.SHIFT + KEYMOD.CTRL &lt;&lt; 16),2172)
editor.assignCmdKey(ord('C') + (KEYMOD.SHIFT + KEYMOD.CTRL &lt;&lt; 16),2172)
editor.assignCmdKey(ord('V') + (KEYMOD.SHIFT + KEYMOD.CTRL &lt;&lt; 16),2172)
editor.assignCmdKey(ord('B') + (KEYMOD.SHIFT + KEYMOD.CTRL &lt;&lt; 16),2172)
editor.assignCmdKey(ord('N') + (KEYMOD.SHIFT + KEYMOD.CTRL &lt;&lt; 16),2172)
editor.assignCmdKey(ord('6') + (KEYMOD.SHIFT + KEYMOD.CTRL &lt;&lt; 16),2172)
editor.assignCmdKey(189 + (KEYMOD.SHIFT + KEYMOD.CTRL &lt;&lt; 16),2172)
editor.assignCmdKey(7 + (KEYMOD.SHIFT &lt;&lt; 16),2172)
</code></pre>
<p dir="auto">Maybe this can be useful for you as well.</p>
<p dir="auto">Btw, 2172 is SCI_NULL!</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/20126</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/20126</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Sun, 18 Dec 2016 22:34:34 GMT</pubDate></item><item><title><![CDATA[Reply to Shortcut map Num+ performs function but also adds &#x27;+&#x27; on Sun, 18 Dec 2016 13:50:19 GMT]]></title><description><![CDATA[<p dir="auto">The problem I described is not related to shortcuts (or Notepad++). It is related to wine.<br />
Running regular Notepad with ‘wine notepad’ ends with same results. ctrl-+ echos ‘+’ to document.<br />
I changed the zoom shortcuts to ctrl-- and ctrl-= to avoid it.</p>
<p dir="auto">Wine is great but not perfect.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/20114</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/20114</guid><dc:creator><![CDATA[gstavi]]></dc:creator><pubDate>Sun, 18 Dec 2016 13:50:19 GMT</pubDate></item><item><title><![CDATA[Reply to Shortcut map Num+ performs function but also adds &#x27;+&#x27; on Sun, 18 Dec 2016 12:39:24 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <strong>Rick</strong> and <strong>gstavi</strong>,</p>
<p dir="auto">I’m not sure that this N++ behaviour is <strong>specially</strong> related to the use of <strong>Wine</strong>. As, <strong>unfortunately</strong>, this happens, also, on a classical <strong>Windows</strong> configuration :-((</p>
<ul>
<li>
<p dir="auto">Seemingly, only <strong>Scintilla</strong> commands  ( <strong><code>SCI_...</code></strong> ) can have <strong>two</strong> different shortcuts. I, also, tried to add a <strong>third</strong> shortcut to the <strong>CTRL + V</strong> command. Unfortunately, as soon as you <strong>re-start</strong> N++, the Scintilla <strong>CTRL + V</strong> command has, again, its <strong>two default</strong> shortcuts :-(( . But, of course, you may, for instance, replace the default <strong>SHIFT + INSERT</strong> shortcut by your <strong>own</strong> shortcut. It works fine !</p>
</li>
<li>
<p dir="auto">By default, Notepad++ uses the <strong>Numeric</strong> keyboard, for shortcuts, in <strong>three</strong> commands, ONLY, relative to the <strong>zoom</strong> feature :</p>
<ul>
<li>
<p dir="auto"><strong><code>CTRL + +</code></strong> ( SCI_ZOOMIN )</p>
</li>
<li>
<p dir="auto"><strong><code>CTRL + -</code></strong> ( SCI_ZOOMOUT )</p>
</li>
<li>
<p dir="auto"><strong><code>CTRL + /</code></strong> ( SCI_SETZOOM )</p>
</li>
</ul>
</li>
</ul>
<p dir="auto">After some tests, I realized that using the <strong>numeric</strong> keys, only, OR with the <strong>SHIFT</strong> key, for shortcuts, does <strong>NOT</strong> work ! In addition, it’s better <strong>not</strong> to use, too, the usual Windows <strong>ALT</strong> + <strong>Numeric digit</strong> key, which allows to insert <strong>any</strong> character, from its <strong>numeric</strong> ANSI or OEM code !</p>
<p dir="auto">So, the <strong>remaining</strong> combinations, <strong>really</strong> available for shortcuts, relative to the <strong>numeric</strong> keypad, should be, finally :</p>
<pre><code>CTRL                +  Key
CTRL + SHIFT        +  Key
CTRL + ALT          +  Key
ALT + SHIFT         +  Key
CTRL + ALT + SHIFT  +  Key
</code></pre>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/20111</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/20111</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Sun, 18 Dec 2016 12:39:24 GMT</pubDate></item><item><title><![CDATA[Reply to Shortcut map Num+ performs function but also adds &#x27;+&#x27; on Sun, 18 Dec 2016 08:37:17 GMT]]></title><description><![CDATA[<p dir="auto">Are you using NP++ over wine/Linux by any chance?<br />
I noted the same thing on wine over gnome-shell. Didn’t see that on Windows.<br />
I also have some other keyboard issues on wine. Most annoying is that going to menu and pressing esc adds an ‘esc’ symbol to the text.<br />
I doubt it can be fixed from NP++ side but maybe someone else will have an idea.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/20109</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/20109</guid><dc:creator><![CDATA[gstavi]]></dc:creator><pubDate>Sun, 18 Dec 2016 08:37:17 GMT</pubDate></item></channel></rss>