<?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[Can&#x27;t change Scintilla LineUp&#x2F;Down Rect Extend to require CTRL key]]></title><description><![CDATA[<p dir="auto">So in N++ 8.7.1 I’m trying to change it such that rectangle line extend up and down requires both the Ctrl+Alt + Shift key + Up/Down (vs. the default of Alt+Shift+Up/Down).</p>
<p dir="auto">All seems good when going to the shortcut editor on the Scintilla tab, I can find sci_LineDownRectExnted and sci_LineUpRectExtend. I can modify them add the Ctrl modifier and apply.</p>
<p dir="auto">BUT when I actually go and try to use it rectangle extend, it only works the first time – you can’t extend more than two lines using the keyboard.</p>
<p dir="auto">Is it a bug that you can’t extend more than one time using custom Scintilla RectExtendUp/Down?</p>
<p dir="auto">thanks</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/26736/can-t-change-scintilla-lineup-down-rect-extend-to-require-ctrl-key</link><generator>RSS for Node</generator><lastBuildDate>Sun, 07 Jun 2026 14:15:46 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/26736.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 01 Apr 2025 22:33:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Can&#x27;t change Scintilla LineUp&#x2F;Down Rect Extend to require CTRL key on Thu, 10 Apr 2025 10:16:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/madmrmax" aria-label="Profile: madmrmax">@<bdi>madmrmax</bdi></a> said:</p>
<blockquote>
<p dir="auto">I don’t know what I’m losing out on by unchecking “Enable Column Selection to Multi-Editing”</p>
</blockquote>
<p dir="auto">IMO, you’re not losing out on much; it’s a lame feature (that some feel is important, to be fair).</p>
<p dir="auto">But if you really want to know, read <a href="https://npp-user-manual.org/docs/editing/#multi-editing" rel="nofollow ugc">HERE</a>.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/100930</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/100930</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Thu, 10 Apr 2025 10:16:04 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t change Scintilla LineUp&#x2F;Down Rect Extend to require CTRL key on Thu, 10 Apr 2025 04:16:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-Kilborn">@<bdi>Alan-Kilborn</bdi></a><br />
Awesome! That worked great and thank you! I don’t know what I’m losing out on by unchecking “Enable Column Selection to Multi-Editing” but that is for a future me problem. I’m happy I can provide this update to my team.</p>
<p dir="auto">-mr</p>
]]></description><link>https://community.notepad-plus-plus.org/post/100928</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/100928</guid><dc:creator><![CDATA[madmrmax]]></dc:creator><pubDate>Thu, 10 Apr 2025 04:16:09 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t change Scintilla LineUp&#x2F;Down Rect Extend to require CTRL key on Wed, 02 Apr 2025 10:27:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/madmrmax" aria-label="Profile: madmrmax">@<bdi>madmrmax</bdi></a> said :</p>
<blockquote>
<p dir="auto">I noticed that N++ has its own editor command for move lines up or down</p>
</blockquote>
<p dir="auto">This seems irrelevant to the original problem description.  Moving lines up or down isn’t related to extending a selection.</p>
<hr />
<blockquote>
<p dir="auto">…try to use it rectangle extend, it only works the first time – you can’t extend more than two lines using the keyboard.</p>
</blockquote>
<p dir="auto">This actually sounds familiar, like it has been discussed before…</p>
<hr />
<p dir="auto">Ok, so there’s the <em>Shortcut Mapper</em>…</p>
<p dir="auto">Then there’s also the concept that a user would never (!) change a common keycombo to be something else (gasp!).  For a wild example, consider a user wanting to change Ctrl+c to <em>not</em> be “copy” (heresy!).</p>
<p dir="auto">Most often, Notepad++ developers respect what is set by the <em>Shortcut Mapper</em> … but sometimes they disregard it and process hard-coded keycombos.  I know, it <em>sounds</em> like a bad thing to do (and it is), but…the devs did it.</p>
<p dir="auto">So for some “bad” stuff, have a look at the <code>ScintillaEditView.cpp</code> file in the Notepad++ source code repo.  Search it for <code>VK_</code> and you’ll see that it hard-processes some keys.  Ideally, it would first use indirection to see what the user really has mapped, before doing what it’s going to.</p>
<p dir="auto">It appears the offending code in this case has to do with <code>column2MultSelect</code>.  If the code that processes this variable is removed (i.e., commented out), and Notepad++ is rebuilt and run, all seems to work fine with Ctrl+Shift+Alt+arrows used rather than Shift+Alt+arrows.</p>
<p dir="auto">Given that we now know what to look for (we have insight!), we can see that <strong>uncheckmarking</strong> this setting will allow Ctrl+Shift+Alt+arrows to work:</p>
<p dir="auto"><img src="/assets/uploads/files/1743589603188-3cded9ca-bce7-4a8f-8176-27e01f2e29c8-image.png" alt="3cded9ca-bce7-4a8f-8176-27e01f2e29c8-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.notepad-plus-plus.org/post/100642</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/100642</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Wed, 02 Apr 2025 10:27:08 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t change Scintilla LineUp&#x2F;Down Rect Extend to require CTRL key on Wed, 02 Apr 2025 00:03:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/madmrmax" aria-label="Profile: madmrmax">@<bdi>madmrmax</bdi></a></p>
<p dir="auto">There are some “heavy” users of NPP here, so give it some time for them to respond. They might have either a workaround, or idea that it is indeed a problem with the NPP/Scintilla interface.</p>
<p dir="auto">There is a FAQ post that outlines how to post a NPP bug, but first get some feedback from other users. I’m only 1 person who has tested and can replicate it.</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/100640</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/100640</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Wed, 02 Apr 2025 00:03:38 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t change Scintilla LineUp&#x2F;Down Rect Extend to require CTRL key on Tue, 01 Apr 2025 23:49:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/terry-r" aria-label="Profile: Terry-R">@<bdi>Terry-R</bdi></a> Ok I’ve posted the bug in Scintilla as well as got a “not repro” in the Scintilla SciTE.</p>
<p dir="auto"><a href="https://sourceforge.net/p/scintilla/bugs/2473/" rel="nofollow ugc">https://sourceforge.net/p/scintilla/bugs/2473/</a></p>
<p dir="auto">So it does look like a potential issue with the interactions between N++ and Scintilla.</p>
<p dir="auto">I noticed that N++ has its own editor command for move lines up or down and it doesn’t list (or use?) Scintilla’s version of those commands. Perhaps that is the issue.</p>
<p dir="auto">-mr</p>
]]></description><link>https://community.notepad-plus-plus.org/post/100639</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/100639</guid><dc:creator><![CDATA[madmrmax]]></dc:creator><pubDate>Tue, 01 Apr 2025 23:49:57 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t change Scintilla LineUp&#x2F;Down Rect Extend to require CTRL key on Tue, 01 Apr 2025 22:52:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/madmrmax" aria-label="Profile: madmrmax">@<bdi>madmrmax</bdi></a></p>
<p dir="auto">You can but try. They can just say that it’s not present in Scintilla and it’s the Notepad++ interface causing it. And there is no harm in putting in a bug ticket, although I’d try checking their existing bugs to make sure no one has already located this issue and there is a answer from Scintilla on any outcome to it.</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/100638</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/100638</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Tue, 01 Apr 2025 22:52:09 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t change Scintilla LineUp&#x2F;Down Rect Extend to require CTRL key on Tue, 01 Apr 2025 22:49:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/terry-r" aria-label="Profile: Terry-R">@<bdi>Terry-R</bdi></a> Thanks. I got the Sourceforge Scintilla project and I can open a ticket/bug. I don’t know how “friendly” they are to bugs which repro in N++ vs. if they require a bug repro somewhere else.</p>
<p dir="auto">I’ll give it a shot though.</p>
<p dir="auto">Thanks again for the reply!<br />
-mr</p>
]]></description><link>https://community.notepad-plus-plus.org/post/100637</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/100637</guid><dc:creator><![CDATA[madmrmax]]></dc:creator><pubDate>Tue, 01 Apr 2025 22:49:25 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t change Scintilla LineUp&#x2F;Down Rect Extend to require CTRL key on Tue, 01 Apr 2025 22:42:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/madmrmax" aria-label="Profile: madmrmax">@<bdi>madmrmax</bdi></a> said in <a href="/post/100635">Can't change Scintilla LineUp/Down Rect Extend to require CTRL key</a>:</p>
<blockquote>
<p dir="auto">Is it a bug that you can’t extend more than one time using custom Scintilla RectExtendUp/Down?</p>
</blockquote>
<p dir="auto">Very possibly. I’m on 8.7.8 and can confirm the default shortcut allows for multiple lines (more than 2) to be selected. once I add the “Ctrl” key to the shortcut it only allows for 2 lines to be selected. And as soon as I want the 3rd line the area moves down to retain the 2 lines only.</p>
<p dir="auto">Unfortunately as this is a Scintilla command it may well be a bug in that, rather then Notepad++. Scintilla has it’s own bug listing forum. I don’t know the exact link at the moment.</p>
<p dir="auto">Terry</p>
<p dir="auto">PS as it may take some time for that to be resolved you’ll have to stay with the default shortcut mapping to get what you want.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/100636</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/100636</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Tue, 01 Apr 2025 22:42:55 GMT</pubDate></item></channel></rss>