Loading...
 

TexteditorSyntaxHighlight

editing files with highlight is fun, and looks nice on screenshots cool

Table of contents

Nano settings

Copy to clipboard
## PHP syntax highlighting ## syntax "php" "\.php$" "\.php[2345s]$" "\.phtml$" "tpl" "\.tpl$" #special color brightwhite "([^A-Za-z0-9])|(<\?php|\?>|var|and|or|default|class|extends|true|false|global|function|new|switch|case|break|next|prev|elseif|if|else|foreach|for|as|do|while|exit|decalre|require_once|require|include_once|include|return)([^A-Za-z0-9])" #types color brightblue "([^A-Za-z0-9])|(null|int|string|array|float|bool|object|resource)[^A-Za-z0-9]" #functions (Ack! - Too many!) color brightmagenta "([^A-Za-z0-9])|(setcookie|base64_encode|base64_decode|serialize|unserialize|sprintf|rmdir|move_uploaded_file|readdir|chdir|closedir|getcwd|shuffle|strpos|array_reverse|rsort|arsort|array_search|array_merge|array_slice|strnatcasecmp|strtolower|strtoupper|round|ceil|floor|filetype|fileowner|filegroup|fileperms|filesize|fileatime|filemtime|array_push|array_pop|is_dir|realpath|sort|usort|substr_count|file_get_contents|in_array|chr|opendir|substr|mktime|getdata|date|fopen|fwrite|fread|fclose|sizeof|nl2br|str_replace|strstr|preg_match_all|preg_replace|preg_match|preg_split|basename|file_exists|copy|isset|time|unlink|session_start|trim|rtrim|md5|echo|print|printf|explode|implode|array|split|join|stripslashes|addslashes|die|function|mysql_error|mysql_connect|mysql_select_db|mysql_close|mysql_query)([^A-Za-z0-9])*" #Etc global command ;) (added by ObsidianX) color blue "([^A-Za-z0-9])|(global|if|else)([^A-Za-z0-9])*" #Variables color brightcyan "\$[A-Za-z0-9_\>-]*" #strings color brightyellow ""(\\.|[^\"])*"" color brightyellow "'(\\.|[^\'])*'" #color brightyellow start=""(\\.|[^\"])*\\( | )*$" end="^(\\.|[^\"])*"" #color brightblue start="\".*" end=".*\"" #comments color brightred "//.*" color brightred "#.*" color brightred start="/\*" end="\*/"

Page last modified on Saturday 07 August 2004 14:23:48 GMT-0000

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting