Commit 24cb29c0 authored by Christoph Cullmann's avatar Christoph Cullmann

for all documented authors, use the new entries, let them show up in the config dialog

svn path=/trunk/kdelibs/kate/; revision=284848
parent 0e7c90c1
......@@ -10,7 +10,9 @@
<!-- 19.04.2003 wb Some more Enhancements -->
<!-- 18.04.2003 wb Enhancenment for Maior / Minor Comments and Full / ReadOnly Exports, Folds for Procedures, Records, Comments -->
<!-- 17.04.2003 wb Enhancements for Relation and Operators -->
<language name="Component-Pascal" version="1.04" kateversion="2.1" section="Sources" extensions="*.cp;*.bro" mimetype="text/x-component-pascal">
<language name="Component-Pascal" version="1.05" kateversion="2.1" section="Sources"
extensions="*.cp;*.bro" mimetype="text/x-component-pascal"
author="Werner Braun (wb@o3-software.de)" license="">
<highlighting>
<list name="keywords">
<item> BEGIN </item>
......
......@@ -39,7 +39,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
-->
<language name="GNU Assembler" version="1.03" kateversion="2.1" section="Sources" extensions="*.s;*.S" mimetype="text/x-asm">
<language name="GNU Assembler" version="1.04" kateversion="2.1" section="Sources"
extensions="*.s;*.S" mimetype="text/x-asm"
author="John Zaitseff (J.Zaitseff@zap.org.au), Roland Pabel (roland@pabel.name)" license="GPL">
<highlighting>
<list name="keywords">
<item>.abort</item>
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!-- Haskell syntax highlighting by Marcel Martin <mmar@freenet.de> -->
<language name="Haskell" version="1.01" kateversion="2.1" section="Sources" extensions="*.hs">
<language name="Haskell" version="1.02" kateversion="2.1" section="Sources"
extensions="*.hs"
author="Marcel Martin (mmar@freenet.de)" license="">
<highlighting>
<list name="keywords">
<item> case </item>
......
......@@ -3,7 +3,9 @@
<!-- author: Giancarlo Niccolai (giancarlo@niccolai.ws) -->
<!-- This file is released under GPL license 2.0 or any later version at your choice. -->
<!-- $Id$ -->
<language name="Inform" version="1.2" kateversion="2.1" section="Sources" extensions="*.inf;*.h" mimetype="text/x-inform-src">
<language name="Inform" version="1.21" kateversion="2.1" section="Sources"
extensions="*.inf;*.h" mimetype="text/x-inform-src"
author="Giancarlo Niccolai (giancarlo@niccolai.ws)" license="GPL">
<highlighting>
<list name="keywords">
<item> if </item>
......
......@@ -3,7 +3,9 @@
<!-- Author: Anders Lund <anders@alweb.dk> //-->
<!-- Minor changes: Joseph Wenninger <jowenn@kde.org> //-->
<!-- Full JavaScript 1.0 support by Whitehawk Stormchaser //-->
<language name="JavaScript" version="1.07" kateversion="2.1" section="Scripts" extensions="*.js" mimetype="text/x-javascript">
<language name="JavaScript" version="1.07" kateversion="2.1" section="Scripts"
extensions="*.js" mimetype="text/x-javascript"
author="Anders Lund (anders@alweb.dk), Joseph Wenninger (jowenn@kde.org), Whitehawk Stormchaser" license="">
<highlighting>
<list name="keywords">
<item> if </item>
......
[General]
Version=9
Version=11
CachedVersion=0
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!-- LDIF syntaxfile 1.0 by Andreas Hochsteger <e9625392@student.tuwien.ac.at> -->
<language name="LDIF" version="1.0" kateversion="2.1" section="Other" extensions="*.ldif" mimetype="application/directory">
<language name="LDIF" version="1.01" kateversion="2.1" section="Other"
extensions="*.ldif" mimetype="application/directory"
author="Andreas Hochsteger (e9625392@student.tuwien.ac.at)" license="">
<highlighting>
<list name="attributetypes">
<item>IPPhone</item>
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!-- literate Haskell syntax highlighting by Marcel Martin <mmar@freenet.de> -->
<language name="Literate Haskell" version="1.01" kateversion="2.1" section="Sources" extensions="*.lhs">
<language name="Literate Haskell" version="1.02" kateversion="2.1" section="Sources"
extensions="*.lhs"
author="Marcel Martin (mmar@freenet.de)" license="">
<highlighting>
<list name="keywords">
<item> case </item>
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="MAB-DB" version="1.01" kateversion="2.1" extensions="*.mab;*.MAB;*.Mab" section="Markup" mimetype="text/x-mab" casesensitive="0">
<language name="MAB-DB" version="1.01" kateversion="2.1"
extensions="*.mab;*.MAB;*.Mab" section="Markup" mimetype="text/x-mab" casesensitive="0">
<highlighting>
<contexts>
<context attribute="Normal Text" name="Section" lineEndContext="#stay" >
......
......@@ -2,7 +2,9 @@
<!DOCTYPE language SYSTEM "language.dtd">
<!-- Makefile syntaxfile v0.9 by Per Wigren <wigren@home.se> -->
<!-- Modified by Joseph Wenninger <jowenn@kde.org> -->
<language name="Makefile" version="1.02" kateversion="2.1" section="Other" extensions="" mimetype="text/x-makefile">
<language name="Makefile" version="1.03" kateversion="2.1" section="Other"
extensions="" mimetype="text/x-makefile"
author="Per Wigren (wigren@home.se)" license="">
<highlighting>
<list name = "keywords">
<item> include </item>
......
......@@ -31,11 +31,10 @@
$hask{ $key }{ value }; ## comments are not detected
HERE document delimiters - requires support for saving data in contexts.
$Id$
-->
<language name="Perl" version="1.09" kateversion="2.2" section="Scripts" extensions="*.pl;*.pm" mimetype="application/x-perl;text/x-perl">
<language name="Perl" version="1.10" kateversion="2.2" section="Scripts"
extensions="*.pl;*.pm" mimetype="application/x-perl;text/x-perl"
author="Anders Lund (anders@alweb.dk)" license="LGPL">
<highlighting>
<list name="keywords">
<item> if </item>
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="PHP" version="1.09" kateversion="2.1" section="Scripts" extensions="*.php;*.php3;*.wml;*.phtml;*.phtm;*.inc" mimetype="text/x-php4-src;text/x-php3-src;text/vnd.wap.wml">
<language name="PHP" version="1.09" kateversion="2.1" section="Scripts"
extensions="*.php;*.php3;*.wml;*.phtml;*.phtm;*.inc"
mimetype="text/x-php4-src;text/x-php3-src;text/vnd.wap.wml">
<highlighting>
<list name="control structures">
<item>as</item>
......
......@@ -4,9 +4,9 @@
Alain GIBAUD (alain.gibaud@univ-valenciennes.fr)
Small modifications for the new DTD by Joseph Wenninger <jowenn@kde.org>
-->
<language name="PicAsm" version="1.01" kateversion="2.0" section="Sources"
extensions="*.src;*.SRC;*.asm;*.ASM;*.pic;*.PIC" mimetype="text/x-PicSrc;text/x-PicHdr">
<language name="PicAsm" version="1.02" kateversion="2.0" section="Sources"
extensions="*.src;*.SRC;*.asm;*.ASM;*.pic;*.PIC" mimetype="text/x-PicSrc;text/x-PicHdr"
author="Alain GIBAUD (alain.gibaud@univ-valenciennes.fr)" license="">
<highlighting>
<list name="directives">
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!-- Pike syntax highlightning v1.0 by Paul Pogonyshev -->
<!-- FIXME: Find a way to prevent ranges (e.g. [1..] or [0..99]) from matching as floats. -pp -->
<language name="Pike" version="1.1" kateversion="2.1" section="Scripts" extensions="*.pike" mimetype="application/x-pike;text/x-pike" casesensitive="1">
<language name="Pike" version="1.1" kateversion="2.1" section="Scripts"
extensions="*.pike" mimetype="application/x-pike;text/x-pike" casesensitive="1"
author="Paul Pogonyshev" license="">
<highlighting>
<list name="keywords">
<item> break </item>
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!-- By: Rares Stanciulescu <rstanciu@operamail.com> -->
<!-- File location: ~/.kde/share/apps/katepart/syntax/progress.xml -->
<language name="progress" version="1.03" kateversion="2.1"
section="Other" extensions="*.p;*.w;*.i" casesensitive="0">
section="Other" extensions="*.p;*.w;*.i" casesensitive="0"
author="Rares Stanciulescu (rstanciu@operamail.com)" license="">
<highlighting>
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language>
<!-- Python syntax highlightning v0.9 by Per Wigren -->
<language name="Python" version="1.2" kateversion="2.1" section="Scripts" extensions="*.py;*.pyw" mimetype="application/x-python;text/x-python" casesensitive="1">
<language name="Python" version="1.21" kateversion="2.1" section="Scripts"
extensions="*.py;*.pyw" mimetype="application/x-python;text/x-python" casesensitive="1"
author="Per Wigren" license="">
<highlighting>
<list name="prep">
<item> import </item>
......
......@@ -7,7 +7,9 @@
Kate: http://www.kde.org/kate
R : http://www.r-project.org/
-->
<language version="1.02" kateversion="2.1" name="R Script" section="Scripts" extensions="*.R" mimetype="">
<language version="1.02" kateversion="2.1" name="R Script" section="Scripts"
extensions="*.R" mimetype=""
author="E.L. Willighagen" license="GPL">
<highlighting>
<list name="keywords">
<item> for </item>
......
<?xml version="1.0" encoding="UTF-8"?> <!-- KATE Syntax Highlighting for RSI IDL -->
<!DOCTYPE language SYSTEM "language.dtd"><!-- Created by Markus Fraenz,fraenz@linmpi.mpg.de Aug 2002 -->
<language name="RSI_IDL" version="1.03" kateversion="2.1" section="Sources" extensions="*.pro" mimetype="text/x-rsiidl-src">
<language name="RSI_IDL" version="1.04" kateversion="2.1" section="Sources"
extensions="*.pro" mimetype="text/x-rsiidl-src"
author="Markus Fraenz (fraenz@linmpi.mpg.de)" license="">
<highlighting>
<list name="reserved words">
<item> For </item>
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!-- Highlighting for Sieve scripts (RFC 3028) written by Petter E. Stokke -->
<language name="Sieve" version="1.0" kateversion="2.1" section="Scripts" extensions="*.siv" mimetype="application/sieve" priority="5">
<language name="Sieve" version="1.01" kateversion="2.1" section="Scripts"
extensions="*.siv" mimetype="application/sieve" priority="5"
author="Petter E. Stokke" license="">
<highlighting>
<list name="keywords">
<item> require </item>
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="SML" version="1.04" kateversion="2.1" section="Scripts" extensions="*.sml;*.ml" mimetype="">
<language name="SML" version="1.05" kateversion="2.1" section="Scripts"
extensions="*.sml;*.ml" mimetype=""
author="Christoph Cullmann (cullmann@kde.org)" license="LGPL">
<highlighting>
<list name="keywords">
<item> abstype </item>
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!-- Author: Shane Wright <me@shanewright.co.uk> -->
<!-- mySQL SQL, syntax definition based on sql.xml by Yury Lebedev -->
<language name="SQL-MySQL" version="1.05" kateversion="2.1" section="Other" extensions="*.sql;*.SQL" mimetype="text/x-sql" casesensitive="0">
<language name="SQL-MySQL" version="1.05" kateversion="2.1" section="Other"
extensions="*.sql;*.SQL" mimetype="text/x-sql" casesensitive="0"
author="Shane Wright (me@shanewright.co.uk)" license="">
<highlighting>
<list name="keywords">
<item> ACCESS </item>
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!-- Author: Shane Wright <me@shanewright.co.uk> -->
<!-- PostgreSQL SQL, syntax definition based on sql.xml by Yury Lebedev -->
<language name="SQL-PostgreSQL" version="1.03" kateversion="2.1" section="Other" extensions="*.sql;*.SQL" mimetype="text/x-sql" casesensitive="0">
<language name="SQL-PostgreSQL" version="1.04" kateversion="2.1" section="Other"
extensions="*.sql;*.SQL" mimetype="text/x-sql" casesensitive="0"
author="Shane Wright (me@shanewright.co.uk)" license="">
<highlighting>
<list name="keywords">
<item> ABORT </item>
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!-- Author: Yury Lebedev <yurylebedev@mail.ru> -->
<!-- Oracle9i SQL and PL/SQL syntax - ANSI SQL superset -->
<language name="SQL" version="1.04" kateversion="2.1" section="Scripts" extensions="*.sql;*.SQL" mimetype="text/x-sql" casesensitive="0">
<language name="SQL" version="1.05" kateversion="2.1" section="Scripts"
extensions="*.sql;*.SQL" mimetype="text/x-sql" casesensitive="0"
author="Yury Lebedev (yurylebedev@mail.ru)" license="">
<highlighting>
<list name="keywords">
<item> ACCESS </item>
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!-- Author: Alexander Dederer -->
<!-- Copyright: BSD copyright -->
<!-- Ported to Kate 2.0/ KWrite 4.0 by Joseph Wenninger (Updated by Simon Robins)-->
<language name="Tcl/Tk" version="1.03" kateversion="2.1" section="Scripts" extensions="*.tcl;*.tk" mimetype="text/x-tcl">
<language name="Tcl/Tk" version="1.04" kateversion="2.1" section="Scripts"
extensions="*.tcl;*.tk" mimetype="text/x-tcl"
author="Alexander Dederer, Simon Robins" license="BSD">
<highlighting>
<list name="keywords">
<item> after </item>
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!-- Author: John Christopher <John@animalsinneed.net> //-->
<language name="Velocity" version="1.02" kateversion="2.1" section="Scripts" extensions="*.vm;" mimetype="text/x-velocity-src;text/x-vm-src">
<language name="Velocity" version="1.03" kateversion="2.1" section="Scripts"
extensions="*.vm;" mimetype="text/x-velocity-src;text/x-vm-src"
author="John Christopher (John@animalsinneed.net)" license="">
<highlighting>
<list name="keywords">
<item> #set </item>
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!-- author: Yevgen Voronenko (ysv22@drexel.edu) -->
<!-- $Id$ -->
<language name="Verilog" version="1.04" kateversion="2.1" section="Sources" extensions="*.v;*.V;*.vl" mimetype="text/x-verilog-src">
<language name="Verilog" version="1.05" kateversion="2.1" section="Sources"
extensions="*.v;*.V;*.vl" mimetype="text/x-verilog-src"
author="Yevgen Voronenko (ysv22@drexel.edu)" license="">
<highlighting>
<list name="keywords">
<item> module </item>
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!-- author: Giancarlo Niccolai (giancarlo@niccolai.ws) -->
<!-- This file is released under GPL license 2.0 or any later version at your choice. -->
<!-- $Id -->
<language name="xHarbour" version="1.0" kateversion="2.1" section="Sources" extensions="*.prg;*.ch" mimetype="text/x-xharbour-src">
<language name="xHarbour" version="1.01" kateversion="2.1" section="Sources"
extensions="*.prg;*.ch" mimetype="text/x-xharbour-src"
author="Giancarlo Niccolai (giancarlo@niccolai.ws)" license="GPL">
<highlighting>
<list name="keywords">
......
......@@ -971,6 +971,7 @@ KateHlConfigPage::KateHlConfigPage (QWidget *parent)
QHBox *hb1 = new QHBox( gbInfo);
new QLabel( i18n("Author:"), hb1 );
author = new QLabel (hb1);
author->setTextFormat (Qt::RichText);
// license
QHBox *hb2 = new QHBox( gbInfo);
......@@ -1068,7 +1069,10 @@ void KateHlConfigPage::hlChanged(int z)
mimetypes->setText(hlData->mimetypes);
priority->setValue(hlData->priority);
author->setText (hl->author());
// split author string if needed into multiple lines !
QStringList l= QStringList::split (QRegExp("[,;]"), hl->author());
author->setText (l.join ("<br>"));
license->setText (hl->license());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment