Kaydet (Commit) c9f7afaf authored tarafından Nick Treleaven's avatar Nick Treleaven

Add alternative color scheme based on Python colors.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5307 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 3c0d7a94
......@@ -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>
......
......@@ -25,7 +25,8 @@ SYS_DATA_FILES = \
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-local:
$(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
......
# 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
......@@ -525,6 +525,7 @@ def build(bld):
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'
......
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