@Override
  public boolean isSoftWrappingEnabled() {
    ThreadingAssertions.assertEventDispatchThread();
    return myUseSoftWraps && !editor.isPurePaintingMode();
  }
@Override
  public boolean isSoftWrappingEnabled()