HOME         User: Anonymous search for  in 
Login
Username:

Password:

Navigation
Registered User Functions:
  1. Register New Account
Anonymous Functions:
  1. Home
  2. Users
  3. Archives
  4. Templates
  5. Articles
  6. MyGeneration Website
  7. MyGeneration Forums
Categories
    Application Type
    1. Command Line
    2. Graphical User Interface
    3. Library
    4. Sample
    5. Web Application
    Architecture Type
    1. Client-Server
    2. Distributed Computing
    3. Multi-Tier
    4. Peer-to-peer
    Operating System
    1. Linux
    2. Win32
    Programming Language
    1. ASP
    2. ASP.Net
    3. C#
    4. C++
    5. Firebird SQL
    6. J#
    7. Java
    8. Jet SQL
    9. JScript
    10. JSP
    11. MySQL
    12. Perl
    13. PHP
    14. PL/SQL
    15. PostgreSQL
    16. SQL
    17. Transact-SQL
    18. VB.Net
    19. VBScript
    20. XSLT
    Archive: Syntax Coloring Plug-in
    Author: vboctor
    Created: 1/25/2006 3:03:00 AM
    Last Updated: 1/25/2006 3:18:13 AM


    The Syntax Coloring Plug-in provides an easy way to syntax highlight a block of C#, VB.NET, J# or T-SQL code and put it into XHTML format.

    string CSharpToHtml(string code);       // usage: SyntaxColoring.CSharpToHtml(csharpCode)
    string VbNetToHtml(string code);
    string JSharpToHtml(string code);
    string TSqlToHtml(string code);

    The implementation of this syntax coloring engine is based on the AylarSolutions.Highlight (Copyright (c) 2003 Aylar Solutions. All rights reserved). The plug-in intrinsic object acts as the fascade for the syntax coloring functionality. The fact that it internally uses Aylar Solutions implementation is an implementation detail that may be changed in future versions. The XML file for defining new languages is intentionally hidden for the time being. It will probably be exposed in future versions.

    To see an example of the usage of this class checkout the XHTML Database Report template:
    http://www.mygenerationsoftware.com/TemplateLibrary/File/?guid=23394c2f-8588-435f-a1a7-41fd7d371733

    This is a pre-release version, so based on feedback received, some interface breaking changes may be applied. MyGenSyntaxColoring.exe is an install that can be used to install or upgrade the plug-in. For the installation to take effect
    MyGeneration needs to be restarted. Regards, Victor http://www.futureware.biz
    Templates (by Title)
    UpdatedTitleOutput LanguageUsername# Downloads# Views
    1/25/2006 XHTML Database Report HTML vboctor 4244707
    Files (by FileName)
    Date UpdatedFileNameFile TypeFile SizeUsername# Downloads
    1/25/2006 MyGenSyntaxColoringPlugIn.exe Compiled Win3267217 vboctor 8162
    Articles (by Title)
    No matching records found.
    Related Archives (by Title)
    No matching records found.
    Messages (by Date Created)
    Date Created
    1/25/2006 5:27:22 AM by my.generation :
    Excellent work, I'm going to play around with your plug-in this weekend, again great work and thank you.
    Copyright © 2004 MyGeneration Software. All rights reserved.
    Feedback: feedback@mygenerationsoftware.com
    Support: support@mygenerationsoftware.com