<p>The Geany automatic closing of typed ", ', (, [ and { isn't working very well.<br>
For e.g. typing</p>
<div class="snippet-clipboard-content position-relative overflow-auto" data-snippet-clipboard-copy-content="void main() {
}
"><pre><code>void main() {
}
</code></pre></div>
<p>results in</p>
<div class="snippet-clipboard-content position-relative overflow-auto" data-snippet-clipboard-copy-content="void main() {
    })
"><pre><code>void main() {
    })
</code></pre></div>
<p>Above the automatically inserted closing parenthesis stays after the cursor when I type the closing parenthesis and so it is moving while typing at the very end, after the curly braces.</p>
<p>Or typing the following, the automatically inserted closing double quote moves with the cursor.<br>
<code>std::string d = "asdf";</code><br>
results in<br>
<code>std::string d = "asdf";""</code></p>
<p>This is only circumventable with using the arrow keys or clicking with the mouse after the automatically inserted closing character.</p>
<p>Furthermore automatically inserting isn't working if Geany somehow finds a closing character somewhere else, e.g. inside the above example curly braces <code>void main() {}</code> typing:<br>
<code>if() {</code><br>
doesn't add an closing brace as it find the closing from the <code>main</code>.</p>
<p>As I love to use Geany in my everday work this would be a very valuable improvement. So I wouldn't need need to compile my own better Geany every now and then.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/geany/geany/pull/2943'>https://github.com/geany/geany/pull/2943</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/geany/geany/pull/2943/commits/d246870dbb081a6888f0a7a7dd8d3c1305567da3">Consume closing brackets, braces, parenthesis, single and double quotes</a></li>
  <li><a href="https://github.com/geany/geany/pull/2943/commits/b3d0cdd1de364c253d18a36bb225a928feb10eff">Nice on-new-line bracket handling</a></li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2943/files#diff-6d20bb0474d5258b5e4c03fbf4f265daa65c061e3acc6297b3b5b7d07e9a5e22">doc/geany.txt</a>
    (5)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2943/files#diff-3fe5ce523684a7fca311fab0d09542552fbe3a28ddaa20ebc5a65c1904bc5e02">src/editor.c</a>
    (172)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2943/files#diff-250599d8188c89a855e09814adc59505f6e5d31cc234a9e085f706f3b314644b">src/editor.h</a>
    (1)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2943/files#diff-cf7e999119814341b59fd3b5a53ecc46271cb20152349ae0a494e77958d2d5f6">src/sciwrappers.c</a>
    (10)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2943/files#diff-56ae82f66618f1c432ca3bb896373541d46a5867bfd3524c8b36da3cdc502419">src/sciwrappers.h</a>
    (3)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/geany/geany/pull/2943.patch'>https://github.com/geany/geany/pull/2943.patch</a></li>
  <li><a href='https://github.com/geany/geany/pull/2943.diff'>https://github.com/geany/geany/pull/2943.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/2943">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ5GJXRT63M4HKDNJKTUG7B3ZANCNFSM5GBHXS3Q">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/AAIOWJ2S5JNO4AHYVI6BUN3UG7B3ZA5CNFSM5GBHXS32YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4PJYTGPA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2943",
"url": "https://github.com/geany/geany/pull/2943",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>