Skip to content

Commit ab7b1d5

Browse files
committed
Merge branch '2016.3' into 2017.1
# Conflicts: # gradle.properties # readme.md # src/main/resources/META-INF/plugin.xml
2 parents d6d5a03 + 49d70bb commit ab7b1d5

File tree

4 files changed

+15
-9
lines changed

4 files changed

+15
-9
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ javaVersion = 1.8
1313
kotlinVersion = 1.1.1
1414

1515
group = com.demonwav.minecraft-dev
16-
version = 2017.1-0.6.1
16+
version = 2017.1-0.6.2
1717
downloadIdeaSources = true
1818

1919
org.gradle.script.lang.kotlin.accessors.auto=true

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Minecraft Development for IntelliJ [![forthebadge](http://forthebadge.com/images
99
|**CircleCI**|[![Travis Build Status](https://img.shields.io/circleci/project/github/minecraft-dev/MinecraftDev/2016.3.svg?style=flat-square)](https://circleci.com/gh/minecraft-dev/MinecraftDev)|
1010
|**Travis** |[![CircleCI Build Status](https://img.shields.io/travis/minecraft-dev/MinecraftDev/2016.3.svg?style=flat-square)](https://travis-ci.org/minecraft-dev/MinecraftDev/)|
1111

12-
Info and Documentation [![Current Release](https://img.shields.io/badge/release-2017.1--0.6.1-orange.svg?style=flat-square)](https://plugins.jetbrains.com/plugin/8327)
12+
Info and Documentation [![Current Release](https://img.shields.io/badge/release-2017.1--0.6.2-orange.svg?style=flat-square)](https://plugins.jetbrains.com/plugin/8327)
1313
----------------------
1414

1515
Visit [https://minecraftdev.org](https://minecraftdev.org) for information about the project, change logs, features, FAQs, and chat.

src/main/kotlin/com/demonwav/mcdev/platform/mcp/at/AtAnnotator.kt

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@ import com.intellij.lang.annotation.Annotator
2323
import com.intellij.lang.annotation.HighlightSeverity
2424
import com.intellij.openapi.editor.colors.TextAttributesKey
2525
import com.intellij.openapi.editor.markup.EffectType
26+
import com.intellij.openapi.editor.markup.TextAttributes
2627
import com.intellij.openapi.module.ModuleUtilCore
2728
import com.intellij.psi.PsiElement
29+
import java.awt.Font
2830

2931
class AtAnnotator : Annotator {
3032

@@ -78,11 +80,15 @@ class AtAnnotator : Annotator {
7880
}
7981

8082
companion object {
81-
val key = TextAttributesKey.createTextAttributesKey("AT_UNDERLINE")
82-
83-
init {
84-
key.defaultAttributes.effectType = EffectType.LINE_UNDERSCORE
85-
key.defaultAttributes.effectColor = AtSyntaxHighlighter.ELEMENT_NAME.defaultAttributes.foregroundColor
86-
}
83+
val key = TextAttributesKey.createTextAttributesKey(
84+
"AT_UNDERLINE",
85+
TextAttributes(
86+
null,
87+
null,
88+
AtSyntaxHighlighter.ELEMENT_NAME.defaultAttributes.foregroundColor,
89+
EffectType.LINE_UNDERSCORE,
90+
Font.PLAIN
91+
)
92+
)
8793
}
8894
}

src/main/resources/META-INF/plugin.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
Alpha release, may break. More features to come. Please report issues to
2929
<a href="https://github.com/minecraft-dev/MinecraftDev/issues">the issue tracker</a>!
3030
<p>
31-
v. 2017.1-0.6.1
31+
v. 2017.1-0.6.2
3232
</div>
3333
]]>
3434
</change-notes>

0 commit comments

Comments
 (0)