IDEA-58070 Soft wrap: Improve soft wraps performance
authorDenis Zhdanov <Denis.Zhdanov@jetbrains.com>
Thu, 9 Sep 2010 07:24:15 +0000 (11:24 +0400)
committerDenis Zhdanov <Denis.Zhdanov@jetbrains.com>
Mon, 13 Sep 2010 05:51:38 +0000 (09:51 +0400)
commit987ac744b4e3d8eb777755385a5ce0fb3b03e944
tree339293b9c4a6130e391864c90a452fc479c8f174
parent803e0885f17da1a4eb9b9b4775ac3d8c81b29ef6
IDEA-58070 Soft wrap: Improve soft wraps performance

1. Added support for fold regions addition, expansion, collapsing;
2. Refactoring -> moved a lot of inner classes to top level;
19 files changed:
platform/platform-impl/src/com/intellij/openapi/editor/ex/FoldingListener.java
platform/platform-impl/src/com/intellij/openapi/editor/ex/util/EditorUtil.java
platform/platform-impl/src/com/intellij/openapi/editor/impl/EditorImpl.java
platform/platform-impl/src/com/intellij/openapi/editor/impl/FoldingModelImpl.java
platform/platform-impl/src/com/intellij/openapi/editor/impl/softwrap/SoftWrapsStorage.java
platform/platform-impl/src/com/intellij/openapi/editor/impl/softwrap/mapping/AbstractMappingStrategy.java [new file with mode: 0644]
platform/platform-impl/src/com/intellij/openapi/editor/impl/softwrap/mapping/CacheEntry.java [new file with mode: 0644]
platform/platform-impl/src/com/intellij/openapi/editor/impl/softwrap/mapping/CachingSoftWrapDataMapper.java
platform/platform-impl/src/com/intellij/openapi/editor/impl/softwrap/mapping/FoldingData.java [new file with mode: 0644]
platform/platform-impl/src/com/intellij/openapi/editor/impl/softwrap/mapping/LogicalToVisualMappingStrategy.java [new file with mode: 0644]
platform/platform-impl/src/com/intellij/openapi/editor/impl/softwrap/mapping/MappingStrategy.java [new file with mode: 0644]
platform/platform-impl/src/com/intellij/openapi/editor/impl/softwrap/mapping/MappingUtil.java [new file with mode: 0644]
platform/platform-impl/src/com/intellij/openapi/editor/impl/softwrap/mapping/OffsetToLogicalCalculationStrategy.java [new file with mode: 0644]
platform/platform-impl/src/com/intellij/openapi/editor/impl/softwrap/mapping/SoftWrapApplianceManager.java
platform/platform-impl/src/com/intellij/openapi/editor/impl/softwrap/mapping/SoftWrapAwareDocumentParsingListener.java
platform/platform-impl/src/com/intellij/openapi/editor/impl/softwrap/mapping/TabData.java [new file with mode: 0644]
platform/platform-impl/src/com/intellij/openapi/editor/impl/softwrap/mapping/TabulationDataProvider.java [new file with mode: 0644]
platform/platform-impl/src/com/intellij/openapi/editor/impl/softwrap/mapping/VisualToLogicalCalculationStrategy.java [new file with mode: 0644]
platform/platform-impl/testSrc/com/intellij/openapi/editor/impl/softwrap/mapping/CachingSoftWrapDataMapperTest.java