mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
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
4 lines
1.5 KiB
HTML
4 lines
1.5 KiB
HTML
<html><body><div class="bottom"><icon src="AllIcons.Nodes.Class"/> <code><a href="psi_element://#typename#ArgsDescriptionFromClassDocstringGoogle.Parent">ArgsDescriptionFromClassDocstringGoogle.Parent</a></code></div><div class="definition"><pre><span style="color:#000080;font-weight:bold;">def </span><span style="color:#b200b2;">__init__</span><span style="">(</span><span style="color:#94558d;">self</span><span style="">,</span>
|
|
<span style="color:#000000;">p1</span><span style="">: </span><span style="color:#000000;">Any</span><span style="">,</span>
|
|
<span style="color:#000000;">p2</span><span style="">: </span><span style="color:#000000;">Any</span><span style="">,</span>
|
|
<span style="color:#000000;">**kwargs</span><span style="">: </span><span style="color:#000000;">Any</span><span style="">)</span> -> <span style="color:#000000;"><span style="color:#000080;font-weight:bold;">None</span></span></pre></div><div class="content">Unittest placeholder</div><table class="sections"><tr><td class="section" valign="top">Params:</td><td valign="top"><p><code>p1</code> – p1 doc from class</p><p><code>p2</code> – p2 doc from class</p></td></tr><tr><td class="section" valign="top">Keyword args:</td><td valign="top"><p><code>k</code> – k doc from class</p></td></tr><tr><td class="section" valign="top">Copied from:</td><td valign="top"><code><a href="psi_element://#typename#ArgsDescriptionFromClassDocstringGoogle.Parent">Parent</a></code></td></tr></table></body></html> |