<p></p>
<p dir="auto">Original code for <code>glspi_scintilla()</code> has:</p>
<ul dir="auto">
<li>some check for when missing arguments are allowed</li>
<li>switch for wparam</li>
<li>near-identical switch for lparam</li>
<li>switch for result</li>
</ul>
<p dir="auto">Changes:</p>
<ul dir="auto">
<li>Removed extraneous nested parentheses from the parameter check for missing arguments.</li>
<li>Added switch to ignore some lexer messages because lexilla is now separate from scintilla.  It was <a href="https://github.com/geany/geany-plugins/pull/1123#issuecomment-947310520" data-hovercard-type="pull_request" data-hovercard-url="/geany/geany-plugins/pull/1123/hovercard">pointed out</a> that messing with the lexer could cause problems elsewhere in Geany.</li>
<li>Combined the near identical argument-handling switch statements into a static function.  The number of scintilla types went from ~10 to ~70.  Keeping the switches separate could lead to potentially difficult to track problems if they go out of sync.</li>
<li>Added new types to the result switch.  Basically treating most types as int.  This can be shuffled around later, as needed.</li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/geany/geany-plugins/pull/1123#issuecomment-1003777174">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ6HMTK4EC3EDJEVEBTUUC6XXANCNFSM5GKFLYSA">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>.
<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAIOWJYOLMEARG45IFBJGKDUUC6XXA5CNFSM5GKFLYSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHPKGZFQ.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><geany/geany-plugins/pull/1123/c1003777174</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany-plugins/pull/1123#issuecomment-1003777174",
"url": "https://github.com/geany/geany-plugins/pull/1123#issuecomment-1003777174",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>