A
D
E
G
H
L
O
P
R
S
A
- add_keyword() - Method in class geshi.GeSHi
- Adds a keyword to a keyword group for highlighting
- add_keyword_group() - Method in class geshi.GeSHi
- Creates a new keyword group
D
- disable_highlighting() - Method in class geshi.GeSHi
- Disables all highlighting
E
- enable_classes() - Method in class geshi.GeSHi
- Sets whether CSS classes should be used to highlight the source.
- enable_highlighting() - Method in class geshi.GeSHi
- Enables all highlighting
The optional flag parameter was added in version 1.0.7.21 and can be used
to enable (true) or disable (false) all highlighting.
- enable_ids() - Method in class geshi.GeSHi
- Whether CSS IDs should be added to each line
- enable_important_blocks() - Method in class geshi.GeSHi
- Sets whether context-important blocks are highlighted
- enable_inner_code_block() - Method in class geshi.GeSHi
- Sets whether to force a surrounding block around
the highlighted code or not
- enable_keyword_links() - Method in class geshi.GeSHi
- Turns linking of keywords on or off.
- enable_line_numbers() - Method in class geshi.GeSHi
- Sets whether line numbers should be displayed.
- enable_multiline_span() - Method in class geshi.GeSHi
- Sets wether spans and other HTML markup generated by GeSHi can
span over multiple lines or not.
- enable_strict_mode() - Method in class geshi.GeSHi
- Enables/disables strict highlighting.
- error() - Method in class geshi.GeSHi
- Returns an error message associated with the last GeSHi operation,
or false if no error has occured
G
- GeSHi() - Class in package geshi
- The GeSHi Class.
- GESHI_ACTIVE() - Global in package geshi
- Links in the source in the :active state
- GESHI_AFTER() - Global in package geshi
- The key of the regex array defining what bracket group in a
matched search to put after the replacement
- GESHI_ALWAYS() - Global in package geshi
- Strict mode always applies
- GESHI_BEFORE() - Global in package geshi
- The key of the regex array defining what bracket group in a
matched search to put before the replacement
- GESHI_CAPS_LOWER() - Global in package geshi
- Leave keywords found as the case that they are
- GESHI_CAPS_NO_CHANGE() - Global in package geshi
- Lowercase keywords found
- GESHI_CAPS_UPPER() - Global in package geshi
- Uppercase keywords found
- GESHI_CLASS() - Global in package geshi
- The key of the regex array defining a custom keyword to use
for this regexp's html tag class
- GESHI_COMMENTS() - Global in package geshi
- Used in language files to mark comments
- GESHI_END_IMPORTANT() - Global in package geshi
- The ender for important parts of the source
- GESHI_ERROR_FILE_NOT_READABLE() - Global in package geshi
- GeSHi could not open a file for reading (generally a language file)
- GESHI_ERROR_INVALID_HEADER_TYPE() - Global in package geshi
- The header type passed to {@link GeSHi->set_header_type()} was invalid
- GESHI_ERROR_INVALID_LINE_NUMBER_TYPE() - Global in package geshi
- The line number type passed to {@link GeSHi->enable_line_numbers()} was invalid
- GESHI_ERROR_NO_INPUT() - Global in package geshi
- No sourcecode to highlight was specified
- GESHI_ERROR_NO_SUCH_LANG() - Global in package geshi
- The language specified does not exist
- GESHI_FANCY_LINE_NUMBERS() - Global in package geshi
- Use fancy line numbers when building the result
- GESHI_HEADER_DIV() - Global in package geshi
- Use a "div" to surround the source
- GESHI_HEADER_NONE() - Global in package geshi
- Use nothing to surround the source
- GESHI_HEADER_PRE() - Global in package geshi
- Use a "pre" to surround the source
- GESHI_HEADER_PRE_TABLE() - Global in package geshi
- Use a "table" to surround the source:
$header |
$linenumbers | $code> |
$footer |
this is essentially only a workaround for Firefox, see sf#1651996 or take a look at
https://bugzilla.mozilla.org/show_bug.cgi?id=365805
- GESHI_HEADER_PRE_VALID() - Global in package geshi
- Use a pre to wrap lines when line numbers are enabled or to wrap the whole code.
- geshi_highlight() - Function in package geshi
- Easy way to highlight stuff.
- GESHI_HOVER() - Global in package geshi
- Links in the source in the :hover state
- GESHI_LANG_ROOT() - Global in package geshi
- The language file directory for GeSHi
@access private
- GESHI_LINK() - Global in package geshi
- Links in the source in the :link state
- GESHI_MAX_PCRE_LENGTH() - Global in package geshi
- it's also important not to generate too long regular expressions
be generous here...
- GESHI_MAX_PCRE_SUBPATTERNS() - Global in package geshi
- some old PHP / PCRE subpatterns only support up to xxx subpatterns in
regular expressions.
- GESHI_MAYBE() - Global in package geshi
- Strict mode *might* apply, and can be enabled or
disabled by {@link GeSHi->enable_strict_mode()}
- GESHI_MODIFIERS() - Global in package geshi
- The key of the regex array defining any modifiers to the regular expression
- GESHI_NO_LINE_NUMBERS() - Global in package geshi
- Use no line numbers when building the result
- GESHI_NORMAL_LINE_NUMBERS() - Global in package geshi
- Use normal line numbers when building the result
- GESHI_NUMBER_BIN_PREFIX_0B() - Global in package geshi
- Number format to highlight binary numbers with a prefix 0b (C)
- GESHI_NUMBER_BIN_PREFIX_PERCENT() - Global in package geshi
- Number format to highlight binary numbers with a prefix %
- GESHI_NUMBER_BIN_SUFFIX() - Global in package geshi
- Number format to highlight binary numbers with a suffix "b"
- GESHI_NUMBER_FLT_NONSCI() - Global in package geshi
- Number format to highlight floating-point numbers without support for scientific notation
- GESHI_NUMBER_FLT_NONSCI_F() - Global in package geshi
- Number format to highlight floating-point numbers without support for scientific notation
- GESHI_NUMBER_FLT_SCI_SHORT() - Global in package geshi
- Number format to highlight floating-point numbers with support for scientific notation (E) and optional leading zero
- GESHI_NUMBER_FLT_SCI_ZERO() - Global in package geshi
- Number format to highlight floating-point numbers with support for scientific notation (E) and required leading digit
- GESHI_NUMBER_HEX_PREFIX() - Global in package geshi
- Number format to highlight hex numbers with a prefix 0x
- GESHI_NUMBER_HEX_SUFFIX() - Global in package geshi
- Number format to highlight hex numbers with a suffix of h
- GESHI_NUMBER_INT_BASIC() - Global in package geshi
- Basic number format for integers
- GESHI_NUMBER_INT_CSTYLE() - Global in package geshi
- Enhanced number format for integers like seen in C
- GESHI_NUMBER_OCT_PREFIX() - Global in package geshi
- Number format to highlight octal numbers with a leading zero
- GESHI_NUMBER_OCT_SUFFIX() - Global in package geshi
- Number format to highlight octal numbers with a suffix of o
- GESHI_PHP_PRE_433() - Global in package geshi
- Used to work around missing PHP features
- GESHI_REPLACE() - Global in package geshi
- The key of the regex array defining what bracket group in a
matched search to use as a replacement
- GESHI_ROOT() - Global in package geshi
- The root directory for GeSHi
- GESHI_SEARCH() - Global in package geshi
- The key of the regex array defining what to search for
- GESHI_SECURITY_PARANOID() - Global in package geshi
- Tells GeSHi to be paranoid about security settings
- GESHI_START_IMPORTANT() - Global in package geshi
- The starter for important parts of the source
- GESHI_VERSION() - Global in package geshi
- The version of this GeSHi file
- GESHI_VISITED() - Global in package geshi
- Links in the source in the :visited state
- get_language_name() - Method in class geshi.GeSHi
- Gets a human-readable language name (thanks to Simon Patterson
for the idea :))
- get_language_name_from_extension() - Method in class geshi.GeSHi
- Given a file extension, this method returns either a valid geshi language
name, or the empty string if it couldn't be found
- get_multiline_span() - Method in class geshi.GeSHi
- Get current setting for multiline spans, see GeSHi->enable_multiline_span().
- get_real_tab_width() - Method in class geshi.GeSHi
- Returns the tab width to use, based on the current language and user
preference
- get_stylesheet() - Method in class geshi.GeSHi
- Returns a stylesheet for the highlighted code.
- get_time() - Method in class geshi.GeSHi
- Gets the time taken to parse the code
H
- highlight_lines_extra() - Method in class geshi.GeSHi
- Specifies which lines to highlight extra
The extra style parameter was added in 1.0.7.21.
L
- language_data() - Global in package geshi
- abap.php
--------
Author: Andres Picazo (andres@andrespicazo.com)
Contributors:
- Sandra Rossi (sandra.rossi@gmail.com)
- Jacob Laursen (jlu@kmd.dk)
Copyright: (c) 2007 Andres Picazo
Release Version: 1.0.8.3
Date Started: 2004/06/04
ABAP language file for GeSHi.
- load_from_file() - Method in class geshi.GeSHi
- Given a file name, this method loads its contents in, and attempts
to set the language automatically.
O
- optimize_keyword_group() - Method in class geshi.GeSHi
- compile optimized regexp list for keyword group
P
- parse_code() - Method in class geshi.GeSHi
- Returns the code in $this->source, highlighted and surrounded by the
nessecary HTML.
R
- remove_keyword() - Method in class geshi.GeSHi
- Removes a keyword from a keyword group
- remove_keyword_group() - Method in class geshi.GeSHi
- Removes a keyword group
S
- set_brackets_highlighting() - Method in class geshi.GeSHi
- Turns highlighting on/off for brackets
This method is DEPRECATED: use set_symbols_highlighting instead.
- set_brackets_style() - Method in class geshi.GeSHi
- Sets the styles for brackets.
- set_case_keywords() - Method in class geshi.GeSHi
- Sets the case that keywords should use when found.
- set_case_sensitivity() - Method in class geshi.GeSHi
- Sets whether a set of keywords are checked for in a case sensitive manner
- set_code_style() - Method in class geshi.GeSHi
- Sets the style for the actual code.
- set_comments_highlighting() - Method in class geshi.GeSHi
- Turns highlighting on/off for comment groups
- set_comments_style() - Method in class geshi.GeSHi
- Sets the styles for comment groups.
- set_encoding() - Method in class geshi.GeSHi
- Sets the encoding used for htmlspecialchars(), for international
support.
- set_escape_characters_highlighting() - Method in class geshi.GeSHi
- Turns highlighting on/off for escaped characters
- set_escape_characters_style() - Method in class geshi.GeSHi
- Sets the styles for escaped characters.
- set_footer_content() - Method in class geshi.GeSHi
- Sets the content of the footer block
- set_footer_content_style() - Method in class geshi.GeSHi
- Sets the style for the footer content
- set_header_content() - Method in class geshi.GeSHi
- Sets the content of the header block
- set_header_content_style() - Method in class geshi.GeSHi
- Sets the style for the header content
- set_header_type() - Method in class geshi.GeSHi
- Sets the type of header to be used.
- set_highlight_lines_extra_style() - Method in class geshi.GeSHi
- Sets the style for extra-highlighted lines
- set_important_styles() - Method in class geshi.GeSHi
- Sets styles for important parts of the code
- set_keyword_group_highlighting() - Method in class geshi.GeSHi
- Turns highlighting on/off for a keyword group
- set_keyword_group_style() - Method in class geshi.GeSHi
- Sets the style for a keyword group.
- set_language() - Method in class geshi.GeSHi
- Sets the language for this object
- set_language_path() - Method in class geshi.GeSHi
- Sets the path to the directory containing the language files.
- set_line_ending() - Method in class geshi.GeSHi
- Sets the line-ending
- set_line_style() - Method in class geshi.GeSHi
- Sets the styles for the line numbers.
- set_link_styles() - Method in class geshi.GeSHi
- Sets styles for links in code
- set_link_target() - Method in class geshi.GeSHi
- Sets the target for links in code
- set_methods_highlighting() - Method in class geshi.GeSHi
- Turns highlighting on/off for methods
- set_methods_style() - Method in class geshi.GeSHi
- Sets the styles for methods.
- set_numbers_highlighting() - Method in class geshi.GeSHi
- Turns highlighting on/off for numbers
- set_numbers_style() - Method in class geshi.GeSHi
- Sets the styles for numbers.
- set_overall_class() - Method in class geshi.GeSHi
- Sets the overall classname for this block of code.
- set_overall_id() - Method in class geshi.GeSHi
- Sets the overall id for this block of code.
- set_overall_style() - Method in class geshi.GeSHi
- Sets the styles for the code that will be outputted
when this object is parsed.
- set_regexps_highlighting() - Method in class geshi.GeSHi
- Turns highlighting on/off for regexps
- set_regexps_style() - Method in class geshi.GeSHi
- Sets the styles for regexps.
- set_source() - Method in class geshi.GeSHi
- Sets the source code for this object
- set_strings_highlighting() - Method in class geshi.GeSHi
- Turns highlighting on/off for strings
- set_strings_style() - Method in class geshi.GeSHi
- Sets the styles for strings.
- set_symbols_highlighting() - Method in class geshi.GeSHi
- Turns highlighting on/off for symbols
- set_symbols_style() - Method in class geshi.GeSHi
- Sets the styles for symbols.
- set_tab_width() - Method in class geshi.GeSHi
- Sets how many spaces a tab is substituted for
Widths below zero are ignored
- set_url_for_keyword_group() - Method in class geshi.GeSHi
- Sets the base URL to be used for keywords
- set_use_language_tab_width() - Method in class geshi.GeSHi
- Sets whether or not to use tab-stop width specifed by language
- start_line_numbers_at() - Method in class geshi.GeSHi
- Sets what number line numbers should start at.
- stripos() - Function in package geshi