public static int getStartColumn(@Nullable LeafBlockWrapper block) {
    if (block == null) return -1;

    int result = 0;
    while (true) {
      final WhiteSpace whiteSpace = block.getWhiteSpace();
      result += whiteSpace.getTotalSpaces();
      if (whiteSpace.containsLineFeeds()) return result;
      block = block.getPreviousBlock();
      if (result > CodeStyleConstraints.MAX_RIGHT_MARGIN || block == null) return result;
      result += block.getSymbolsAtTheLastLine();
      if (block.containsLineFeeds()) return result;
    }
  }
public static int getStartColumn(@Nullable LeafBlockWrapper block)