docs: int findNextUsedLinePos(int pos) {
  
          try {
              int     firstPos   = pos;
              int     currentPos = pos;
              boolean wasCR      = false;
  
              dataFile.seek(pos);
  
              while (true) {
                  int c = dataFile.read();
  
                  currentPos++;
  
                  switch (c) {
  
                      case CR_CHAR :
                          wasCR = true;
                          break;
  
                      case LF_CHAR :
                          wasCR = false;
  
                          ((RowInputText) rowIn).skippedLine();
  
                          firstPos = currentPos;
                          break;
  
                      case ' ' :
                          if (wasCR) {
                              wasCR = false;
  
                              ((RowInputText) rowIn).skippedLine();
                          }
                          break;
  
                      case -1 :
                          return -1;
  
                      default :
                          return firstPos;
                  }
              }
          } catch (IOException e) {
              throw new HsqlException(e.getMessage(), "", 0);
          }
      }