private int visToLogWithInlays(int logLine, int remainingVisColumns, boolean[] leansForward) {
    if (remainingVisColumns == 0) return 0;
    int inlayCount = myView.getEditor().getInlayModel().getAfterLineEndElementsForLogicalLine(logLine).size();
    if (inlayCount == 0) return remainingVisColumns;
    if (remainingVisColumns < inlayCount + 1) {
      leansForward[0] = false;
      return 1;
    }
    if (remainingVisColumns == inlayCount + 1) {
      leansForward[0] = true;
    }
    return remainingVisColumns - inlayCount;
  }
private int visToLogWithInlays(int logLine, int remainingVisColumns, boolean[] leansForward)