Lines Matching refs:pos
72 * @param int $pos The position in the document
76 public function handle($match, $state, $pos, Doku_Handler $handler) { argument
80 return array($state, $match, $pos);
94 list($state, $match, $pos) = $data;
103 $this->_closeTab($renderer, $pos - 1);
106 $this->_openTab($renderer, substr($match, 7, -1), $pos + strlen($match) + 1 );
111 $this->_closeTab($renderer, $pos - 1);
130 * @param int $pos Byte position of start of tab content
132 protected function _openTab(Doku_Renderer_xhtml $R, $name, $pos) { argument
143 …$R->doc .= DOKU_LF . '<h' . $level . ' class="hl '. $R->startSectionEdit($pos, array('target' => …
145 …$R->doc .= DOKU_LF . '<h' . $level . ' class="hl '. $R->startSectionEdit($pos, 'section', $name) …
157 * @param int $pos Byte position of end of tab content
159 protected function _closeTab(Doku_Renderer_xhtml $R, $pos) { argument
160 $R->finishSectionEdit($pos);