Full index

Package indexes


a b c d e f g h i j l m n o p q r s v x
a
top
Method add_keyword
Adds a keyword to a keyword group for highlighting
Method add_keyword_group
Creates a new keyword group
Page actionscript-french.php
actionscript-french.php in actionscript-french.php
Page actionscript.php
actionscript.php in actionscript.php
Page ada.php
ada.php in ada.php
Page apache.php
apache.php in apache.php
Page applescript.php
applescript.php in applescript.php
Page asm.php
asm.php in asm.php
Page asp.php
asp.php in asp.php
b
top
Page bash.php
bash.php in bash.php
c
top
Page cssgen.php
cssgen.php in cssgen.php
Page caddcl.php
caddcl.php in caddcl.php
Page cadlisp.php
cadlisp.php in cadlisp.php
Page cpp.php
cpp.php in cpp.php
Page csharp.php
csharp.php in csharp.php
Page css.php
css.php in css.php
Page c_mac.php
c_mac.php in c_mac.php
Page c.php
c.php in c.php
d
top
Method disable_highlighting
Disables all highlighting
Page delphi.php
delphi.php in delphi.php
Page diff.php
diff.php in diff.php
Page div.php
div.php in div.php
Page dos.php
dos.php in dos.php
Page d.php
d.php in d.php
e
top
Page example.php
example.php in example.php
Method enable_classes
Sets whether CSS classes should be used to highlight the source. Default is off, calling this method with no arguments will turn it on
Method enable_highlighting
Enables all highlighting
Method enable_ids
GeSHi::enable_ids() in geshi.php
Whether CSS IDs should be added to each line
Method enable_important_blocks
Sets whether context-important blocks are highlighted
Method enable_line_numbers
Sets whether line numbers should be displayed.
Method enable_strict_mode
Enables/disables strict highlighting. Default is off, calling this method without parameters will turn it on. See documentation for more details on strict mode and where to use it.
Method error
GeSHi::error() in geshi.php
Returns an error message associated with the last GeSHi operation, or false if no error has occured
Page eiffel.php
eiffel.php in eiffel.php
f
top
Page freebasic.php
freebasic.php in freebasic.php
g
top
Class GeSHi
GeSHi in geshi.php
The GeSHi Class.
Method GeSHi
GeSHi::GeSHi() in geshi.php
Creates a new GeSHi object, with source and language
Constant GESHI_ACTIVE
GESHI_ACTIVE in geshi.php
Links in the source in the :active state
Constant GESHI_CAPS_LOWER
GESHI_CAPS_LOWER in geshi.php
Leave keywords found as the case that they are
Constant GESHI_CAPS_NO_CHANGE
Lowercase keywords found
Constant GESHI_CAPS_UPPER
GESHI_CAPS_UPPER in geshi.php
Uppercase keywords found
Constant GESHI_DIR_SEPARATOR
GESHI_DIR_SEPARATOR in geshi.php
Set the correct directory separator
Constant GESHI_END_IMPORTANT
GESHI_END_IMPORTANT in geshi.php
The ender for important parts of the source
Constant GESHI_FANCY_LINE_NUMBERS
Use fancy line numbers when building the result
Page gml.php
gml.php in gml.php
Constant GESHI_HEADER_DIV
GESHI_HEADER_DIV in geshi.php
Use a "div" to surround the source
Constant GESHI_HEADER_NONE
GESHI_HEADER_NONE in geshi.php
Use nothing to surround the source
Constant GESHI_HEADER_PRE
GESHI_HEADER_PRE in geshi.php
Use a "pre" to surround the source
Function geshi_highlight
geshi_highlight() in geshi.php
Easy way to highlight stuff. Behaves just like highlight_string
Constant GESHI_HOVER
GESHI_HOVER in geshi.php
Links in the source in the :hover state
Constant GESHI_LANG_ROOT
GESHI_LANG_ROOT in geshi.php
The language file directory for GeSHi
Constant GESHI_LINK
GESHI_LINK in geshi.php
Links in the source in the :link state
Constant GESHI_NORMAL_LINE_NUMBERS
Use normal line numbers when building the result
Constant GESHI_NO_LINE_NUMBERS
Use no line numbers when building the result
Constant GESHI_OUTPUT_HTML
GESHI_OUTPUT_HTML in geshi.php
For the future (though this may never be realised)
Page geshi.php
geshi.php in geshi.php
Constant GESHI_ROOT
GESHI_ROOT in geshi.php
The root directory for GeSHi
Constant GESHI_START_IMPORTANT
The starter for important parts of the source
Constant GESHI_VERSION
GESHI_VERSION in geshi.php
The version of this GeSHi file
Constant GESHI_VISITED
GESHI_VISITED in geshi.php
Links in the source in the :visited state
Method get_language_name
Gets a human-readable language name (thanks to Simon Patterson for the idea :))
Method get_language_name_from_extension
Given a file extension, this method returns either a valid geshi language name, or the empty string if it couldn't be found
Method get_stylesheet
Returns a stylesheet for the highlighted code. If $economy mode is true, we only return the stylesheet declarations that matter for this code block instead of the whole thing
Method get_time
GeSHi::get_time() in geshi.php
Gets the time taken to parse the code
Function get_var
get_var() in cssgen.php
h
top
Page html4strict.php
html4strict.php in html4strict.php
Method highlight_lines_extra
Specifies which lines to highlight extra
i
top
Page ini.php
ini.php in ini.php
Page inno.php
inno.php in inno.php
j
top
Page javascript.php
javascript.php in javascript.php
Page java.php
java.php in java.php
l
top
Page lisp.php
lisp.php in lisp.php
Page lua.php
lua.php in lua.php
Method load_from_file
Given a file name, this method loads its contents in, and attempts
m
top
Page matlab.php
matlab.php in matlab.php
Page mpasm.php
mpasm.php in mpasm.php
Function make_footer
make_footer() in cssgen.php
Function make_header
make_header() in cssgen.php
***********************************************************************************
n
top
Page nsis.php
nsis.php in nsis.php
o
top
Page objc.php
objc.php in objc.php
Page ocaml-brief.php
ocaml-brief.php in ocaml-brief.php
Page ocaml.php
ocaml.php in ocaml.php
Page oobas.php
oobas.php in oobas.php
Page oracle8.php
oracle8.php in oracle8.php
p
top
Page pascal.php
pascal.php in pascal.php
Page perl.php
perl.php in perl.php
Page php-brief.php
php-brief.php in php-brief.php
Page php.php
php.php in php.php
Page python.php
python.php in python.php
Method parse_code
GeSHi::parse_code() in geshi.php
Returns the code in $this->source, highlighted and surrounded by the nessecary HTML.
q
top
Page qbasic.php
qbasic.php in qbasic.php
r
top
Page ruby.php
ruby.php in ruby.php
Method remove_keyword
Removes a keyword from a keyword group
Method remove_keyword_group
Removes a keyword group
s
top
Page scheme.php
scheme.php in scheme.php
Page sdlbasic.php
sdlbasic.php in sdlbasic.php
Page smarty.php
smarty.php in smarty.php
Page sql.php
sql.php in sql.php
Method set_brackets_highlighting
Turns highlighting on/off for brackets
Method set_brackets_style
Sets the styles for brackets. If $preserve_defaults is true, then styles are merged with the default styles, with the user defined styles having priority
Method set_case_keywords
Sets the case that keywords should use when found. Use the constants:
Method set_case_sensitivity
Sets whether a set of keywords are checked for in a case sensitive manner
Method set_code_style
Sets the style for the actual code. This should be a string
Method set_comments_highlighting
Turns highlighting on/off for comment groups
Method set_comments_style
Sets the styles for comment groups. If $preserve_defaults is true, then styles are merged with the default styles, with the user defined styles having priority
Method set_encoding
Sets the encoding used for htmlspecialchars(), for international support.
Method set_escape_characters_highlighting
Turns highlighting on/off for escaped characters
Method set_escape_characters_style
Sets the styles for escaped characters. If $preserve_defaults is true, then styles are merged with the default styles, with the user defined styles having priority
Method set_footer_content
Sets the content of the footer block
Method set_footer_content_style
Sets the style for the footer content
Method set_header_content
Sets the content of the header block
Method set_header_content_style
Sets the style for the header content
Method set_header_type
Sets the type of header to be used.
Method set_highlight_lines_extra_style
Sets the style for extra-highlighted lines
Method set_important_styles
Sets styles for important parts of the code
Method set_keyword_group_highlighting
Turns highlighting on/off for a keyword group
Method set_keyword_group_style
Sets the style for a keyword group. If $preserve_defaults is true, then styles are merged with the default styles, with the user defined styles having priority
Method set_language
Sets the language for this object
Method set_language_path
Sets the path to the directory containing the language files. Note that this path is relative to the directory of the script that included geshi.php, NOT geshi.php itself.
Method set_line_style
Sets the styles for the line numbers.
Method set_link_styles
Sets styles for links in code
Method set_link_target
Sets the target for links in code
Method set_methods_highlighting
Turns highlighting on/off for methods
Method set_methods_style
Sets the styles for methods. $key is a number that references the
Method set_numbers_highlighting
Turns highlighting on/off for numbers
Method set_numbers_style
Sets the styles for numbers. If $preserve_defaults is true, then styles are merged with the default styles, with the user defined styles having priority
Method set_overall_class
Sets the overall classname for this block of code. This class can then be used in a stylesheet to style this object's output
Method set_overall_id
Sets the overall id for this block of code. This id can then be used in a stylesheet to style this object's output
Method set_overall_style
Sets the styles for the code that will be outputted when this object is parsed. The style should be a string of valid stylesheet declarations
Method set_regexps_highlighting
Turns highlighting on/off for regexps
Method set_regexps_style
Sets the styles for regexps. If $preserve_defaults is true, then styles are merged with the default styles, with the user defined styles having priority
Method set_source
GeSHi::set_source() in geshi.php
Sets the source code for this object
Method set_strings_highlighting
Turns highlighting on/off for strings
Method set_strings_style
Sets the styles for strings. If $preserve_defaults is true, then styles are merged with the default styles, with the user defined styles having priority
Method set_symbols_highlighting
Turns highlighting on/off for symbols
Method set_symbols_style
Sets the styles for symbols. If $preserve_defaults is true, then styles are merged with the default styles, with the user defined styles having priority
Method set_tab_width
Sets how many spaces a tab is substituted for
Method set_url_for_keyword_group
Sets the base URL to be used for keywords
Method start_line_numbers_at
Sets what number line numbers should start at. Should be a positive integer, and will be converted to one.
v
top
Page vbnet.php
vbnet.php in vbnet.php
Page vb.php
vb.php in vb.php
Page vhdl.php
vhdl.php in vhdl.php
Page visualfoxpro.php
visualfoxpro.php in visualfoxpro.php
x
top
Page xml.php
xml.php in xml.php
a b c d e f g h i j l m n o p q r s v x