<p></p>
<p>It's debatable and I think you can make a case either way.  If you think of it as commenting out a logical line, then of course the wrapped logical line should be commented, but if you think of it as a physical line then only the physical line should be commented.  Consider this:</p>
<pre><code>[ "$int" = "$highlight" ] && zcurses attr "$win" +reverse\
                          || zcurses attr "$win" -reverse
</code></pre>
<p>I break the line for pleasing visuals.  Ah! But I have an improvement:</p>
<pre><code># Edit: use 'var' not 'int':
#[ "$int" = "$highlight" ] && zcurses attr "$win" +reverse\
[ "$var" = "$highlight" ] && zcurses attr "$win" +reverse\
                          || zcurses attr "$win" -reverse
</code></pre>
<p>... now, just hacking along like we do, I'm saving the original and then editing the first line and I'm not expecting that this is going to turn the whole code into a comment, am I?</p>
<p>You can argue it either way, but the FACT is that zsh, bash and sh (at least) all have the 'physical line' point of view, so the highlighting should follow the facts not the theory.</p>
<p>Seems weird that this wouldn't have been noticed before tho, so maybe Scintilla doesn't care.</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/2715#issuecomment-752750025">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ23YKL5ZTM2MBMRPT3SXOFGTANCNFSM4VNPPFKQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ5UFHY5DKB57D3CWZDSXOFGTA5CNFSM4VNPPFK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFTPA3SI.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/2715#issuecomment-752750025",
"url": "https://github.com/geany/geany/issues/2715#issuecomment-752750025",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>