/plugin/commonmark/vendor/league/commonmark/src/Util/ |
H A D | LinkParserHelper.php | 24 * @param Cursor $cursor 70 * @param Cursor $cursor 87 $oldState = $cursor->saveState(); 91 … if ($c === '\\' && $cursor->peek() !== null && RegexHelper::isEscapable($cursor->peek())) { 92 $cursor->advanceBy(2); 94 $cursor->advanceBy(1); 101 $cursor->advanceBy(1); 106 $cursor->advanceBy(1); 118 $newPos = $cursor->getPosition(); 119 $cursor->restoreState($oldState); [all …]
|
/plugin/commonmark/vendor/league/commonmark/src/Reference/ |
H A D | ReferenceParser.php | 35 * @param Cursor $cursor 39 public function parse(Cursor $cursor) argument 41 if ($cursor->isAtEnd()) { 45 $initialState = $cursor->saveState(); 49 $cursor->restoreState($initialState); 58 $cursor->restoreState($initialState); 63 if ($cursor->getCharacter() !== ':') { 64 $cursor->restoreState($initialState); 70 $cursor->advanceBy(1); 77 $cursor->restoreState($initialState); [all …]
|
/plugin/commonmark/vendor/league/commonmark/src/Inline/Parser/ |
H A D | CloseBracketParser.php | 60 $cursor = $inlineContext->getCursor(); 62 $startPos = $cursor->getPosition(); 63 $previousState = $cursor->saveState(); 65 $cursor->advanceBy(1); 115 * @param Cursor $cursor 138 * @param Cursor $cursor 144 if ($cursor->getCharacter() !== '(') { 150 $cursor->advanceBy(1); 174 $cursor->advanceBy(1); 185 $savePos = $cursor->saveState(); [all …]
|
H A D | BacktickParser.php | 30 $cursor = $inlineContext->getCursor(); 32 $ticks = $cursor->match('/^`+/'); 34 $currentPosition = $cursor->getPosition(); 35 $previousState = $cursor->saveState(); 37 while ($matchingTicks = $cursor->match('/`+/m')) { 39 …$code = $cursor->getSubstring($currentPosition, $cursor->getPosition() - $currentPosition - \strle… 59 $cursor->restoreState($previousState);
|
/plugin/commonmark/vendor/league/commonmark/src/Extension/Table/ |
H A D | TableParser.php | 51 $oldState = $cursor->saveState(); 56 $cursor->restoreState($oldState); 63 $cursor->restoreState($oldState); 141 * @param Cursor $cursor 148 $cursor->advanceBy(1); 154 while (!$cursor->isAtEnd()) { 175 $cursor->advanceBy(1); 186 * @param Cursor $cursor 196 while (!$cursor->isAtEnd()) { 199 $cursor->advanceBy(1); [all …]
|
/plugin/commonmark/vendor/league/commonmark/src/Block/Element/ |
H A D | Paragraph.php | 32 public function matchesNextLine(Cursor $cursor): bool argument 34 if ($cursor->isBlank()) { 54 $cursor = new Cursor($this->finalStringContents); 56 $referenceFound = $this->parseReferences($context, $cursor); 58 $this->finalStringContents = $cursor->getRemainder(); 60 if ($referenceFound && $cursor->isAtEnd()) { 67 * @param Cursor $cursor 74 while ($cursor->getCharacter() === '[' && $context->getReferenceParser()->parse($cursor)) { 75 $this->finalStringContents = $cursor->getRemainder(); 84 $cursor->advanceToNextNonSpaceOrTab(); [all …]
|
H A D | BlockQuote.php | 34 public function matchesNextLine(Cursor $cursor): bool argument 36 if (!$cursor->isIndented() && $cursor->getNextNonSpaceCharacter() === '>') { 37 $cursor->advanceToNextNonSpaceOrTab(); 38 $cursor->advanceBy(1); 39 $cursor->advanceBySpaceOrTab(); 47 public function shouldLastLineBeBlank(Cursor $cursor, int $currentLineNumber): bool argument
|
H A D | ListItem.php | 52 public function matchesNextLine(Cursor $cursor): bool argument 54 if ($cursor->isBlank()) { 59 $cursor->advanceToNextNonSpaceOrTab(); 60 … } elseif ($cursor->getIndent() >= $this->listData->markerOffset + $this->listData->padding) { 61 $cursor->advanceBy($this->listData->markerOffset + $this->listData->padding, true); 69 public function shouldLastLineBeBlank(Cursor $cursor, int $currentLineNumber): bool argument 71 return $cursor->isBlank() && $this->startLine < $currentLineNumber;
|
H A D | IndentedCode.php | 32 public function matchesNextLine(Cursor $cursor): bool argument 34 if ($cursor->isIndented()) { 35 $cursor->advanceBy(Cursor::INDENT_LEVEL, true); 36 } elseif ($cursor->isBlank()) { 37 $cursor->advanceToNextNonSpaceOrTab(); 66 public function handleRemainingContents(ContextInterface $context, Cursor $cursor) argument 70 $tip->addLine($cursor->getRemainder());
|
H A D | FencedCode.php | 143 public function matchesNextLine(Cursor $cursor): bool argument 146 if ($cursor->isBlank()) { 154 $cursor->match('/^ {0,' . $this->offset . '}/'); 178 public function handleRemainingContents(ContextInterface $context, Cursor $cursor) argument 184 … if ($cursor->getIndent() <= 3 && $cursor->getNextNonSpaceCharacter() === $container->getChar()) { 185 …$match = RegexHelper::matchFirst('/^(?:`{3,}|~{3,})(?= *$)/', $cursor->getLine(), $cursor->getNext… 194 $container->addLine($cursor->getRemainder()); 197 public function shouldLastLineBeBlank(Cursor $cursor, int $currentLineNumber): bool argument
|
/plugin/editsections2/ |
H A D | script.js | 114 cursor; 143 cursor = sectionEditForm.parentNode; 146 while (cursor = cursor.nextSibling) { 147 if (!cursor.className) { 151 if (stopClassRegExp.test(cursor.className)) { 262 cursor, 275 cursor = buttonForm.parentNode; 277 if (!cursor.tagName || cursor.tagName.toLowerCase() !== 'div') { 282 while (cursor = cursor.nextSibling) { 284 !cursor.tagName || [all …]
|
/plugin/findologicxmlexport/vendor/twig/extensions/lib/Twig/Extensions/ |
H A D | SimpleTokenParser.php | 99 static $cursor; 102 $cursor = 0; 108 while ($cursor < strlen($str)) { 109 if (preg_match('/\s+/A', $str, $match, null, $cursor)) { 110 $cursor += strlen($match[0]); 117 $cursor += strlen($match[0]); 120 $cursor += strlen($match[0]); 121 } elseif (preg_match('/,/A', $str, $match, null, $cursor)) { 123 $cursor += strlen($match[0]); 125 $cursor += strlen($match[0]); [all …]
|
/plugin/commonmark/vendor/league/commonmark/src/ |
H A D | DocParser.php | 100 $cursor = new Cursor($context->getLine()); 102 $this->resetContainer($context, $cursor); 105 $this->parseBlocks($context, $cursor); 123 } elseif (!$cursor->isBlank()) { 127 $cursor->advanceToNextNonSpaceOrTab(); 128 $p->addLine($cursor->getRemainder()); 152 * @param Cursor $cursor 168 if (!$container->matchesNextLine($cursor)) { 181 * @param Cursor $cursor 207 !$cursor->isBlank() && [all …]
|
/plugin/commonmark/vendor/league/commonmark/src/Extension/Attributes/Util/ |
H A D | AttributesHelper.php | 28 * @param Cursor $cursor 34 $state = $cursor->saveState(); 35 $cursor->advanceToNextNonSpaceOrNewline(); 36 if ($cursor->getCharacter() !== '{') { 37 $cursor->restoreState($state); 42 $cursor->advanceBy(1); 43 if ($cursor->getCharacter() === ':') { 44 $cursor->advanceBy(1); 78 if ($cursor->match('/}/') === null) { 79 $cursor->restoreState($state); [all …]
|
/plugin/commonmark/vendor/league/commonmark/src/Block/Parser/ |
H A D | ListParser.php | 46 $indent = $cursor->getIndent(); 51 $tmpCursor = clone $cursor; 87 $cursor->advanceToNextNonSpaceOrTab(); // to start of marker 103 * @param Cursor $cursor 110 $start = $cursor->saveState(); 111 $spacesStartCol = $cursor->getColumn(); 113 while ($cursor->getColumn() - $spacesStartCol < 5) { 114 if (!$cursor->advanceBySpaceOrTab()) { 119 $blankItem = $cursor->peek() === null; 123 $cursor->restoreState($start); [all …]
|
H A D | HtmlBlockParser.php | 25 public function parse(ContextInterface $context, Cursor $cursor): bool argument 27 if ($cursor->isIndented()) { 31 if ($cursor->getNextNonSpaceCharacter() !== '<') { 35 $savedState = $cursor->saveState(); 37 $cursor->advanceToNextNonSpaceOrTab(); 38 $line = $cursor->getRemainder(); 47 $cursor->restoreState($savedState); 55 $cursor->restoreState($savedState);
|
H A D | ATXHeadingParser.php | 24 public function parse(ContextInterface $context, Cursor $cursor): bool argument 26 if ($cursor->isIndented()) { 30 …$match = RegexHelper::matchFirst('/^#{1,6}(?:[ \t]+|$)/', $cursor->getLine(), $cursor->getNextNonS… 35 $cursor->advanceToNextNonSpaceOrTab(); 37 $cursor->advanceBy(\strlen($match[0])); 40 $str = $cursor->getRemainder();
|
H A D | SetExtHeadingParser.php | 26 public function parse(ContextInterface $context, Cursor $cursor): bool argument 28 if ($cursor->isIndented()) { 36 …$match = RegexHelper::matchFirst('/^(?:=+|-+)[ \t]*$/', $cursor->getLine(), $cursor->getNextNonSpa… 67 $cursor = new Cursor($string); 68 while ($cursor->getCharacter() === '[' && $referenceParser->parse($cursor)) { 69 $string = $cursor->getRemainder();
|
H A D | BlockQuoteParser.php | 23 public function parse(ContextInterface $context, Cursor $cursor): bool argument 25 if ($cursor->isIndented()) { 29 if ($cursor->getNextNonSpaceCharacter() !== '>') { 33 $cursor->advanceToNextNonSpaceOrTab(); 34 $cursor->advanceBy(1); 35 $cursor->advanceBySpaceOrTab();
|
/plugin/findologicxmlexport/vendor/twig/twig/src/ |
H A D | Lexer.php | 26 protected $cursor; variable in Twig\\Lexer 104 $this->cursor = 0; 117 while ($this->cursor < $this->end) { 162 $this->cursor = $this->end; 169 while ($position[1] < $this->cursor) { 177 $text = $textContent = substr($this->code, $this->cursor, $position[1] - $this->cursor); 284 ++$this->cursor; 313 $text = substr($this->code, $this->cursor, $match[0][1] - $this->cursor); 329 … $this->moveCursor(substr($this->code, $this->cursor, $match[0][1] - $this->cursor).$match[0][0]); 349 ++$this->cursor; [all …]
|
/plugin/ckgdoku/ckeditor/plugins/copyformatting/styles/ |
H A D | copyformatting.css | 10 /* There is no cursor in CUR format for IE/Edge as that browser 11 does not support custom cursor in [contenteditable] area. 13 …https://connect.microsoft.com/IE/feedback/details/1070215/cant-change-cursor-in-contenteditable-us… 17 cursor: url(../cursors/cursor-disabled.svg) 12 1, auto; 22 cursor: default; 25 /* Added `!important` rule as a fix for overriding the cursor by the Table Resize plugin. 26 …used because the Table Resize plugin creates a `<div>` which changes the cursor using inlined styl… 34 cursor: url(../cursors/cursor.svg) 12 1, auto !important;
|
/plugin/ckgedit/ckeditor/plugins/copyformatting/styles/ |
H A D | copyformatting.css | 10 /* There is no cursor in CUR format for IE/Edge as that browser 11 does not support custom cursor in [contenteditable] area. 13 …https://connect.microsoft.com/IE/feedback/details/1070215/cant-change-cursor-in-contenteditable-us… 17 cursor: url(../cursors/cursor-disabled.svg) 12 1, auto; 22 cursor: default; 25 /* Added `!important` rule as a fix for overriding the cursor by the Table Resize plugin. 26 …used because the Table Resize plugin creates a `<div>` which changes the cursor using inlined styl… 34 cursor: url(../cursors/cursor.svg) 12 1, auto !important;
|
/plugin/commonmark/vendor/league/commonmark/src/Extension/Footnote/Parser/ |
H A D | FootnoteParser.php | 26 public function parse(ContextInterface $context, Cursor $cursor): bool argument 28 if ($cursor->isIndented()) { 34 $cursor->getLine(), 35 $cursor->getNextNonSpacePosition() 42 $cursor->advanceToNextNonSpaceOrTab(); 43 $cursor->advanceBy(\strlen($match[0])); 44 $str = $cursor->getRemainder();
|
/plugin/jplayer/vendor/james-heinrich/getid3/getid3/ |
H A D | extension.cache.mysql.php | 79 private $cursor; variable in getID3_cached_mysql 136 if ($this->cursor = mysql_query($SQLquery, $this->connection)) { 137 list($version) = mysql_fetch_array($this->cursor); 153 …$this->cursor = mysql_query('DELETE FROM `'.mysql_real_escape_string($this->table).'`', $this->con… 154 …$this->cursor = mysql_query('INSERT INTO `'.mysql_real_escape_string($this->table).'` VALUES (\''.… 184 $this->cursor = mysql_query($SQLquery, $this->connection); 185 if (mysql_num_rows($this->cursor) > 0) { 187 list($result) = mysql_fetch_array($this->cursor); 203 $this->cursor = mysql_query($SQLquery, $this->connection); 224 $this->cursor = mysql_query($SQLquery, $this->connection);
|
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Datastore/ |
H A D | GqlQueryParameter.php | 25 public $cursor; variable in Google\\Service\\Datastore\\GqlQueryParameter 32 public function setCursor($cursor) argument 34 $this->cursor = $cursor; 41 return $this->cursor;
|