<p>For a fluent coding I love to not change my hand position to use the<br>
arrow keys!<br>
I realy like auto-closing.</p>
<p>If I activate the auto closing brackets, braces, parenthesis  and<br>
quotes feature, the closing characters are inserted, but to continue after<br>
these, the arrow keys are necessary.</p>
<p>The modification I made: if autoclosing AND consuming is activated in<br>
options, if a closing character is typed and the following character<br>
matches this, not both characters stay - one deleted - curr pos<br>
afterwards.</p>
<p>Example: the | marks the curr position:</p>
<p>"|"<br>
"hallo|"<br>
[Then the " is hit]<br>
"hallo"|</p>
<p>The " is reachable without changing hand pos. Same for the other<br>
"autoclosers".</p>
<p>I saw this in other IDEs and I want it in my Geany.</p>
<p>I don't know about internationatlization, so this is an incomplete<br>
feature.</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/2122'>https://github.com/geany/geany/pull/2122</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Consume closing brackets, braces, parenthesis, single and double quotes</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2122/files#diff-0">data/geany.glade</a>
    (239)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2122/files#diff-1">scintilla/include/Scintilla.h</a>
    (1)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2122/files#diff-2">scintilla/src/Editor.cxx</a>
    (5)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2122/files#diff-3">src/editor.c</a>
    (67)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2122/files#diff-4">src/editor.h</a>
    (1)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2122/files#diff-5">src/keyfile.c</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2122/files#diff-6">src/prefs.c</a>
    (43)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2122/files#diff-7">src/sciwrappers.c</a>
    (9)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2122/files#diff-8">src/sciwrappers.h</a>
    (3)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/geany/geany/pull/2122.patch'>https://github.com/geany/geany/pull/2122.patch</a></li>
  <li><a href='https://github.com/geany/geany/pull/2122.diff'>https://github.com/geany/geany/pull/2122.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/2122">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJyAEXeN0YX-CbQUOXXip928Jce2vks5vfzEagaJpZM4cpiw3">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJ7fGiauXyQF-M0Bzm2eBvxQNMkVhks5vfzEagaJpZM4cpiw3.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Consume closing brackets, braces, parenthesis, single and double quotes (#2122)"}],"action":{"name":"View Pull Request","url":"https://github.com/geany/geany/pull/2122"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2122",
"url": "https://github.com/geany/geany/pull/2122",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>