Home News Examples Demo Downloads FAQ Documentation Mailing Lists License
Support GeSHi!
If you're using GeSHi, why not help GeSHi out? You can link to GeSHi with this image:
Powered by GeSHi
Get the HTML

Project Status
The latest stable version of GeSHi is, released on the 19th of Aug, 2012.

Supported Languages:
*Apache Log
*APT sources.list
*ASM (m68k)
*ASM (pic16)
*ASM (x86)
*ASM (z80)
*Backus-Naur form
*C for Macs
*C++ (with QT)
*Diff File Format
*DOT language
*FourJ's Genero
*INI (Config Files)
*Java 5
*KLone C & C++
*Objective C
*OpenOffice BASIC
*Oracle 8 & 11 SQL
*Pixel Bender
*Progress (OpenEdge ABL)
*Ruby on Rails
*Uno IDL
*VIM Script
*Visual BASIC
*Visual Fox Pro
*Visual Prolog
*Windows Registry Files

GeSHi is the current stable release, with eighteen new languages and bug fixes over the last release.

GeSHi 1.1.2alpha5 is the current latest version from the development branch, with full C support (see the GeSHi development website).
Mailing Lists
HomeNewsExamplesDemoDownloadsFAQDocumentationMailing ListsLicense 
1:07 pm GMT

GeSHi - Generic Syntax Highlighter


Latest News

News Archive

Random Screenshot

[small1.png: Click for a larger view]



Runtime Example

class Abstract
        private var sub:IAbstract;
        // Private constructor disallows instantiation
        private function Abstract()
                // Cast a reference of the extending class instance to the interface type
                // which contains the abstract methods.
                sub = IAbstract(this);
                //Flash Player 7 Only
                if(sub == null) // invalid cast will return null in Flash player 7
                        throw("Classes extending Abstract must implement IAbstract");
                // end Flash Player 7 Only
                /* For Flash Player 6 (or 7) use this runtime type check
                if(!(sub instanceof IAbstract))
                sub = null;
                trace("Classes extending Abstract must implement IAbstract");

                //Because sub is of type IAbstract no compiler error is thrown