Skip to content

Commit

Permalink
Fix Issue #95 (Todo preg_replace). Update ACE core.
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianbj committed Jun 5, 2024
1 parent d400eb9 commit 99db419
Show file tree
Hide file tree
Showing 84 changed files with 85 additions and 85 deletions.
2 changes: 1 addition & 1 deletion TracyDebugger.module.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static function getModuleInfo() {
'summary' => __('Tracy debugger from Nette with many PW specific custom tools.', __FILE__),
'author' => 'Adrian Jones',
'href' => 'https://processwire.com/talk/forum/58-tracy-debugger/',
'version' => '4.26.25',
'version' => '4.26.26',
'autoload' => 100000, // in PW 3.0.114+ higher numbers are loaded first - we want Tracy first
'singular' => true,
'requires' => 'ProcessWire>=2.7.2, PHP>=5.4.4',
Expand Down
4 changes: 2 additions & 2 deletions panels/TodoPanel.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ private function parseFile($file, $fileSize) {
fclose($stream);

// script tags break token_get_all when forcing the file to be php with <?php so remove them
$fileContent = preg_replace('#<script(.*?)>(.*?)</script>#is', '', $fileContent);
$fileContent = str_replace(array('<script>', '</script>'), '', $fileContent);
// remove any existing php tags and add one at the start
// change html, latte, and "loud" comment tags into /* comment */ so they will be parsed by token_get_all
$fileContent = '<?php ' .
Expand Down Expand Up @@ -237,4 +237,4 @@ private function createTodosArray($line, $comment, $type, $filename) {
);
}

}
}
2 changes: 1 addition & 1 deletion scripts/ace-editor/ace.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/ace-editor/ext-inline_autocomplete.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/ace-editor/ext-language_tools.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/ace-editor/ext-prompt.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/ace-editor/mode-apex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/ace-editor/mode-asl.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/ace-editor/mode-astro.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/ace-editor/mode-c_cpp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/ace-editor/mode-coldfusion.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/ace-editor/mode-csharp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/ace-editor/mode-csound_document.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/ace-editor/mode-csound_orchestra.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/ace-editor/mode-css.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/ace-editor/mode-curly.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/ace-editor/mode-d.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/ace-editor/mode-dart.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/ace-editor/mode-django.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/ace-editor/mode-dot.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 99db419

Please sign in to comment.