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

项目: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);
}
项目: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    文件:SoftWrapApplianceManager.java   
@TestOnly
public void setSoftWrapPainter(SoftWrapPainter painter) {
  myPainter = painter;
}
项目:intellij-ce-playground    文件:SoftWrapAwareVisualSizeManager.java   
public SoftWrapAwareVisualSizeManager(@NotNull SoftWrapPainter painter) {
  myPainter = painter;
}
项目:intellij-ce-playground    文件:SoftWrapAwareVisualSizeManager.java   
@TestOnly
public void setSoftWrapPainter(SoftWrapPainter painter) {
  myPainter = painter;
}
项目:tools-idea    文件:SoftWrapAwareVisualSizeManager.java   
public SoftWrapAwareVisualSizeManager(@NotNull SoftWrapPainter painter) {
  myPainter = painter;
}
项目:consulo    文件:SoftWrapApplianceManager.java   
@TestOnly
public void setSoftWrapPainter(SoftWrapPainter painter) {
  myPainter = painter;
}