/** * Extracts the text the cursor point to and splits it into lines. */ public function __construct(ezcTemplateSourceCode $source, $start, $end) { parent::__construct($source, $start, $end); $this->text = self::stripText($start->subString($end->position)); $this->lines = $this->splitIntoLines($this->text); }
/** * * @param ezcTemplateSource $source * @param ezcTemplateCursor $start * @param ezcTemplateCursor $end */ public function __construct(ezcTemplateSourceCode $source, $start, $end) { parent::__construct($source, $start, $end); $this->textStartCursor = null; $this->textEndCursor = null; }