diff --git a/platform/platform-impl/src/com/intellij/openapi/editor/impl/SoftWrapModelImpl.java b/platform/platform-impl/src/com/intellij/openapi/editor/impl/SoftWrapModelImpl.java index 5399397650c7..efcbb4cdc226 100644 --- a/platform/platform-impl/src/com/intellij/openapi/editor/impl/SoftWrapModelImpl.java +++ b/platform/platform-impl/src/com/intellij/openapi/editor/impl/SoftWrapModelImpl.java @@ -64,7 +64,7 @@ public class SoftWrapModelImpl implements SoftWrapModelEx, PrioritizedDocumentLi private final FoldProcessingEndTask myFoldProcessingEndTask = new FoldProcessingEndTask(); private final List myDocumentListeners = new ArrayList(); - private final List myFoldListeners = new ArrayList(); + private final List myFoldListeners = new ArrayList(); private final SoftWrapFoldBasedApplianceStrategy myFoldBasedApplianceStrategy; private final CachingSoftWrapDataMapper myDataMapper; @@ -220,18 +220,15 @@ public class SoftWrapModelImpl implements SoftWrapModelEx, PrioritizedDocumentLi * Callback method that is expected to be invoked before editor painting. *

* It's primary purpose is to recalculate soft wraps at least for the painted area if necessary. - * - * @param clip clip that is being painted - * @param startOffset start offset of the editor's document from which repainting starts */ - public void registerSoftWrapsIfNecessary(@NotNull Rectangle clip, int startOffset) { + public void registerSoftWrapsIfNecessary() { if (!isSoftWrappingEnabled()) { return; } myActive++; try { - myApplianceManager.registerSoftWrapIfNecessary(clip, startOffset); + myApplianceManager.registerSoftWrapIfNecessary(); } finally { myActive--;