<?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[Control+B does not work correctly. Why?]]></title><description><![CDATA[<p dir="auto">I am a new user with Notepad++, and I have a vhd file and following statement:</p>
<pre><code>Accept_O(0) &lt;= D0_I and ((not D1_I_First and (not A0_Valid or A0_Go)) 
	or (D1_I_First and (not A1_Valid or A1_Go)));
</code></pre>
<p dir="auto">When I press Ctrl+B, in forward direction it works correctly, but in backward direction, it sometimes work, sometimes doesn’t for two continuous “))”. If it is “) )” with a space added between the  two continuous “))”, it always works.</p>
<p dir="auto">I position the cursor on a ‘(’, press Ctrl+B twice, the cursor should return to the starting place, but sometimes it does not work.</p>
<p dir="auto">Very troublesome!</p>
<p dir="auto">Weng</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/17676/control-b-does-not-work-correctly-why</link><generator>RSS for Node</generator><lastBuildDate>Sat, 16 May 2026 17:04:17 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/17676.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 22 May 2019 05:19:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Control+B does not work correctly. Why? on Wed, 22 May 2019 17:21:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/michael-vincent" aria-label="Profile: Michael-Vincent">@<bdi>Michael-Vincent</bdi></a></p>
<p dir="auto">IMO that isn’t a great solution either because, when you repeat the operation, without first moving the caret manually, you should again end up where you start.  And in the case of your NppExec script, and the OP’s original text, that doesn’t happen when you start with your insert caret just to the left of <code>((not</code>.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/43709</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/43709</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Wed, 22 May 2019 17:21:49 GMT</pubDate></item><item><title><![CDATA[Reply to Control+B does not work correctly. Why? on Wed, 22 May 2019 17:00:25 GMT]]></title><description><![CDATA[<p dir="auto">In fact, you could create this NppExec script and map it to Ctrl+B - removing the current Ctrl+B shortcut:</p>
<p dir="auto">NPP_CONSOLE keep<br />
SCI_SENDMSG SCI_GETCURRENTPOS<br />
SCI_SENDMSG SCI_BRACEMATCH $(MSG_RESULT)<br />
SET POSITION ~ $(MSG_RESULT) + 2<br />
SCI_SENDMSG SCI_GOTOPOS $(POSITION)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/43705</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/43705</guid><dc:creator><![CDATA[Michael Vincent]]></dc:creator><pubDate>Wed, 22 May 2019 17:00:25 GMT</pubDate></item><item><title><![CDATA[Reply to Control+B does not work correctly. Why? on Wed, 22 May 2019 16:43:08 GMT]]></title><description><![CDATA[<p dir="auto">I did some testing - seems like the simple fix is to advance one space after Ctrl+B to put the cursor on the “outside” of the closing parenthesis, brace, bracket.  I wonder if that could be done by remapping Ctrl+B to a PythonScript or LuaScript?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/43703</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/43703</guid><dc:creator><![CDATA[Michael Vincent]]></dc:creator><pubDate>Wed, 22 May 2019 16:43:08 GMT</pubDate></item><item><title><![CDATA[Reply to Control+B does not work correctly. Why? on Wed, 22 May 2019 09:25:33 GMT]]></title><description><![CDATA[<p dir="auto">welcome to the notepad++ community, <a class="plugin-mentions-user plugin-mentions-a" href="/user/w-tx" aria-label="Profile: W-TX">@<bdi>W-TX</bdi></a></p>
<p dir="auto">this issue exists in older and newer versions of notepad++.</p>
<p dir="auto">currently the only way i know, to get <code>ctrl+b</code> (<code>go to matching brace</code>) working on your given example, is by installing the textfx plugin (officially only available for 32 bit) as it includes a fix for this problem.</p>
<p dir="auto">without textfx, notepad++ is currently not able to correctly jump to the matching closing bracket on consecutive multiple brackets.</p>
<p dir="auto">best regards.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/43679</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/43679</guid><dc:creator><![CDATA[Meta Chuh]]></dc:creator><pubDate>Wed, 22 May 2019 09:25:33 GMT</pubDate></item></channel></rss>