Home
last modified time | relevance | path

Searched refs:end (Results 1 – 25 of 38) sorted by relevance

12

/dokuwiki/lib/scripts/
H A Dtextselection.js14 this.end = 0;
20 return this.end - this.start;
24 return (!this.obj) ? '' : this.obj.value.substring(this.start,this.end);
42 sel.end = textArea.selectionEnd;
58 selection.obj.setSelectionRange(selection.start, selection.end);
79 selection.obj.value.substring(selection.end, selection.obj.value.length);
84 selection.end = selection.start + text.replace(/\r?\n/g, '\r\n').length;
86 selection.end = selection.start + text.length;
92 if(opts.endofs) selection.end -= opts.endofs;
95 if(opts.nosel) selection.start = selection.end;
[all …]
H A Deditor.js157 selection.end = linestart + 1;
176 selection.end = selection.start;
181 selection.end = linestart;
194 selection.end = selection.start;
H A Dlinkwiz.js218 if(sel.start == 0 && sel.end == 0) {
226 sel.end--;
H A Dedit.js240 sel.end = 0;
/dokuwiki/inc/Parsing/Handler/
H A DLists.php17 $last_call = end($this->calls);
81 $end = end($this->listStack);
89 if ($depth == $end[1]) {
91 if ($listType == $end[0]) {
104 $this->listCalls[] = array('list'.$end[0].'_close', array(), $call[2]);
112 } elseif ($depth > $end[1]) { // Getting deeper...
125 $this->listCalls[] = array('list'.$end[0].'_close',array(),$call[2]);
131 $end = end($this->listStack);
134 if ($end[1] <= $depth) {
136 $depth = $end[1];
[all …]
H A DPreformatted.php14 $last_call = end($this->calls);
H A DNest.php43 $last_call = end($this->calls);
H A DQuote.php12 $last_call = end($this->calls);
H A DTable.php21 $last_call = end($this->calls);
123 $lastCall = end($this->tableCalls);
H A DBlock.php207 $call = end($this->calls);
/dokuwiki/inc/
H A Dhttputils.php125 $end = (int)$p[1];
126 if (!$end) $end = $size - 1;
127 if ($start > $end || $start > $size || $end > $size){
132 $len = $end - $start + 1;
133 $ranges[] = array($start,$end,$len);
153 list($start,$end,$len) = $ranges[$i];
159 echo "Content-Range: bytes $start-$end/$size".HTTP_HEADER_LF;
164 header("Content-Range: bytes $start-$end/$size");
H A Dfulltext.php93 $pages = end($stack);
429 $utf8_offset = $offset = $end = 0;
486 … $append = ($start < $end) ? $end : false; // still the end of the previous context snippet
487 $end = $utf8_idx + $utf8_len + $post; // now set it to the end of this context
490 … $snippets[count($snippets)-1] .= \dokuwiki\Utf8\PhpString::substr($text,$append,$end-$append);
492 $snippets[] = \dokuwiki\Utf8\PhpString::substr($text,$start,$end-$start);
778 if ($parens_level-- === end($notgrp_levels)) array_pop($notgrp_levels);
803 $last_ope = end($ope_stack);
806 $last_ope = end($ope_stack);
H A DDifferenceEngine.php306 $end = $this->lcs;
307 if ($end == 0 || $ypos > $this->seq[$end]) {
314 while ($beg < $end) {
315 $mid = (int)(($beg + $end) / 2);
319 $end = $mid;
322 USE_ASSERTS && assert($ypos != $this->seq[$end]);
324 $this->in_seq[$this->seq[$end]] = false;
325 $this->seq[$end] = $ypos;
327 return $end;
H A Dinfoutils.php96 end($committerData);
H A Dpageutils.php480 if (end($result) == '..') {
489 if (!end($pathA)) $result[] = '';
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/
H A DParser.php299 $this->xml_base[] = end($this->xml_base);
300 $this->xml_base_explicit[] = end($this->xml_base_explicit);
309 $this->xml_lang[] = end($this->xml_lang);
315 if (end($this->namespace) === SIMPLEPIE_NAMESPACE_XHTML)
317 $this->data['data'] .= '<' . end($this->element);
331 $this->data =& $this->data['child'][end($this->namespace)][end($this->element)][];
332 …s' => $attribs, 'xml_base' => end($this->xml_base), 'xml_base_explicit' => end($this->xml_base_exp…
335 …|| (end($this->namespace) === SIMPLEPIE_NAMESPACE_RSS_20 && in_array(end($this->element), array('t…
336 …|| (end($this->namespace) === SIMPLEPIE_NAMESPACE_RSS_090 && in_array(end($this->element), array('…
337 …|| (end($this->namespace) === SIMPLEPIE_NAMESPACE_RSS_10 && in_array(end($this->element), array('t…
[all …]
H A DMisc.php126 …ttribs'][strtolower($attribs[$j][1])]['data'] = SimplePie_Misc::entities_decode(end($attribs[$j]));
1759 if (($end = strpos($data, '-->', $start)) !== false)
1761 $data = substr_replace($data, '', 0, $end + 3);
H A DItem.php1850 if (isset($caption['attribs']['']['end']))
1852 … $caption_endTime = $this->sanitize($caption['attribs']['']['end'], SIMPLEPIE_CONSTRUCT_TEXT);
1886 if (isset($caption['attribs']['']['end']))
1888 … $caption_endTime = $this->sanitize($caption['attribs']['']['end'], SIMPLEPIE_CONSTRUCT_TEXT);
2474 if (isset($caption['attribs']['']['end']))
2476 … $caption_endTime = $this->sanitize($caption['attribs']['']['end'], SIMPLEPIE_CONSTRUCT_TEXT);
/dokuwiki/inc/parser/
H A Dxhtml.php91 * @param int $end The byte position for the edit end; null for the rest of the page
95 public function finishSectionEdit($end = null, $hid = null) { argument
97 if(!is_null($end) && $end <= $data['start']) {
103 $data['range'] = $data['start'].'-'.(is_null($end) ? '' : $end);
1320 $end = $start - ($params['max']);
1321 $end = ($end < -1) ? -1 : $end;
1325 $end = $feed->get_item_quantity();
1326 $end = ($end > $params['max']) ? $params['max'] : $end;
1331 for($x = $start; $x != $end; $x += $mod) {
/dokuwiki/lib/plugins/config/core/
H A DWriter.php22 $this->savefile = end($config_cascade['main']['local']);
/dokuwiki/inc/lang/da/
H A Dstopwords.txt19 end
/dokuwiki/inc/Form/
H A DDropdownElement.php44 return end($this->optGroups);
/dokuwiki/vendor/simplepie/simplepie/library/
H A DSimplePie.php2994 * @param int $end Number of items to return. 0 for all items after `$start`
2997 public function get_items($start = 0, $end = 0) argument
3003 …$this->data['items'] = SimplePie::merge_items($this->multifeed_objects, $start, $end, $this->item_…
3072 if ($end === 0)
3077 return array_slice($items, $start, $end);
3173 * @param int $end Number of items to return
3177 public static function merge_items($urls, $start = 0, $end = 0, $limit = 0) argument
3196 if ($end === 0)
3201 return array_slice($items, $start, $end);
/dokuwiki/lib/plugins/config/
H A Dstyle.css167 /* end plugin:configmanager */
/dokuwiki/vendor/marcusschwarz/lesserphp/
H A Dlessc.inc.php670 $last = end($args);
2652 $this->propertyValue($value, $key) && $this->end())
2690 if ($this->propertyValue($dirValue) && $this->end()) {
2712 $this->propertyValue($value) && $this->end())
2789 ($this->keyword($suffix) || true) && $this->end())
3089 protected function openString($end, &$out, $nestingOpen=null, $rejectStrs = null) { argument
3093 $stop = array("'", '"', "@{", $end);
3117 if ($tok == $end) {
3148 if (is_string(end($content))) {
3149 $content[count($content) - 1] = rtrim(end($content));
[all …]

12