IDEA plugin: fixed highlighting for objects.

This commit is contained in:
Zalim Bashorov
2014-07-10 13:12:46 +04:00
parent 2ee818f784
commit 2947963e67
6 changed files with 12 additions and 8 deletions
+4 -3
View File
@@ -4,8 +4,9 @@ object <info textAttributesKey="KOTLIN_CLASS">O</info> {
fun <info textAttributesKey="KOTLIN_FUNCTION_DECLARATION">foo</info>() = 42
}
fun <info textAttributesKey="KOTLIN_FUNCTION_DECLARATION">testing</info>() {
<info textAttributesKey="KOTLIN_INSTANCE_PROPERTY">O</info>.<info textAttributesKey="KOTLIN_FUNCTION_CALL">foo</info>()
val <info textAttributesKey="KOTLIN_LOCAL_VARIABLE">o</info> = <info textAttributesKey="KOTLIN_INSTANCE_PROPERTY">O</info>
fun <info textAttributesKey="KOTLIN_FUNCTION_DECLARATION">testing</info>(): <info textAttributesKey="KOTLIN_OBJECT">O</info> {
<info textAttributesKey="KOTLIN_OBJECT">O</info>.<info textAttributesKey="KOTLIN_FUNCTION_CALL">foo</info>()
val <info textAttributesKey="KOTLIN_LOCAL_VARIABLE">o</info> = <info textAttributesKey="KOTLIN_OBJECT">O</info>
<info textAttributesKey="KOTLIN_LOCAL_VARIABLE">o</info>.<info textAttributesKey="KOTLIN_FUNCTION_CALL">foo</info>()
return <info textAttributesKey="KOTLIN_OBJECT">O</info>
}