SF.net SVN: geany:[5307] trunk
ntrel at users.sourceforge.net
ntrel at xxxxx
Wed Oct 20 12:29:27 UTC 2010
Revision: 5307
http://geany.svn.sourceforge.net/geany/?rev=5307&view=rev
Author: ntrel
Date: 2010-10-20 12:29:27 +0000 (Wed, 20 Oct 2010)
Log Message:
-----------
Add alternative color scheme based on Python colors.
Modified Paths:
--------------
trunk/ChangeLog
trunk/Makefile.am
trunk/wscript
Added Paths:
-----------
trunk/data/colorschemes/
trunk/data/colorschemes/alt.conf
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2010-10-20 12:11:07 UTC (rev 5306)
+++ trunk/ChangeLog 2010-10-20 12:29:27 UTC (rev 5307)
@@ -3,6 +3,8 @@
* src/highlighting.c:
Use radio buttons for View->Editor->Color Schemes menu.
Don't hide the menu when only the default item is available.
+ * data/colorschemes, data/colorschemes/alt.conf, wscript, Makefile.am:
+ Add alternative color scheme based on Python colors.
2010-10-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Modified: trunk/Makefile.am
===================================================================
--- trunk/Makefile.am 2010-10-20 12:11:07 UTC (rev 5306)
+++ trunk/Makefile.am 2010-10-20 12:29:27 UTC (rev 5307)
@@ -25,7 +25,8 @@
data/snippets.conf \
data/ui_toolbar.xml \
$(srcdir)/data/templates/* \
- $(srcdir)/data/templates/files/*
+ $(srcdir)/data/templates/files/* \
+ $(srcdir)/data/colorschemes/*
EXTRA_DIST = \
autogen.sh \
@@ -77,6 +78,12 @@
$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdatadir)/templates/files/; \
fi \
done
+ $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/colorschemes;
+ for file in $(srcdir)/data/colorschemes/*; do \
+ if test -f $$file; then \
+ $(INSTALL_DATA) $$file $(DESTDIR)$(pkgdatadir)/colorschemes/; \
+ fi \
+ done
BZIP2_ENV =--best
Added: trunk/data/colorschemes/alt.conf
===================================================================
--- trunk/data/colorschemes/alt.conf (rev 0)
+++ trunk/data/colorschemes/alt.conf 2010-10-20 12:29:27 UTC (rev 5307)
@@ -0,0 +1,24 @@
+# Set of styles like the Geany <= 0.19 Python/script defaults with gray comments.
+
+[named_styles]
+# style names to use in filetypes.* [styling] sections
+# use foreground;background;bold;italic
+# normally background should be left blank to use the "default" style
+
+default=0x000000;0xffffff
+comment=0x808080
+commentdoc=0x404000
+number=0x400080
+# keyword
+word=0x600080;;true
+# e.g. global types from a *.c.tags file
+word2=0x9f0200;;true
+string=0x008000
+preprocessor=0x007f7f
+operator=0x300080
+# unterminated string
+stringeol=0x000000;0xe0c0e0
+type=0x0000d0;;true
+
+
+
Property changes on: trunk/data/colorschemes/alt.conf
___________________________________________________________________
Added: svn:keywords
+ Author Date Id Revision
Added: svn:eol-style
+ native
Modified: trunk/wscript
===================================================================
--- trunk/wscript 2010-10-20 12:11:07 UTC (rev 5306)
+++ trunk/wscript 2010-10-20 12:29:27 UTC (rev 5307)
@@ -525,6 +525,7 @@
bld.install_files('${DATADIR}/%s' % dir, 'data/ui_toolbar.xml')
bld.install_files('${DATADIR}/%s/templates' % dir, 'data/templates/*.*')
bld.install_files('${DATADIR}/%s/templates/files' % dir, 'data/templates/files/*.*')
+ bld.install_files('${DATADIR}/%s/colorschemes' % dir, 'data/colorschemes/*.*')
bld.install_as('${DATADIR}/%s/GPL-2' % dir, 'COPYING')
# Icons
bld.install_files('${PREFIX}/share/icons'
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list