<?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[Shift end on wrapped line is one char too short]]></title><description><![CDATA[<p dir="auto">Shift end on wrapped line is one char too short<br />
a long line with no spaces<br />
place the cursor at the start of the first line<br />
press and hold shift, press end<br />
the very last character is NOT selected</p>
<p dir="auto">Also works on ‘broken up’ lines, e.g. &lt;tag&gt;blah&lt;/tag&gt;<br />
will be wrapped to<br />
&lt;tag&gt;blah<br />
&lt;/tag&gt;</p>
<p dir="auto">if you select the first line the characters that are selected are:<br />
&lt;tag&gt;bla<br />
rather than<br />
&lt;tag&gt;blah</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/16781/shift-end-on-wrapped-line-is-one-char-too-short</link><generator>RSS for Node</generator><lastBuildDate>Sun, 13 Sep 2026 05:30:30 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/16781.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 11 Dec 2018 01:45:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Shift end on wrapped line is one char too short on Tue, 11 Dec 2018 19:42:16 GMT]]></title><description><![CDATA[<p dir="auto">thanks <a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a></p>
<p dir="auto">at first i didn’t see it animated right away after posting it.<br />
only a full page reload triggered the image flipping.</p>
<p dir="auto">i think it’s probably a browser related restriction (safari)<br />
the gif flipping does not seem to initiate if it has been loaded via ajax/xmlhttprequests to an already rendered canvas.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/37399</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/37399</guid><dc:creator><![CDATA[Meta Chuh]]></dc:creator><pubDate>Tue, 11 Dec 2018 19:42:16 GMT</pubDate></item><item><title><![CDATA[Reply to Shift end on wrapped line is one char too short on Tue, 11 Dec 2018 16:41:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/meta-chuh" aria-label="Profile: Meta-Chuh">@<bdi>Meta-Chuh</bdi></a> ,</p>
<blockquote>
<p dir="auto">btw: what’s the nodebb syntax to embed this animated gif so that it’s preview is animated ?<br />
i used <code>![alt](https://i.imgur.com/ncGFJ9s.gif)</code></p>
</blockquote>
<p dir="auto">That’s the correct syntax.  It is animated and embedded in your first post, for me.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/37397</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/37397</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Tue, 11 Dec 2018 16:41:38 GMT</pubDate></item><item><title><![CDATA[Reply to Shift end on wrapped line is one char too short on Tue, 11 Dec 2018 15:17:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/meta-chuh" aria-label="Profile: Meta-Chuh">@<bdi>Meta-Chuh</bdi></a></p>
<blockquote>
<p dir="auto">i personally don’t see any bug in this behaviour</p>
</blockquote>
<p dir="auto">I agree.  I started a posting saying so but I clicked “Discard”.  Now that you’ve said it, I’ll concur.  :-)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/37394</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/37394</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Tue, 11 Dec 2018 15:17:26 GMT</pubDate></item><item><title><![CDATA[Reply to Shift end on wrapped line is one char too short on Tue, 11 Dec 2018 15:10:14 GMT]]></title><description><![CDATA[<p dir="auto"><a href="https://i.imgur.com/ncGFJ9s.gif" rel="nofollow ugc">https://i.imgur.com/ncGFJ9s.gif</a></p>
<p dir="auto">btw: what’s the nodebb syntax to embed this animated gif so that it’s preview is animated ?<br />
i used <code>![alt](https://i.imgur.com/ncGFJ9s.gif)</code></p>
]]></description><link>https://community.notepad-plus-plus.org/post/37392</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/37392</guid><dc:creator><![CDATA[Meta Chuh]]></dc:creator><pubDate>Tue, 11 Dec 2018 15:10:14 GMT</pubDate></item><item><title><![CDATA[Reply to Shift end on wrapped line is one char too short on Tue, 11 Dec 2018 15:07:37 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">if i read correctly in between your lines, you’re right, neither my post nor the documentation is something easy to understand unless you try out everything.<br />
so i followed your lead and did a screen capture video:</p>
<p dir="auto"><img src="https://i.imgur.com/ncGFJ9s.gif" alt="alt" class=" img-fluid img-markdown" /></p>
<p dir="auto">the first shift+end marks down to the penultimate character of the first line of a long, wrapped line without any spaces</p>
<p dir="auto">the second shift+alt marks and select the whole wrapped line block, including the last character</p>
<p dir="auto">btw: i personally don’t see any bug in this behaviour, just the glitch that the first shift+end leaves out one character, but only if the whole wrapped line doesn’t contain any spaces or other wrap point characters, due to how the wrapper itself works.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/37391</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/37391</guid><dc:creator><![CDATA[Meta Chuh]]></dc:creator><pubDate>Tue, 11 Dec 2018 15:07:37 GMT</pubDate></item><item><title><![CDATA[Reply to Shift end on wrapped line is one char too short on Tue, 11 Dec 2018 13:24:13 GMT]]></title><description><![CDATA[<p dir="auto">Good documentation for what <a class="plugin-mentions-user plugin-mentions-a" href="/user/meta-chuh" aria-label="Profile: Meta-Chuh">@<bdi>Meta-Chuh</bdi></a> is talking about (the general proper behavior, <em>NOT</em> the bug) may be found <a href="http://pygtksci.sourceforge.net/reference/keybindings.html" rel="nofollow ugc">here</a>.  The <code>SCI_...</code> names are used directly in Notepad++ (see the <strong>Shortcut Mapper</strong>’s <em>Scintilla commands</em> tab).</p>
]]></description><link>https://community.notepad-plus-plus.org/post/37382</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/37382</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Tue, 11 Dec 2018 13:24:13 GMT</pubDate></item><item><title><![CDATA[Reply to Shift end on wrapped line is one char too short on Tue, 11 Dec 2018 07:21:54 GMT]]></title><description><![CDATA[<p dir="auto">typo:</p>
<p dir="auto">the first press of shift+end marks from the cursor to the end of the first wrapped line including the last character.<br />
(so if it is wrapped into 3 lines, it will mark the first line only, but with the glitch that if it doesn’t have any spaces it will miss the last char)</p>
<p dir="auto">the second press of shift+end should work fine and mark the whole wrapped line.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/37371</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/37371</guid><dc:creator><![CDATA[Meta Chuh]]></dc:creator><pubDate>Tue, 11 Dec 2018 07:21:54 GMT</pubDate></item><item><title><![CDATA[Reply to Shift end on wrapped line is one char too short on Tue, 11 Dec 2018 07:17:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ozbob" aria-label="Profile: OzBob">@<bdi>OzBob</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/terry-r" aria-label="Profile: Terry-R">@<bdi>Terry-R</bdi></a></p>
<p dir="auto">the normal behaviour with longer lines and word wrap enabled should be that you have to press shift+end twice (tested now with 7.5.1 x86 and 7.6 x64)</p>
<p dir="auto">the first press of shift+end marks from the cursor to the end first of the wrapped lines including the last character.<br />
the second shift+end marks to the end of the last char of this single wrapped line (complete line) including the last character (excluding line breaks cr and/or lf)</p>
<p dir="auto"><strong>but</strong> … yes, if the line is a long wrapped line without spaces, the first shift+end misses the last character of the first wrapped line (glitch)<br />
but the second shift+end should mark the wrapped line completely</p>
<p dir="auto">(remark: a third or more presses of shift+end does not matter, it should stay after the last character of the last position of this single wrapped line)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/37370</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/37370</guid><dc:creator><![CDATA[Meta Chuh]]></dc:creator><pubDate>Tue, 11 Dec 2018 07:17:00 GMT</pubDate></item><item><title><![CDATA[Reply to Shift end on wrapped line is one char too short on Tue, 11 Dec 2018 01:59:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ozbob" aria-label="Profile: OzBob">@<bdi>OzBob</bdi></a><br />
I just tested my version (7.5.7 32 bit) and it has the same issue. I’ve never noticed it before, mainly due to not having had the need to do this at all.</p>
<p dir="auto">I see that if the word wrap is not turned on, then shift-end will select the entire line. If word wrap on and showing on 1 row, then OK, but move just 1 character down (by shortening the window width) and it now misses the last character on the portion of the first line showing on the first row, so it now misses 2 characters, thus to my mind a bug.</p>
<p dir="auto">May I suggest you read the FAQ, in particular:<br />
<a href="https://notepad-plus-plus.org/community/topic/15741/faq-desk-feature-request-or-bug-report" rel="nofollow ugc">https://notepad-plus-plus.org/community/topic/15741/faq-desk-feature-request-or-bug-report</a><br />
This posting identifies where it’s best to log this so it is more readily seen (and perhaps actioned). You might even want to peruse the other postings there first in case someone else has already identified it (so no need to post again).</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/37368</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/37368</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Tue, 11 Dec 2018 01:59:44 GMT</pubDate></item></channel></rss>