float getRightAlignmentLineStartX(int visualLine) {
    checkRightAlignment();
    EditorImpl editor = myView.getEditor();
    int max = getRightAlignmentMarginX();
    float shift = visualLine == 0 ? myView.getPrefixTextWidthInPixels() : 0;
    if (visualLine >= editor.getVisibleLineCount()) return max - shift;
    int lineWidth = myView.getSizeManager().getVisualLineWidth(new VisualLinesIterator(editor, visualLine), false);
    return Math.max(max - lineWidth, 0);
  }
float getRightAlignmentLineStartX(int visualLine)