diff --git a/platform/code-style-api/src/com/intellij/openapi/editor/LanguageLineWrapPositionStrategy.java b/platform/code-style-api/src/com/intellij/openapi/editor/LanguageLineWrapPositionStrategy.java index 83b711524eda..0601e7dd7886 100644 --- a/platform/code-style-api/src/com/intellij/openapi/editor/LanguageLineWrapPositionStrategy.java +++ b/platform/code-style-api/src/com/intellij/openapi/editor/LanguageLineWrapPositionStrategy.java @@ -13,6 +13,12 @@ import org.jetbrains.annotations.NotNull; /** * Exposes {@link LineWrapPositionStrategy} implementations to their clients. + *
+ * Using this extension, you can specify the line wrapping strategy only for those editors + * that are bound to some PSI file with the language. + * If you need to specify the strategy for the editor that is not bound to the PSI file, + * please use {@link com.intellij.openapi.editor.impl.softwrap.mapping.SoftWrapApplianceManager#setLineWrapPositionStrategy(LineWrapPositionStrategy) SoftWrapApplianceManager#setLineWrapPositionStrategy} + *
*/ public final class LanguageLineWrapPositionStrategy extends LanguageExtension