From bb49bfcea91496353d2876d9026c7774ab680abb Mon Sep 17 00:00:00 2001 From: Denis Zharkov Date: Mon, 15 Jun 2015 09:58:05 +0300 Subject: [PATCH] Colors & Fonts page: Get rid of obsolete syntax and add labels' highlighting #KT-8059 Fixed --- .../kotlin/idea/highlighter/JetColorSettingsPage.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/idea/src/org/jetbrains/kotlin/idea/highlighter/JetColorSettingsPage.java b/idea/src/org/jetbrains/kotlin/idea/highlighter/JetColorSettingsPage.java index d4488e4d44a..0969b6e4983 100644 --- a/idea/src/org/jetbrains/kotlin/idea/highlighter/JetColorSettingsPage.java +++ b/idea/src/org/jetbrains/kotlin/idea/highlighter/JetColorSettingsPage.java @@ -56,7 +56,7 @@ public class JetColorSettingsPage implements ColorSettingsPage { " * Doc comment here for `SomeClass`\n" + " * @see Iterator#next()\n" + " */\n" + - "[Deprecated]\n" + + "@deprecated(\"Deprecated class\")\n" + "public class MyClass<out T : Iterable<T>>(var prop1 : Int) {\n" + " fun foo(nullable : String?, r : Runnable, f : () -> Int, fl : FunctionLike, dyn: dynamic) {\n" + " println(\"length\\nis ${nullable?.length} \\e\")\n" + @@ -65,8 +65,8 @@ public class JetColorSettingsPage implements ColorSettingsPage { " val myFun = { -> \"\" };\n" + " var ref = ints.size()\n" + " if (!ints.empty) {\n" + - " ints.forEach @lit {\n" + - " if (it == null) return @lit\n" + + " ints.forEach {\n" + + " if (it == null) return\n" + " println(it + ref)\n" + " }\n" + " }\n" +