2010-07-23 Steffen Kamper <steffen@typo3.org>
+ * Fixed bug #15195: TSanalyzer: Add link to breakpoints also in syntaxhighlight mode
* Fixed bug #15207: Clipboard doesn't initialize backPath
2010-07-23 Stanislas Rolland <typo3@sjbr.ca>
var $highLightBlockStyles = ''; // Additional attributes for the <span> tags for a blockmode line
var $highLightBlockStyles_basecolor = '#cccccc'; // The hex-HTML color for the blockmode
+ public $parentObject; //Instance of parentObject, used by t3lib_tsparser_ext
/**
* Start parsing the input TypoScript text piece. The result is stored in $this->setup
if (is_array($lineNumDat)) {
$lineNum = $rawP+$lineNumDat[0];
+ if ($this->parentObject instanceof t3lib_tsparser_ext) {
+ $lineNum = $this->parentObject->ext_lnBreakPointWrap($lineNum, $lineNum);
+ }
$lineC = $this->highLightStyles['linenum'][0].str_pad($lineNum,4,' ',STR_PAD_LEFT).':'.$this->highLightStyles['linenum'][1].' '.$lineC;
}
$all = chop($all);
$tsparser = t3lib_div::makeInstance('t3lib_TSparser');
$tsparser->lineNumberOffset=$this->ext_lineNumberOffset+1;
+ $tsparser->parentObject = $this;
return $tsparser->doSyntaxHighlight($all,$lineNumbers?array($this->ext_lineNumberOffset+1):'',$syntaxHLBlockmode);
} else {
return $this->ext_formatTS($all,$lineNumbers,$comments,$crop);