squeezr/lib/Tollwerk/Squeezr/Css.php
/**
     * Find the line number corresponding with a peek position within the CSS file
     *
     * @param int $peek Peek position
     * @return int                                    Line number
     */
Find the line number corresponding with a peek position within the CSS file
@param int $peek Peek position
@return int                                    Line number
Find the line number corresponding with a peek position within the CSS file @param int $peek Peek position @return int Line number
protected function _peekToLine($peek)
    {
        foreach ($this->_lines as $line => $length) {
            if ($length >= $peek) {
                break;
            }
        }
        return $line;
    }
protected function _peekToLine ( $ peek ) { foreach ( $ this -> _lines as $ line => $ length ) { if ( $ length >= $ peek ) { break ; } } return $ line ; }
Find the line number corresponding with a peek position within the CSS file
 @param int $peek Peek position
 @return int                                    Line number
Find the line number corresponding with a peek position within the CSS file @param int $peek Peek position @return int Line number