Repository is developed by The SmartFactory (http://www.smartfactory.ca), a division of InBox Solutions (http://www.inboxsolutions.net)
Module Repository > Miscellaneous > SynHighlight Hack

Miscellaneous

Miscellaneous

SynHighlight Hack



Description:

This hack is a syntax highlighting support hack for XOOPS 2.x for various programming languages. Syntax highlighting modules included in package are for: С++, CSS (Cascading Style Sheets), Delphi (very simplified), DTD, Java (very simplified), JavaScript, MySQL, Perl, PHP, Python, Ruby, SQL, и XML.

Hack is based on Text_Highlighter PEAR module (by {Andrey Demenev} (lead)). As this module is under development now and in beta state, I included it's modified version in archive, that desn't require installation into the PEAR repository and requires only PEAR.php to work (PEAR core should be installed, of course). All syntax highlighting sucomponents are taken from there, except for Delphi and Java, which are built by myself in a hurry :).

Hack is applied using module.textsanitizer.php modifying, so it will work not only in native Xoops modules, but also in others like SmartFAQ, for example (I tested).

An example of syntax highlighting of Java language in SmartFAQ module can be seen here::


Example 1


Example 2

Features:
  • Syntax highlighting modules included in package are for: С++, CSS (Cascading Style Sheets), Delphi (very simplified), DTD, Java (very simplified), JavaScript, MySQL, Perl, PHP, Python, Ruby, SQL, и XML.

    Syntax highlighting works not only in native Xoops modules, but also in all others. SmartFAQ for example.

System Requirements:
  • Xoops 2.x

Submitter: FractalizeR
Publisher: FractalizeR
Released: 2005/02/02

Version: 1.0
Release Status: 
Downloads: 3543
File Size: 92.86 Kb

Rating:   (1 Vote)

Reviews:  (0)

Mirrors Available: 0

Download Times:
Modem(56k) : 15s
ISDN(64k) : 13s
DSL(768k) : 1s
LAN(10M) : 0.08s
 
Price: Free | Platform: 2.0.x | License: Sun Solaris Source Code (Foundation Release) License (v. 1.1) | Limitations: None

XOOPS Web Application System User Reviews

Other files by: FractalizeR
XHLD - Russian (2005/01/27)

SynHighlight Hack © copyright 2025 https://xoops.org

The comments are owned by the author. We aren't responsible for their content.

Login

Top Module Downloads

Who's Online

165 user(s) are online (11 user(s) are browsing Module Repository)


Members: 0


Guests: 165


more...

Donat-O-Meter

Stats
Goal: AU$15.00
Due Date: May 31
Gross Amount: AU$0.00
Net Balance: AU$0.00
Left to go: AU$15.00
Make donations with PayPal!