<p></p>
<p>Since you said in C1 that you wanted to fold at a "node" it will have to be a fold point, thats where folding happens.</p>
<p>Scintilla allows fold points to be set randomly by the application, and by the lexers, but since lexers will overwrite random fold points each time they run it is probably impossible to have both at the same time.  I'm not sure Geany allows lexer folding to be turned off and anyway it hasn't anything to define fold points in other places.</p>

<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/issues/2920#issuecomment-938287439">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJZMDDNIOM7HZ6EUA53UFZJDLANCNFSM5FSQEJ4A">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/AAIOWJZKK2QUZDZADCT6U5TUFZJDLA5CNFSM5FSQEJ4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOG7WSCTY.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/issues/2920#issuecomment-938287439",
"url": "https://github.com/geany/geany/issues/2920#issuecomment-938287439",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>