[gtksourceview] Differentiated categories for desktop.lang
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtksourceview] Differentiated categories for desktop.lang
- Date: Thu, 26 Nov 2009 15:32:59 +0000 (UTC)
commit 5b68d356a76f83531c97e5c78462b38bacea45f4
Author: Karl Ostmo <kostmo pogo com>
Date: Thu Nov 26 16:24:23 2009 +0100
Differentiated categories for desktop.lang
gtksourceview/language-specs/desktop.lang | 43 +++++++++++++++++------------
1 files changed, 25 insertions(+), 18 deletions(-)
---
diff --git a/gtksourceview/language-specs/desktop.lang b/gtksourceview/language-specs/desktop.lang
index 9cfed93..c633314 100644
--- a/gtksourceview/language-specs/desktop.lang
+++ b/gtksourceview/language-specs/desktop.lang
@@ -38,7 +38,9 @@
<style id="boolean" _name="Boolean" map-to="def:floating-point"/>
<style id="exec-parameter" _name="Exec parameter" map-to="def:floating-point"/>
<style id="encoding" _name="Encoding" map-to="def:floating-point"/>
- <style id="category" _name="Category" map-to="def:floating-point"/>
+ <style id="category-main" _name="Main Category" map-to="def:reserved"/>
+ <style id="category-additional" _name="Additional Category" map-to="def:identifier"/>
+ <style id="category-reserved" _name="Reserved Category" map-to="def:note"/>
</styles>
<definitions>
@@ -122,22 +124,34 @@
<start>^(_?Categories)\%{key-suffix}</start>
<include>
<context sub-pattern="1" where="start" style-ref="key"/>
- <context style-ref="category">
+ <context style-ref="category-main">
+ <keyword>AudioVideo</keyword>
+ <keyword>Audio</keyword>
+ <keyword>Video</keyword>
+ <keyword>Shell</keyword>
+ <keyword>Development</keyword>
+ <keyword>Education</keyword>
+ <keyword>Game</keyword>
+ <keyword>Graphics</keyword>
+ <keyword>Network</keyword>
+ <keyword>Office</keyword>
+ <keyword>Settings</keyword>
+ <keyword>System</keyword>
+ <keyword>Utility</keyword>
+ </context>
+ <context style-ref="category-additional">
<keyword>2DGraphics</keyword>
<keyword>3DGraphics</keyword>
<keyword>Accessibility</keyword>
<keyword>ActionGame</keyword>
<keyword>AdventureGame</keyword>
<keyword>Amusement</keyword>
- <keyword>Applet</keyword>
<keyword>ArcadeGame</keyword>
<keyword>Archiving</keyword>
<keyword>ArtificialIntelligence</keyword>
<keyword>Art</keyword>
<keyword>Astronomy</keyword>
- <keyword>Audio</keyword>
<keyword>AudioVideoEditing</keyword>
- <keyword>AudioVideo</keyword>
<keyword>Biology</keyword>
<keyword>BlocksGame</keyword>
<keyword>BoardGame</keyword>
@@ -159,13 +173,11 @@
<keyword>DataVisualization</keyword>
<keyword>Debugger</keyword>
<keyword>DesktopSettings</keyword>
- <keyword>Development</keyword>
<keyword>Dialup</keyword>
<keyword>Dictionary</keyword>
<keyword>DiscBurning</keyword>
<keyword>Documentation</keyword>
<keyword>Economy</keyword>
- <keyword>Education</keyword>
<keyword>Electricity</keyword>
<keyword>Electronics</keyword>
<keyword>Email</keyword>
@@ -177,12 +189,10 @@
<keyword>FileTransfer</keyword>
<keyword>Finance</keyword>
<keyword>FlowChart</keyword>
- <keyword>Game</keyword>
<keyword>Geography</keyword>
<keyword>Geology</keyword>
<keyword>Geoscience</keyword>
<keyword>GNOME</keyword>
- <keyword>Graphics</keyword>
<keyword>GTK</keyword>
<keyword>GUIDesigner</keyword>
<keyword>HamRadio</keyword>
@@ -205,11 +215,9 @@
<keyword>Monitor</keyword>
<keyword>Motif</keyword>
<keyword>Music</keyword>
- <keyword>Network</keyword>
<keyword>News</keyword>
<keyword>NumericalAnalysis</keyword>
<keyword>OCR</keyword>
- <keyword>Office</keyword>
<keyword>P2P</keyword>
<keyword>PackageManager</keyword>
<keyword>ParallelComputing</keyword>
@@ -231,35 +239,34 @@
<keyword>RolePlaying</keyword>
<keyword>Scanning</keyword>
<keyword>Science</keyword>
- <keyword>Screensaver</keyword>
<keyword>Security</keyword>
<keyword>Sequencer</keyword>
- <keyword>Settings</keyword>
- <keyword>Shell</keyword>
<keyword>Simulation</keyword>
<keyword>SportsGame</keyword>
<keyword>Sports</keyword>
<keyword>Spreadsheet</keyword>
<keyword>StrategyGame</keyword>
- <keyword>System</keyword>
<keyword>Telephony</keyword>
<keyword>TelephonyTools</keyword>
<keyword>TerminalEmulator</keyword>
<keyword>TextEditor</keyword>
<keyword>TextTools</keyword>
<keyword>Translation</keyword>
- <keyword>TrayIcon</keyword>
<keyword>Tuner</keyword>
<keyword>TV</keyword>
- <keyword>Utility</keyword>
<keyword>VectorGraphics</keyword>
<keyword>VideoConference</keyword>
- <keyword>Video</keyword>
<keyword>Viewer</keyword>
<keyword>WebBrowser</keyword>
<keyword>WebDevelopment</keyword>
<keyword>WordProcessor</keyword>
</context>
+ <context style-ref="category-reserved">
+ <keyword>Screensaver</keyword>
+ <keyword>TrayIcon</keyword>
+ <keyword>Applet</keyword>
+ <keyword>Shell</keyword>
+ </context>
</include>
</context>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]