diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 84da08d7b7fcda12c85caeb5a10b4903770a6f69 (patch) | |
tree | 2a6aea76f2dfffb4cc04bb907c4725af94f70e72 /kate/filetemplates/templates/language.xml.katetemplate | |
download | tdeaddons-84da08d7b7fcda12c85caeb5a10b4903770a6f69.tar.gz tdeaddons-84da08d7b7fcda12c85caeb5a10b4903770a6f69.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate/filetemplates/templates/language.xml.katetemplate')
-rw-r--r-- | kate/filetemplates/templates/language.xml.katetemplate | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/kate/filetemplates/templates/language.xml.katetemplate b/kate/filetemplates/templates/language.xml.katetemplate new file mode 100644 index 0000000..420ba84 --- /dev/null +++ b/kate/filetemplates/templates/language.xml.katetemplate @@ -0,0 +1,60 @@ +katetemplate: Documentname=New language.xml (%N) Template=Kate Highlight Definition highlight=XML +katetemplate: Author=Dominik Haumann <[email protected]> +katetemplate: Description=This template will create the basics of a kate highlight definition file. +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<!-- + This file is part of KDE's kate project. + + copyright : (C) %{year} by %{fullname} + email : %{email} + + This file 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. +--> +<!-- + You'll find the "Writing a Kate Highlighting XML File HOWTO" at + http://kate.kde.org/doc/hlhowto.php + This is a template for the XML format used for syntax highlight descriptions + for the Kate text editor (http://kate.kde.org), which is part of the KDE + desktop environment (http://www.kde.org). + + Use it as the base for your own syntax files. + + Look at language.dtd for some documentation of the allowed elements and their attributes. + There is also a description of how to validate your syntax file. + + You'll find the "Writing a Kate Highlighting XML File HOWTO" at + http://kate.kde.org/doc/hlhowto.php + --> + +<language version="1.00" kateversion="2.4" name="${cursor}" section="${section}" extensions="${extensions}" mimetype="${mimetypes}" author="%{fullname}" licence="GPL"> + <highlighting> +<!-- + <list name="aList"> + <item></item> + </list> +--> + <contexts> + <context attribute="Normal Text" lineEndContext="#pop" name="Normal Text" > +<!-- <keyword attribute="Normal Text" context="#stay" String="aList" /> +--> + </context> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + </itemDatas> + </highlighting> + <general> + <keywords casesensitive="1" /> +<!-- + <comments> + <comment name="singleLine" start="" /> + <comment name="multiLine" start="" end="" /> + </comments> +--> + </general> +</language> +<!-- kate: space-indent on; indent-width 2; replace-tabs on; indent-mode xml; --> |