diff --git a/platform/platform-impl/src/com/intellij/openapi/fileEditor/impl/text/TextEditorCustomizer.kt b/platform/platform-impl/src/com/intellij/openapi/fileEditor/impl/text/TextEditorCustomizer.kt index fdc347be32c5..e64ceec9c6fd 100644 --- a/platform/platform-impl/src/com/intellij/openapi/fileEditor/impl/text/TextEditorCustomizer.kt +++ b/platform/platform-impl/src/com/intellij/openapi/fileEditor/impl/text/TextEditorCustomizer.kt @@ -1,15 +1,18 @@ -// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. -package com.intellij.openapi.fileEditor.impl.text; +// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. +package com.intellij.openapi.fileEditor.impl.text -import com.intellij.openapi.extensions.ExtensionPointName; -import com.intellij.openapi.fileEditor.TextEditor; -import org.jetbrains.annotations.NotNull; - -public interface TextEditorCustomizer { - ExtensionPointName EP = new ExtensionPointName<>("com.intellij.textEditorCustomizer"); +import com.intellij.openapi.extensions.ExtensionPointName +import com.intellij.openapi.fileEditor.TextEditor +import org.jetbrains.annotations.ApiStatus +@ApiStatus.Internal +interface TextEditorCustomizer { /** * Use to customize editor after it was created */ - void customize(@NotNull TextEditor textEditor); + fun customize(textEditor: TextEditor) + + companion object { + val EP: ExtensionPointName = ExtensionPointName("com.intellij.textEditorCustomizer") + } } \ No newline at end of file