<p></p>
<p><b>@jeremiaskleer</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/geany/geany/pull/2943#discussion_r747621614">src/editor.c</a>:</p>
<pre style='color:#555'>>      }
 
        if (get_project_pref(auto_continue_multiline))
        {       /* " * " auto completion in multiline C/C++/D/Java comments */
-               auto_multiline(editor, line);
+               if (auto_multiline(editor, line, FALSE) && doHandleBracket) {
</pre>
<p dir="auto">The output of<br>
/** int main() {<br>
with auto-close enabled ( == pressing enter-key on keyboard) in an c++ document is</p>
<p dir="auto">with the change ("|" shows the cursor afterwards:</p>
<pre><code>/**
 * int main() {
 *     |
 * }
</code></pre>
<p dir="auto">without:</p>
<pre><code>/**
 * int main() {
|*
}
</code></pre>
<p dir="auto">and in original Geany 1.37 on Windows:</p>
<pre><code>/**
 * int main() {
 *|})

</code></pre>

<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#discussion_r747621614">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ7OANFPDTVZUPBJJFLULPRZZANCNFSM5GBHXS3Q">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/AAIOWJ7CHRUR7MQODWYQ67TULPRZZA5CNFSM5GBHXS32YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOF7VXISQ.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#discussion_r747621614",
"url": "https://github.com/geany/geany/pull/2943#discussion_r747621614",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>