Update of
/cvsroot/geshi/geshi-src/geshi/themes/boride/d4/delphi
In directory
sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv21822/geshi/themes/
boride/d4/delphi
Modified Files:
delphi.php
Added Files:
asm.php
Log Message:
Moved delphi ASM stuff into it's own theme files because
it's now a dialect of delphi.
--- NEW FILE: asm.php ---
<?php
/**
* GeSHi - Generic Syntax Highlighter
* <pre>
* File: geshi/themes/boride/d4/delphi/asm.php
* Author: Benny Baumann
* E-mail: BenBE benbe.omorphia.de
* </pre>
*
* For information on how to use GeSHi, please consult the
documentation
* found in the docs/ directory, or online at http://geshi.org/docs/
*
* This program is part of GeSHi.
*
* This program is free software; you can redistribute it
and/or modify
* it under the terms of the GNU General Public License as
published by
* the Free Software Foundation; either version 2 of the
License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be
useful,
* but WITHOUT ANY WARRANTY; without even the implied
warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General
Public License
* along with this program; if not, write to the Free
Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
MA 02110-1301 USA
*
* package geshi
* subpackage lang
* author Benny Baumann <BenBE benbe.omorphia.de>, Nigel McNie <nigel geshi.org>
* license http://www.gnu.o
rg/copyleft/gpl.html GNU GPL
* copyright (C) 2005 - 2006 Benny Baumann, Nigel McNie
* version $Id: asm.php,v 1.1 2006/05/13 06:25:45
oracleshinoda Exp $
*
*/
/*
* Delphi ASM styles for boring Borland IDE theme
*/
$this->setStyle('start',
'color:#000;font-weight:bold;');
$this->setStyle('end',
'color:#000;font-weight:bold;');
$this->setStyle('keyword',
'color:#000;font-weight:bold;');
$this->setStyle('keyop',
'color:#000;font-weight:bold;');
$this->setStyle('control',
'color:#000;font-weight:bold;');
$this->setStyle('register', 'color:#000;');
$this->setStyle('instr/*',
'color:#000;font-weight:bold;');
?>
Index: delphi.php
============================================================
=======
RCS file:
/cvsroot/geshi/geshi-src/geshi/themes/boride/d4/delphi/delph
i.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** delphi.php 6 May 2006 17:40:16 -0000 1.2
--- delphi.php 13 May 2006 06:25:45 -0000 1.3
***************
*** 2,33 ****
/**
* GeSHi - Generic Syntax Highlighter
! *
* For information on how to use GeSHi, please consult the
documentation
* found in the docs/ directory, or online at http://geshi.org/docs/
*
! * This file is part of GeSHi.
! *
! * GeSHi is free software; you can redistribute it and/or
modify
* it under the terms of the GNU General Public License
as published by
* the Free Software Foundation; either version 2 of the
License, or
* (at your option) any later version.
*
! * GeSHi is distributed in the hope that it will be
useful,
* but WITHOUT ANY WARRANTY; without even the implied
warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the
* GNU General Public License for more details.
! *
* You should have received a copy of the GNU General
Public License
! * along with GeSHi; if not, write to the Free Software
! * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
MA 02110-1301 USA
! *
! * You can view a copy of the GNU GPL in the COPYING file
that comes
! * with GeSHi, in the docs/ directory.
*
! * package theme
! * author Benny Baumann <BenBE benbe.omorphia.de>, Nigel McNie <nigel geshi.org>
! * license http://www.gnu.o
rg/copyleft/gpl.html GNU GPL
! * copyright (C) 2005 Nigel McNie
! * version $Id$
*
*/
--- 2,36 ----
/**
* GeSHi - Generic Syntax Highlighter
! * <pre>
! * File: geshi/themes/boride/d4/delphi/delphi.php
! * Author: Benny Baumann
! * E-mail: BenBE benbe.omorphia.de
! * </pre>
! *
* For information on how to use GeSHi, please consult the
documentation
* found in the docs/ directory, or online at http://geshi.org/docs/
+ *
+ * This program is part of GeSHi.
*
! * This program is free software; you can redistribute it
and/or modify
* it under the terms of the GNU General Public License
as published by
* the Free Software Foundation; either version 2 of the
License, or
* (at your option) any later version.
*
! * This program is distributed in the hope that it will
be useful,
* but WITHOUT ANY WARRANTY; without even the implied
warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the
* GNU General Public License for more details.
! *
* You should have received a copy of the GNU General
Public License
! * along with this program; if not, write to the Free
Software
! * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
MA 02110-1301 USA
*
! * package geshi
! * subpackage lang
! * author Benny Baumann <BenBE benbe.omorphia.de>, Nigel McNie <nigel geshi.org>
! * license http://www.gnu.o
rg/copyleft/gpl.html GNU GPL
! * copyright (C) 2005 - 2006 Benny Baumann, Nigel McNie
! * version $Id$
*
*/
***************
*** 49,60 ****
$this->setStyle('keyword',
'color:#000;font-weight:bold;');
! $this->setStyle('asm', 'color:#000;');
! $this->setStyle('asm/start',
'color:#000;font-weight:bold;');
! $this->setStyle('asm/end',
'color:#000;font-weight:bold;');
! $this->setStyle('asm/keyword',
'color:#000;font-weight:bold;');
! $this->setStyle('asm/keyop',
'color:#000;font-weight:bold;');
! $this->setStyle('asm/control',
'color:#000;font-weight:bold;');
! $this->setStyle('asm/register', 'color:#000;');
! $this->setStyle('asm/instr/*',
'color:#000;font-weight:bold;');
?>
--- 52,56 ----
$this->setStyle('keyword',
'color:#000;font-weight:bold;');
! $this->loadStyles('delphi/asm');
?>
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
geshi-cvs mailing list
geshi-cvs lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geshi-cvs
|