Java 类com.intellij.openapi.editor.impl.softwrap.SoftWrapsStorage 实例源码

项目:intellij-ce-playground    文件:LogicalToVisualMappingStrategy.java   
LogicalToVisualMappingStrategy(@NotNull LogicalPosition logical, @NotNull EditorEx editor, @NotNull SoftWrapsStorage storage,
                               @NotNull List<CacheEntry> cache)
  throws IllegalStateException
{
  super(editor, storage, cache);
  myTargetLogical = logical;
}
项目:intellij-ce-playground    文件:SoftWrapApplianceManager.java   
public SoftWrapApplianceManager(@NotNull SoftWrapsStorage storage,
                                @NotNull EditorImpl editor,
                                @NotNull SoftWrapPainter painter,
                                CachingSoftWrapDataMapper dataMapper)
{
  myStorage = storage;
  myEditor = editor;
  myPainter = painter;
  myDataMapper = dataMapper;
  myWidthProvider = new DefaultVisibleAreaWidthProvider(editor);
}
项目:intellij-ce-playground    文件:AbstractMappingStrategy.java   
AbstractMappingStrategy(@NotNull EditorEx editor,
                        @NotNull SoftWrapsStorage storage,
                        @NotNull List<CacheEntry> cache)
{
  myEditor = editor;
  myStorage = storage;
  myCache = cache;
}
项目:intellij-ce-playground    文件:CachingSoftWrapDataMapper.java   
public CachingSoftWrapDataMapper(@NotNull EditorEx editor, @NotNull SoftWrapsStorage storage)
{
  myEditor = editor;
  myStorage = storage;
  mySearchKey = new CacheEntry(0, editor);

  myLogicalToOffsetStrategy = new LogicalToOffsetCalculationStrategy(editor, storage, myCache);
  myOffsetToLogicalStrategy = new OffsetToLogicalCalculationStrategy(editor, storage, myCache);
  myVisualToLogicalStrategy = new VisualToLogicalCalculationStrategy(editor, storage, myCache);
}
项目:tools-idea    文件:LogicalToVisualMappingStrategy.java   
LogicalToVisualMappingStrategy(@NotNull LogicalPosition logical, @NotNull Editor editor, @NotNull SoftWrapsStorage storage,
                               @NotNull EditorTextRepresentationHelper representationHelper, @NotNull List<CacheEntry> cache)
  throws IllegalStateException
{
  super(editor, storage, cache, representationHelper);
  myTargetLogical = logical;
}
项目:tools-idea    文件:AbstractMappingStrategy.java   
AbstractMappingStrategy(@NotNull Editor editor,
                        @NotNull SoftWrapsStorage storage,
                        @NotNull List<CacheEntry> cache,
                        @NotNull EditorTextRepresentationHelper representationHelper)
{
  myEditor = editor;
  myStorage = storage;
  myCache = cache;
  myRepresentationHelper = representationHelper;
}
项目:tools-idea    文件:CachingSoftWrapDataMapper.java   
public CachingSoftWrapDataMapper(@NotNull EditorEx editor, @NotNull SoftWrapsStorage storage,
                                 @NotNull EditorTextRepresentationHelper representationHelper)
{
  myEditor = editor;
  myStorage = storage;
  myRepresentationHelper = representationHelper;
  mySearchKey = new CacheEntry(0, editor, representationHelper);

  myOffsetToLogicalStrategy = new OffsetToLogicalCalculationStrategy(editor, storage, myCache, representationHelper);
  myVisualToLogicalStrategy = new VisualToLogicalCalculationStrategy(editor, storage, myCache, representationHelper);
}
项目:consulo    文件:SoftWrapApplianceManager.java   
public SoftWrapApplianceManager(@Nonnull SoftWrapsStorage storage,
                                @Nonnull EditorImpl editor,
                                @Nonnull SoftWrapPainter painter,
                                CachingSoftWrapDataMapper dataMapper)
{
  myStorage = storage;
  myEditor = editor;
  myPainter = painter;
  myDataMapper = dataMapper;
  myWidthProvider = new DefaultVisibleAreaWidthProvider(editor);
  myEditor.getScrollingModel().addVisibleAreaListener(e -> {
    updateAvailableArea();
    updateLastTopLeftCornerOffset();
  });
}
项目:intellij-ce-playground    文件:SoftWrapsDataProvider.java   
@SuppressWarnings({"unchecked"})
public SoftWrapsDataProvider(@NotNull SoftWrapsStorage storage) {
  super(SoftWrapDataProviderKeys.SOFT_WRAP, storage.getSoftWraps());
}
项目:intellij-ce-playground    文件:VisualToLogicalCalculationStrategy.java   
VisualToLogicalCalculationStrategy(@NotNull EditorEx editor, @NotNull SoftWrapsStorage storage, @NotNull List<CacheEntry> cache)
{
  super(editor, storage, cache);
  mySearchKey = new CacheEntry(0, editor);
}
项目:intellij-ce-playground    文件:OffsetToLogicalCalculationStrategy.java   
OffsetToLogicalCalculationStrategy(@NotNull EditorEx editor, @NotNull SoftWrapsStorage storage, @NotNull List<CacheEntry> cache)
{
  super(editor, storage, cache);
}
项目:intellij-ce-playground    文件:LogicalToOffsetCalculationStrategy.java   
LogicalToOffsetCalculationStrategy(@NotNull EditorEx editor, @NotNull SoftWrapsStorage storage, @NotNull List<CacheEntry> cache) {
  super(editor, storage, cache);
}
项目:tools-idea    文件:SoftWrapsDataProvider.java   
@SuppressWarnings({"unchecked"})
public SoftWrapsDataProvider(@NotNull SoftWrapsStorage storage) {
  super(SoftWrapDataProviderKeys.SOFT_WRAP, storage.getSoftWraps());
}
项目:tools-idea    文件:VisualToLogicalCalculationStrategy.java   
VisualToLogicalCalculationStrategy(@NotNull Editor editor, @NotNull SoftWrapsStorage storage, @NotNull List<CacheEntry> cache, 
                                   @NotNull EditorTextRepresentationHelper representationHelper) 
{
  super(editor, storage, cache, representationHelper);
  mySearchKey = new CacheEntry(0, editor, representationHelper);
}
项目:tools-idea    文件:OffsetToLogicalCalculationStrategy.java   
OffsetToLogicalCalculationStrategy(@NotNull Editor editor, @NotNull SoftWrapsStorage storage, @NotNull List<CacheEntry> cache,
                                   @NotNull EditorTextRepresentationHelper representationHelper) 
{
  super(editor, storage, cache, representationHelper);
}
项目:consulo    文件:CachingSoftWrapDataMapper.java   
public CachingSoftWrapDataMapper(@Nonnull EditorEx editor, @Nonnull SoftWrapsStorage storage)
{
  myEditor = editor;
  myStorage = storage;
}