Minor changes on code review

This commit is contained in:
Valentin Kipyatkov
2016-03-30 15:51:54 +03:00
parent 99c232df84
commit 97311b56fe
4 changed files with 91 additions and 109 deletions
@@ -67,8 +67,6 @@ internal class BeforeResolveHighlightingVisitor(private val holder: AnnotationHo
}
override fun visitArgument(argument: KtValueArgument) {
super.visitArgument(argument)
val argumentName = argument.getArgumentName() ?: return
val eq = argument.equalsToken ?: return
holder.createInfoAnnotation(TextRange(argumentName.startOffset, eq.endOffset), null).textAttributes = KotlinHighlightingColors.NAMED_ARGUMENT