mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +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
10 lines
1.7 KiB
Kotlin
10 lines
1.7 KiB
Kotlin
fun ktTest() {
|
|
Test.<caret>foo("SomeTest")
|
|
}
|
|
|
|
//INFO: <div class="bottom"><icon src="AllIcons.Nodes.Class"> <a href="psi_element://Test"><code><span style="color:#000000;">Test</span></code></a></div><div class='definition'><pre><i><span style="color:#808000;">@</span><a href="psi_element://org.jetbrains.annotations.Contract"><code><span style="color:#808000;">Contract</span></code></a><span style="">(</span><span style="">value</span><span style=""> = </span><span style="color:#008000;font-weight:bold;">"_ -> new"</span><span style="">, </span><span style="">pure</span><span style=""> = </span><span style="color:#000080;font-weight:bold;">true</span><span style="">)</span></i><sup><font color="808080" size="3"><i>i</i></font></sup><a href="inferred.annotations"><icon src="AllIcons.Ide.External_link_arrow"></a>
|
|
//INFO: <i><span style="color:#808000;">@</span><a href="psi_element://org.jetbrains.annotations.NotNull"><code><span style="color:#808000;">NotNull</span></code></a></i><sup><font color="808080" size="3"><i>i</i></font></sup><a href="inferred.annotations"><icon src="AllIcons.Ide.External_link_arrow"></a>
|
|
//INFO: <span style="color:#000080;font-weight:bold;">public static</span> <a href="psi_element://java.lang.Object"><code><span style="color:#000000;">Object</span></code></a><span style="">[]</span> <span style="color:#000000;">foo</span><span style="">(</span><br> <a href="psi_element://java.lang.String"><code><span style="color:#000000;">String</span></code></a> <span style="color:#000000;">param</span><br><span style="">)</span></pre></div><div class='content'>
|
|
//INFO: Java Method
|
|
//INFO: </div><table class='sections'></table>
|