<p></p>
<p>Thanks, that fixed it. Looking pretty good already. I will continue to test this in the coming days and report back.</p>
<p>Two points I noticed instantly:</p>
<ol>
<li>
<p>Highlighting interpolated strings seems inconsistent: Depending on using <code>$(var)</code> vs <code>$var</code> and single quote vs triple quote strings, I see different colors. Example:<br>
<code>"($scanPosX,$scanPosY): (k±Δk)=$(kLaserApprox) $(begin x+5 end)"</code><br>
<code>"""($scanPosX,$scanPosY): (k±Δk)=$(kLaserApprox)  $(begin x+5 end)"""</code></p>
</li>
<li>
<p>Macros confuse the lexer (possibly we have to live with that, since macros can have arbitrary syntax)<br>
Example:</p>
</li>
</ol>
<pre><code>Base.@kwdef struct A
    a::Float64 = 1E-19 
    b::Float64 = 1E-22 
end
</code></pre>
<p>shows that the struct contains Symbols <code>E</code></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/pull/2584#issuecomment-751420753">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ3KKF3TRR4HQGETZIDSW2RU5ANCNFSM4RIBU6VA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ43OQNG5D7IV4Y77P3SW2RU5A5CNFSM4RIBU6VKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFTE4KUI.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/2584#issuecomment-751420753",
"url": "https://github.com/geany/geany/pull/2584#issuecomment-751420753",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>