CPP-34359: Remove empty DEFAULT_PARAMETER key

Default theme's DEFAULT_PARAMETER should fallback to IDENTIFIER, just like in Darcula.
This fixes issues where an external highlighter returns a DEFAULT_PARAMETER highlighting, but a wrong highlighting is applied instead. This happens because looking up the key in the scheme finds the empty DEFAULT_PARAMETER value with null colors, thus we fallback to the other highlighter's colors, which may be incorrect.

GitOrigin-RevId: ea4fb9fccf4f164c677d1eb5ce09638c0c402b49
This commit is contained in:
Daniel Below
2023-08-18 14:12:30 +02:00
committed by intellij-monorepo-bot
parent 68ceeb60bb
commit 87d76c25d1
77 changed files with 111 additions and 114 deletions

View File

@@ -1 +1 @@
<html><body><div class="definition"><pre>Parameter <b>name</b> of <a href="psi_element://#func#ParameterDescriptionFromInitDocstringOverClassDocstringGoogle.MyClass.__init__">ParameterDescriptionFromInitDocstringOverClassDocstringGoogle.MyClass.__init__</a><br/><span style="">name</span><span style="">: </span><span style="color:#000000;">Any</span></pre></div><div class="content">parameter doc example from init</div></body></html>
<html><body><div class="definition"><pre>Parameter <b>name</b> of <a href="psi_element://#func#ParameterDescriptionFromInitDocstringOverClassDocstringGoogle.MyClass.__init__">ParameterDescriptionFromInitDocstringOverClassDocstringGoogle.MyClass.__init__</a><br/><span style="color:#000000;">name</span><span style="">: </span><span style="color:#000000;">Any</span></pre></div><div class="content">parameter doc example from init</div></body></html>