Syntax highlighter now knows about built in functions

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@599 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2007-08-03 21:32:40 +00:00
parent 2a2935de48
commit 633621558d
3 changed files with 95 additions and 8 deletions
+3
View File
@@ -80,6 +80,8 @@ function fromfile_page() {
return drupal_not_found();
}
$raw = file($full_path);
global $current_doc_file;
$current_doc_file = "$file";
foreach($raw as $k=>$l) $raw[$k] = preg_replace("/\r?\n/","",$l);
@@ -106,6 +108,7 @@ function fromfile_page() {
// done
drupal_set_breadcrumb($breadcrumbs);
drupal_set_title($title);
// view as a node
$node = array(
'title' => $title,