* @license http://www.gnu.org/copyleft/gpl.html GNU GPL * @copyright (C) 2005 Nigel McNie * @version 1.1.0 * */ /** * The GeSHiCSSInlineMediaContext class * * @package lang * @author Nigel McNie * @since 1.1.0 * @version 1.1.0 * @see GeSHiContext */ class GeSHiCSSInlineMediaContext extends GeSHiContext { /** * Overrides {@link GeSHiContext::_addParseDataStart()} to * highlight the start of the inline media context correctly * * @param string The code that is part of the start of this context * @access private */ function _addParseDataStart ($code) { $this->_styler->addParseData('@media', $this->_contextName . '/starter'); $this->_styler->addParseDataStart(substr($code, 6), $this->_contextName); } } ?>