added eugtk examples

This commit is contained in:
2016-11-25 00:33:18 -07:00
parent 87a821e3da
commit c0b98b619e
877 changed files with 96872 additions and 0 deletions

View File

@ -0,0 +1,60 @@
<!DOCTYPE html>
<head>
<title>Eu Syntax files</title>
</head>
<body>
<hr />
<h3>Euphoria Syntax for text editors</h3>
<hr />
<img src="cc.png" alt="color coded syntax" border="1" />
<p>
These files allow you to do syntax highlighting for the Euphoria programming language.
</p>
<h5>To Install:</h5>
<p>
For programs using GTK2 -- i.e. Pluma, gedit, etc.<code><pre>
sudo cp euphoria.lang /usr/share/gtksourceview-2.0/language-specs/euphoria.lang
sudo cp gedit_syntax.xml /usr/share/mime/packages/
sudo cp classic.xml /usr/share/gtksourceview-2.0/styles/</pre></code>
</p>
<p>
For programs using GTK3 -- i.e. EuGTK Sourceview<code><pre>
sudo cp euphoria.lang /usr/share/gtksourceview-3.0/language-specs/euphoria.lang
sudo cp gedit_syntax.xml /usr/share/mime/packages/
sudo cp classic.xml /usr/share/gtksourceview-3.0/styles/</pre></code>
</p>
<p>
Actually, it doesn't hurt to do both :)
</p>
<p>
<h5>Optional, if you prefer these styles;</h5>
<code><pre>
sudo cp cobalt.xml /usr/share/gtksourceview-2.0/styles/
sudo cp oblivion.xml /usr/share/gtksourceview-2.0/styles/
sudo cp cobalt.xml /usr/share/gtksourceview-3.0/styles/
sudo cp oblivion.xml /usr/share/gtksourceview-3.0/styles/
</pre></code>
<h5>You may have to change permissions on the following files:</h5>
<code><pre>
sudo chmod 777 /usr/share/gtksourceview-2.0/language-specs/euphoria.lang
sudo chmod 777 /usr/share/gtksourceview-3.0/language-specs/euphoria.lang
</pre></code>
</p>
</body>
</html>

View File

@ -0,0 +1,106 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is part of GtkSourceView
Copyright (C) 2014 Joe Collins <joe@draw.academy>
GtkSourceView is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
GtkSourceView 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
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-->
<style-scheme id="build" _name="Build" version="1.0">
<author>Joe Collins</author>
<author>Vale Collins</author>
<_description>Emphasis on readability.</_description>
<!-- Build Palette -->
<color name="cardinal" value="#be2e19"/>
<color name="grass" value="#5C944A"/>
<color name="nautica" value="#3B637A"/>
<color name="fuschia" value="#B858A0"/>
<color name="base" value="#444"/>
<color name="sand" value="#F7E2C6"/>
<color name="muslin" value="#f8f4ed"/>
<color name="cobalt" value="#373ab0"/>
<color name="latte" value="#DEC5A6"/>
<color name="brick" value="#AD5F53"/>
<color name="reef" value="#4C9EA8"/>
<color name="charcoal" value="#38312f"/>
<color name="mesa" value="#b5684e"/>
<color name="heather" value="#D1829C"/>
<color name="concrete" value="#AB9E8E"/>
<color name="plum" value="#8A536A"/>
<!-- Global Settings -->
<style name="text" foreground="base" background="muslin"/>
<style name="selection" foreground="base" background="latte"/>
<style name="cursor" foreground="charcoal"/>
<style name="current-line" background="sand"/>
<style name="line-numbers" foreground="mesa" background="charcoal"/>
<style name="draw-spaces" foreground="base"/>
<!-- Bracket Matching -->
<style name="bracket-match" foreground="base" background="sand" bold="true"/>
<style name="bracket-mismatch" foreground="cardinal" bold="true"/>
<!-- Right Margin -->
<style name="right-margin" foreground="base" background="sand"/>
<!-- Search Matching -->
<style name="search-match" foreground="plum" background="latte"/>
<!-- Comments -->
<style name="def:comment" foreground="concrete"/>
<style name="def:shebang" foreground="reef" bold="true"/>
<style name="def:doc-comment-element" italic="true"/>
<!-- Constants -->
<style name="def:constant" foreground="plum"/>
<style name="def:string" foreground="grass"/>
<style name="def:special-char" foreground="heather"/>
<style name="def:special-constant" foreground="heather"/>
<style name="def:floating-point" foreground="heather"/>
<!-- Identifiers -->
<style name="def:identifier" foreground="brick"/>
<!-- Statements -->
<style name="def:statement" foreground="nautica"/>
<!-- Types -->
<style name="def:type" foreground="reef"/>
<!-- Others -->
<style name="def:preprocessor" foreground="fuschia"/>
<style name="def:error" foreground="cardinal" bold="true"/>
<style name="def:warning" foreground="brick"/>
<style name="def:note" background="heather" bold="true"/>
<style name="def:underlined" italic="true" underline="true"/>
<!-- Language specific -->
<style name="diff:added-line" foreground="grass"/>
<style name="diff:removed-line" foreground="brick"/>
<style name="diff:changed-line" foreground="plum"/>
<style name="diff:diff-file" foreground="nautica"/>
<style name="diff:location" foreground="fuschia"/>
<style name="diff:special-case" foreground="reef"/>
<style name="latex:display-math" foreground="fuschia"/>
<style name="latex:command" foreground="nautica" bold="true"/>
<style name="latex:include" use-style="def:preprocessor"/>
</style-scheme>

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

View File

@ -0,0 +1,112 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is part of GtkSourceView
Copyright (C) 2006-2007 GtkSourceView team
Author: Yevgen Muntyan <muntyan@tamu.edu>
GtkSourceView is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
GtkSourceView 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
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-->
<style-scheme id="classic" _name="Classic" version="1.0">
<author>GtkSourceView team</author>
<_description>Classic color scheme</_description>
<!-- The scheme tries to look like the default GVim scheme,
since it is also what the hardwired GtkSourceView 1 color
scheme did -->
<!-- Palette -->
<color name="white" value="#FFFFFF"/>
<color name="blue" value="#0000FF"/>
<color name="magenta" value="#FF00FF"/>
<color name="violet" value="#6A5ACD"/>
<color name="cyan" value="#008A8C"/>
<color name="gray" value="#BEBEBE"/>
<color name="green" value="#2E8B57"/>
<color name="bordeaux" value="#A52A2A"/>
<color name="red" value="#FF0000"/>
<color name="yellow" value="#FFFF00"/>
<color name="purple" value="#A020F0"/>
<!-- Global Settings -->
<style name="current-line" background="#eeeeec"/>
<style name="draw-spaces" foreground="#babdb6"/>
<!-- Bracket Matching -->
<style name="bracket-match" foreground="green" background="gray" bold="true"/>
<style name="bracket-mismatch" foreground="red" background="red" bold="true"/>
<!-- Right Margin -->
<style name="right-margin" foreground="#000000" background="#000000"/>
<!-- Search Matching -->
<style name="search-match" background="yellow"/>
<!-- Comments -->
<style name="def:comment" foreground="red"/>
<style name="def:shebang" foreground="blue" bold="true"/>
<style name="def:doc-comment-element" italic="true"/>
<!-- Constants -->
<style name="def:constant" foreground="magenta"/>
<style name="def:special-char" foreground="violet"/>
<!-- Identifiers -->
<style name="def:identifier" foreground="cyan"/>
<!-- Statements -->
<style name="def:statement" foreground="blue" bold="false"/>
<!-- Types -->
<style name="def:type" foreground="bordeaux" bold="true"/>
<!-- Others -->
<style name="def:preprocessor" foreground="purple"/>
<style name="def:error" background="red" bold="true"/>
<style name="def:warning" background="yellow" bold="true"/>
<style name="def:string" foreground="green"/>
<style name="def:functions" foreground="blue" bold="true"/>
<style name="def:note" foreground="blue" background="yellow" bold="true"/>
<style name="def:underlined" italic="true" underline="true"/>
<!-- Language specific styles -->
<style name="diff:added-line" foreground="#008B8B"/>
<style name="diff:removed-line" foreground="#6A5ACD"/>
<style name="diff:changed-line" use-style="def:preprocessor"/>
<style name="diff:special-case" use-style="def:constant"/>
<style name="diff:location" use-style="def:statement"/>
<style name="diff:diff-file" use-style="def:type"/>
<style name="xml:tags" foreground="cyan"/>
<style name="xml:attribute-name" foreground="violet"/>
<style name="xml:namespace" foreground="green" bold="true"/>
<style name="js:object" foreground="#2E8B57" bold="true"/>
<style name="js:constructors" foreground="#008B8B"/>
<style name="latex:display-math" foreground="#6A5ACD"/>
<style name="latex:command" foreground="#2E8B57" bold="true"/>
<style name="latex:include" use-style="def:preprocessor"/>
<style name="sh:variable" foreground="#6A5ACD"/>
<!-- legacy styles for old lang files -->
<style name="Others" foreground="#2E8B57" bold="true"/>
<style name="Others 2" foreground="#008B8B"/>
<style name="Others 3" foreground="#6A5ACD"/>
</style-scheme>

View File

@ -0,0 +1,135 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2006-2007 Will Farrington <wcfarrington@gmail.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library 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
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
Theme based on the style of the same name from pastie.caboo.se
-->
<style-scheme id="cobalt" _name="Cobalt" version="1.0">
<author>Will Farrington</author>
<_description>Blue based color scheme</_description>
<!-- Colors -->
<color name="faded_yellow" value="#ffee80"/>
<color name="bright_orange" value="#ff9d00"/>
<color name="faded_orange" value="#ffb054"/>
<color name="nail_polish_pink" value="#ff0044"/>
<color name="neon_pink" value="#ffdd00"/>
<color name="sky_blue" value="#0088ff"/>
<color name="teal_blue" value="#80ffbb"/>
<color name="light_blue" value="#0065bf"/>
<color name="medium_blue" value="#003b70"/>
<color name="dark_blue" value="#001b33"/>
<color name="black_blue" value="#000d1a"/>
<color name="white" value="#ffffff"/>
<color name="pale_grey" value="#eeeeee"/>
<color name="steel_grey" value="#333333"/>
<color name="spring_green" value="#3ad900"/>
<color name="sea_green" value="#00BF8C"/>
<color name="light_grey" value="#cccccc"/>
<color name="dark_red" value="#990000"/>
<color name="bluish_grey" value="#777777"/>
<color name="steelblue3" value="#4f94cd"/>
<color name="red" value="#FF0000"/>
<!-- Global Settings -->
<style name="text" foreground="white" background="dark_blue"/>
<style name="selection" foreground="white" background="sky_blue"/>
<style name="cursor" foreground="white"/>
<style name="current-line" background="medium_blue"/>
<style name="line-numbers" foreground="light_blue" background="black_blue"/>
<style name="draw-spaces" foreground="bluish_grey"/>
<!-- Bracket Matching -->
<style name="bracket-match" background="steelblue3"/>
<style name="bracket-mismatch" background="dark_red" bold="true"/>
<!-- Search Matching -->
<style name="search-match" foreground="white" background="sea_green"/>
<!-- Bookmarks FIXME -->
<style name="bookmark" background="white"/>
<!-- Comments -->
<style name="def:comment" foreground="red"/>
<style name="def:shebang" foreground="sky_blue" italic="true"/>
<style name="def:doc-comment-element" bold="true"/>
<!-- Constants and Variables-->
<style name="def:constant" foreground="faded_yellow"/>
<style name="def:string" foreground="spring_green"/>
<style name="def:special-char" foreground="light_grey"/>
<style name="def:special-constant" foreground="nail_polish_pink" bold="true"/>
<style name="def:number" foreground="nail_polish_pink"/>
<style name="def:floating-point" foreground="nail_polish_pink"/>
<style name="def:keyword" foreground="bright_orange" bold="true"/>
<style name="def:builtin" foreground="bright_orange" bold="true"/>
<style name="def:variable" foreground="light_grey"/>
<!-- Identifiers -->
<style name="def:identifier" foreground="light_grey"/>
<style name="def:function" use-style="def:identifier"/>
<!-- Statements -->
<style name="def:statement" foreground="bright_orange"/>
<!-- Types -->
<style name="def:type" foreground="teal_blue"/>
<!-- Others -->
<style name="def:error" foreground="white" background="dark_red" bold="true"/>
<style name="def:note" foreground="neon_pink" bold="true"/>
<style name="def:net-address-in-comment" foreground="teal_blue" italic="false" underline="true"/>
<style name="def:preprocessor" foreground="light_grey"/>
<!-- Unknown? -->
<style name="def:specials" foreground="white" background="neon_pink"/>
<style name="def:boolean" foreground="nail_polish_pink"/>
<!-- C Styles -->
<style name="c:preprocessor" foreground="teal_blue" bold="true"/>
<style name="c:included-file" foreground="spring_green"/>
<style name="c:common-defines" foreground="sky_blue" bold="true"/>
<!-- Diff Styles -->
<style name="diff:ignore" foreground="bluish_grey"/>
<style name="diff:added-line" foreground="faded_yellow"/>
<style name="diff:removed-line" foreground="spring_green"/>
<style name="diff:changed-line" foreground="bright_orange"/>
<style name="diff:diff-file" foreground="sky_blue" bold="true"/>
<style name="diff:location" foreground="sky_blue"/>
<style name="diff:special-case" foreground="nail_polish_pink" bold="true"/>
<!-- Ruby Styles -->
<style name="ruby:module-handler" foreground="teal_blue"/>
<style name="ruby:symbol" foreground="nail_polish_pink"/>
<style name="ruby:regex" foreground="teal_blue"/>
<!-- SH Styles -->
<style name="sh:function" foreground="neon_pink"/>
<!-- XML Styles -->
<style name="xml:attribute-name" foreground="light_grey"/>
<style name="xml:element-name" foreground="teal_blue"/>
<style name="xml:entity" foreground="#blue"/>
<style name="xml:processing-instruction" bold="true"/>
</style-scheme>

View File

@ -0,0 +1,254 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Author: Mario Steele <mario@ruby-im.net>
This library 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-->
<language id="euphoria" _name="Euphoria" version="2.0" _section="Scripts">
<metadata>
<property name="mimetypes">application/euphoria;text/euphoria</property>
<property name="globs">*.e;*.ew;*.eu;*.ex;*.exw;*.exu</property>
<property name="line-comment-start">--</property>
</metadata>
<styles>
<style id="keyword" _name="Keyword" map-to="def:keyword" />
<style id="builtin" _name="Builtin" map-to="def:type" />
<style id="decimal" _name="Decimal number" map-to="def:decimal"/>
<style id="base-n-integer" _name="Base-N number" map-to="def:note"/>
<style id="comment" _name="Comment" map-to="def:comment"/>
<style id="string" _name="String" map-to="def:string"/>
<style id="char" _name="Character" map-to="def:character"/>
<style id="boolean" _name="Boolean value" map-to="def:boolean"/>
</styles>
<definitions>
<define-regex id="escaped-character" extended="true">
\\( # leading backslash
[\\\"\'nrbtfav\?] | # escaped character
[0-7]{1,3} | # one, two, or three octal digits
x[0-9A-Fa-f]+ # 'x' followed by hex digits
)
</define-regex>
<context id="keyword" style-ref="keyword">
<keyword>and</keyword>
<keyword>as</keyword>
<keyword>break</keyword>
<keyword>by</keyword>
<keyword>case</keyword>
<keyword>constant</keyword>
<keyword>continue</keyword>
<keyword>do</keyword>
<keyword>else</keyword>
<keyword>elsedef</keyword>
<keyword>elsif</keyword>
<keyword>elsifdef</keyword>
<keyword>end</keyword>
<keyword>entry</keyword>
<keyword>enum</keyword>
<keyword>exit</keyword>
<keyword>export</keyword>
<keyword>for</keyword>
<keyword>function</keyword>
<keyword>global</keyword>
<keyword>goto</keyword>
<keyword>if</keyword>
<keyword>ifdef</keyword>
<keyword>include</keyword>
<keyword>label</keyword>
<keyword>loop</keyword>
<keyword>namespace</keyword>
<keyword>not</keyword>
<keyword>or</keyword>
<keyword>override</keyword>
<keyword>procedure</keyword>
<keyword>public</keyword>
<keyword>retry</keyword>
<keyword>return</keyword>
<keyword>switch</keyword>
<keyword>then</keyword>
<keyword>to</keyword>
<keyword>type</keyword>
<keyword>until</keyword>
<keyword>while</keyword>
<keyword>with</keyword>
<keyword>without</keyword>
<keyword>xor</keyword>
</context>
<context id="builtin" style-ref="builtin">
<keyword>abort</keyword>
<keyword>and_bits</keyword>
<keyword>append</keyword>
<keyword>arctan</keyword>
<keyword>atom</keyword>
<keyword>c_func</keyword>
<keyword>c_proc</keyword>
<keyword>call</keyword>
<keyword>call_func</keyword>
<keyword>call_proc</keyword>
<keyword>clear_screen</keyword>
<keyword>close</keyword>
<keyword>command_line</keyword>
<keyword>compare</keyword>
<keyword>connect</keyword>
<keyword>cos</keyword>
<keyword>date</keyword>
<keyword>display</keyword>
<keyword>equal</keyword>
<keyword>find</keyword>
<keyword>find_from</keyword>
<keyword>floor</keyword>
<keyword>format</keyword>
<keyword>get_key</keyword>
<keyword>get_pixel</keyword>
<keyword>getc</keyword>
<keyword>getenv</keyword>
<keyword>gets</keyword>
<keyword>hash</keyword>
<keyword>head</keyword>
<keyword>include_paths</keyword>
<keyword>insert</keyword>
<keyword>integer</keyword>
<keyword>length</keyword>
<keyword>log</keyword>
<keyword>machine_func</keyword>
<keyword>machine_proc</keyword>
<keyword>match</keyword>
<keyword>match_from</keyword>
<keyword>mem_copy</keyword>
<keyword>mem_set</keyword>
<keyword>not_bits</keyword>
<keyword>object</keyword>
<keyword>open</keyword>
<keyword>option_switches</keyword>
<keyword>or_bits</keyword>
<keyword>peek</keyword>
<keyword>peeks</keyword>
<keyword>peek_string</keyword>
<keyword>peek2s</keyword>
<keyword>peek2u</keyword>
<keyword>peek4s</keyword>
<keyword>peek4u</keyword>
<keyword>pixel</keyword>
<keyword>platform</keyword>
<keyword>poke</keyword>
<keyword>poke2</keyword>
<keyword>poke4</keyword>
<keyword>position</keyword>
<keyword>power</keyword>
<keyword>prepend</keyword>
<keyword>print</keyword>
<keyword>printf</keyword>
<keyword>profile</keyword>
<keyword>profile_time</keyword>
<keyword>puts</keyword>
<keyword>rand</keyword>
<keyword>remainder</keyword>
<keyword>remove</keyword>
<keyword>repeat</keyword>
<keyword>replace</keyword>
<keyword>routine_id</keyword>
<keyword>set</keyword>
<keyword>sequence</keyword>
<keyword>sin</keyword>
<keyword>splice</keyword>
<keyword>sprintf</keyword>
<keyword>sqrt</keyword>
<keyword>system</keyword>
<keyword>system_exec</keyword>
<keyword>tan</keyword>
<keyword>tail</keyword>
<keyword>task_clock_start</keyword>
<keyword>task_clock_stop</keyword>
<keyword>task_create</keyword>
<keyword>task_list</keyword>
<keyword>task_schedule</keyword>
<keyword>task_self</keyword>
<keyword>task_status</keyword>
<keyword>task_suspend</keyword>
<keyword>task_yield</keyword>
<keyword>time</keyword>
<keyword>trace</keyword>
<keyword>warning</keyword>
<keyword>create</keyword>
<keyword>set</keyword>
<keyword>get</keyword>
<keyword>add</keyword>
<keyword>connect</keyword>
<keyword>pack_start</keyword>
<keyword>pack_end</keyword>
<keyword>show</keyword>
<keyword>show_all</keyword>
<keyword>main</keyword>
<keyword>Info</keyword>
<keyword>Question</keyword>
<keyword>Warn</keyword>
<keyword>Error</keyword>
<keyword>Custom</keyword>
</context>
<context id="decimal" style-ref="decimal">
<match>(?&lt;![\w\.])([1-9](_?[0-9])*|0)(?![\w\.])</match>
</context>
<context id="hex" style-ref="base-n-integer">
<match>(?&lt;![\w\.])#[0-9A-Fa-f](_?[0-9A-Fa-f])*(?![\w\.])</match>
</context>
<context id="string" style-ref="string" end-at-line-end="false" class="string">
<start>["`]</start>
<end>\%{0@start}</end>
</context>
<context id="char" style-ref="char">
<match>L?'(\%{escaped-character}|.)'</match>
</context>
<context id="boolean" style-ref="boolean">
<keyword>TRUE</keyword>
<keyword>FALSE</keyword>
<keyword>NULL</keyword>
</context>
<context id="comment" style-ref="comment" end-at-line-end="true">
<start>--</start>
<include>
<context ref="def:in-line-comment" />
</include>
</context>
<context id="euphoria">
<include>
<context ref="def:shebang" />
<context ref="builtin" />
<context ref="keyword" />
<context ref="decimal" />
<context ref="hex" />
<context ref="string" />
<context ref="char" />
<context ref="boolean" />
<context ref="comment" />
</include>
</context>
</definitions>
</language>

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/euphoria">
<comment>Euphoria Source Code File</comment>
<glob pattern="*.e;*.ew;*.eu;*.ex;*.exw;*.exu"/>
<sub-class-of type="application/text"/>
</mime-type>
</mime-info>

View File

@ -0,0 +1,113 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2007 GtkSourceView team
Author: Paolo Borelli <pborelli@gnome.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library 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
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
-->
<style-scheme id="oblivion" _name="Oblivion" version="1.0">
<author>Paolo Borelli</author>
<_description>Dark color scheme using the Tango color palette</_description>
<!-- Tango Palette -->
<color name="butter1" value="#fce94f"/>
<color name="butter2" value="#edd400"/>
<color name="butter3" value="#c4a000"/>
<color name="chameleon1" value="#8ae234"/>
<color name="chameleon2" value="#73d216"/>
<color name="chameleon3" value="#4e9a06"/>
<color name="orange1" value="#fcaf3e"/>
<color name="orange2" value="#f57900"/>
<color name="orange3" value="#ce5c00"/>
<color name="skyblue1" value="#729fcf"/>
<color name="skyblue2" value="#3465a4"/>
<color name="skyblue3" value="#204a87"/>
<color name="plum1" value="#ad7fa8"/>
<color name="plum2" value="#75507b"/>
<color name="plum3" value="#5c3566"/>
<color name="chocolate1" value="#e9b96e"/>
<color name="chocolate2" value="#c17d11"/>
<color name="chocolate3" value="#8f5902"/>
<color name="scarletred1" value="#ef2929"/>
<color name="scarletred2" value="#cc0000"/>
<color name="scarletred3" value="#a40000"/>
<color name="aluminium1" value="#eeeeec"/>
<color name="aluminium2" value="#d3d7cf"/>
<color name="aluminium3" value="#babdb6"/>
<color name="aluminium4" value="#888a85"/>
<color name="aluminium5" value="#555753"/>
<color name="aluminium6" value="#2e3436"/>
<color name="red" value="#FF0000"/>
<!-- Global Settings -->
<style name="text" foreground="aluminium2" background="aluminium6"/>
<style name="selection" foreground="aluminium1" background="aluminium4"/>
<style name="cursor" foreground="aluminium2"/>
<style name="current-line" background="aluminium5"/>
<style name="line-numbers" foreground="aluminium5" background="#black"/>
<style name="draw-spaces" foreground="aluminium4"/>
<!-- Bracket Matching -->
<style name="bracket-match" foreground="aluminium1" background="aluminium3" bold="true"/>
<style name="bracket-mismatch" foreground="aluminium1" background="scarletred2" bold="true"/>
<!-- Right Margin -->
<style name="right-margin" foreground="aluminium1" background="aluminium4"/>
<!-- Search Matching -->
<style name="search-match" foreground="aluminium1" background="chameleon3"/>
<!-- Comments -->
<style name="def:comment" foreground="red"/>
<style name="def:shebang" foreground="aluminium4" bold="true"/>
<style name="def:doc-comment-element" italic="true"/>
<!-- Constants -->
<style name="def:constant" foreground="butter2"/>
<style name="def:string" foreground="butter2"/>
<style name="def:special-char" foreground="orange3"/>
<style name="def:special-constant" foreground="orange3"/>
<style name="def:floating-point" foreground="orange3"/>
<!-- Identifiers -->
<style name="def:identifier" foreground="skyblue1"/>
<!-- Statements -->
<style name="def:statement" foreground="#white" bold="true"/>
<!-- Types -->
<style name="def:type" foreground="chameleon1" bold="true"/>
<!-- Others -->
<style name="def:preprocessor" foreground="plum1"/>
<style name="def:error" foreground="aluminium1" background="scarletred2" bold="true"/>
<style name="def:note" background="butter1" foreground="aluminium4" bold="true"/>
<style name="def:underlined" italic="true" underline="true"/>
<!-- Language specific -->
<style name="diff:added-line" foreground="butter2"/>
<style name="diff:removed-line" foreground="skyblue1"/>
<style name="diff:changed-line" foreground="plum1"/>
<style name="diff:diff-file" foreground="chameleon1" bold="true"/>
<style name="diff:location" foreground="chameleon1"/>
<style name="diff:special-case" foreground="#white" bold="true"/>
</style-scheme>