Giter Club home page Giter Club logo

geany-dark-scheme's Introduction

geany-dark-scheme

Geany Dark Scheme Icon

This is a dark syntax colouring theme for the Geany text editor.

Screenshot of Geany Dark Scheme

Please help us extend the geany-dark theme to support new languages! Please extend the current theme by using the colours from one of the existing syntax files - that way they all play nice together.

Language Support

The scheme currently supports highlighting for these languages:

  • .c - C languages files (contributed by Paulo Cabido)
  • .cs - C# language files (contributed by Duncan Lock)
  • .cpp - C++ (contributed by gtk.monkey)
  • .conf - Apache (and Geany) style .conf files (contributed by Duncan Lock)
  • .css - Cascading Stylesheet files (contributed by Roman Snitko)
  • .d - d language files (contributed by gtk.monkey)
  • .docbook - Docbook mark-up files (contributed by gmunkhbaatarmn)
  • .haskel - Haskel code (contributed by Dave.Sarman)
  • .html - Hypertext Markup Language file - web pages (contributed by Roman Snitko, Javascript support added by Daniel Mlodecki)
  • .java - Java language files (contributed by Paulo Cabido)
  • .javascript - Javascript scripts (Duncan Lock, partially based on GeanyDarkTango?)
  • .latex - Latex files (contributed by Enrico Tröger)
  • .lua - Lua script files (contributed by curtstrangward)
  • .markdown - Markdown text files (contributed by pho3nixf1re84)
  • .NSIS - Nullsoft Scriptable Installer System scripts (contributed by mr.soup12, modified by Duncan Lock)
  • .pascal - Pascal code (contributed by gtk.monkey)
  • .perl - Perl language files (contributed by Roman Snitko)
  • .php (contributed by Roman Snitko, improved by s5n43K3s)
  • .py - Python language files (contributed by Nicolas Hainaux)
  • .r - R stats language (contributed by weibullguy)
  • .rb - Ruby language files (contributed by Roman Snitko)
  • .sh - Bash shell scripts (contributed by Duncan Lock)
  • .sql - SQL database query files (contributed by Duncan Lock)
  • .yaml - YAML files (contributed by pho3nixf1re84)
  • .vala - Vala language files (contributed by boromil)
  • .xml - Extensible Markup Language files (contributed by Roman Snitko)

How to Install the Theme

Linux: (Ubuntu)

Local User (just for you):

The simplest way to do this is to copy the contents of the filedefs folder into the ~/.config/geany/filedefs/ folder. This means that you can only have one theme installed at a time, though.

A better way, is to copy the contents filedefs folder into a ~/.config/geany/geany_dark_filedefs/ folder, creating the folder if it doesn't already exist. Then create a symlink to that folder:

ln -s ~/.config/geany/geany_dark_filedefs/ ~/.config/geany/filedefs

This allows you to have several themes stored in your ~/.config/geany/ folder, and to change which one you're using by changing where the ~/.config/geany/filedefs symlink points.

System Wide:

BE SURE TO BACK UP THE EXISTING FILEDEFS IF YOU DON'T WANT TO LOSE THEM!

Copy the filedefs folder into /usr/share/geany/

NOTE: Geany may be installed in /usr/local/geany/ or /opt/geany/ depending on your OS or your installation method. Be sure to choose the correct directory. This method means that your filedef files will get overwritten when you upgrade Geany and also means that you can only have one theme installed at a time.

Windows:

Copy the contents of the filedefs folder to...

Current User only:

%APPDATA%\geany\filedefs

System Wide:

BE SURE TO BACK UP THE EXISTING FILEDEFS IF YOU DON'T WANT TO LOSE THEM!

C:\Program Files\Geany\data

NOTE: This method means that your filedef files will get overwritten when you upgrade Geany and also means that you can only have one theme installed at a time.

geany-dark-scheme's People

Contributors

dflock avatar wayn0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

geany-dark-scheme's Issues

NSIS Coloring Scheme

Hi Duncan.  I hope it is acceptable that I place this coding scheme here. 
I tried twice on the wiki page without being able to format it like I wished.

I noticed that you dropped support for NSIS in this release.  This saddened
me as I author most of my code in NSIS.

A few days ago I upload the filetypes.nsis to the online editor and played
with the coloring.  This is the resulting file.  I still have some things I
would like to add, but this is a fully functional filetypes file (except
for compilation, which is either a geany issue or a nsis issue or a me
issue).  

At any rate, I believe it to be slightly better then the old filetypes.nsis
that I based it from.  If it means your standards, please include it in the
next release.  If not, please let us exchange dialogue on the subject.

(Does anybody talk like this anymore? :))

# For complete documentation of this file, please see Geany's main
documentation
[styling]
# foreground;background;bold;italic
default=0x827f7f;0x000000;false;false
comment=0x808080;0x000000;false;true
stringdq=0xff901e;0x000000;false;false
stringlq=0x008000;0x000000;false;false
stringrq=0x008000;0x000000;false;false
function=0x9e8454;0x000000;false;false
variable=0x991111;0x000000;false;false
label=0x007f7f;0x000000;false;false
userdefined=0x009fb8;0x000000;true;false
sectiondef=0x00007f;0x000000;true;false
subsectiondef=0x00007f;0x000000;true;false
ifdefinedef=0x00007f;0x000000;true;false
macrodef=0x00007f;0x000000;true;false
stringvar=0x991111;0x000000;false;false
number=0x007f00;0x000000;false;false
sectiongroup=0x00007f;0x000000;true;false
pageex=0x00007f;0x000000;true;false
functiondef=0x00007f;0x000000;true;false
commentbox=0x808080;0x000000;false;true


[keywords]
# all items must be in one line and in lowercase
functions=abort addbrandingimage !addincludedir !addincludedirdir
!addplugindir addsize addsizesize_to_add_to_section_in_kb
allowrootdirinstall allowskipfiles !appendfile autoclosewindow bgfont
bggradient brandingtext bringtofront call callinstdll caption
captioninstaller_caption !cd changeui checkbitmap clearerrors completedtext
componenttext contributors: copyfiles crccheck createdirectory
createdirectorydirectory_name createfont createshortcut !define delete
deleteinisec deleteinistr deleteregkey deleteregvalue !delfilefile
detailprint detailprintmessage detailsbuttontext dirshow dirtext dirvar
dirverify dirverifyauto !echo !echomessage !else enablewindow !endif
enumregkey enumregvalue !error exch exec execshell !execute execwait
expandenvstrings file filebufsize fileclose fileerrortext fileopen fileread
filereadbyte fileseek filewrite filewritebyte findclose findfirst findnext
findwindow flushini function functionend function_name getcurinsttype
getcurrentaddress getcurrentaddressoutput getdlgitem getdllversion
getdllversionlocal geterrorlevel getfiletime getfiletimelocal
getfullpathname getfunctionaddress getinstdirerror getlabeladdress
gettempfilename goto gotolabel hidewindow icon !if ifabort !ifdef iferrors
iffileexists !ifmacrodef !ifmacrondef !ifndef ifrebootflag ifsilent
!include initpluginsdir !insertmacro installbuttontext installcolors
installdir installdirregkey instprogressflags insttype insttypegettext
insttypesettext intcmp intcmpu intfmt intop iswindow langstring
langstringup licensebkcolor licensedata licenseforceselection
licenselangstring licensetext loadlanguagefile lockwindow logset logtext
!macro !macroend makensis messagebox miscbuttontext name none nop outfile
!packhdr page pagecallbacks pageex pageexend pop portions push pushstring
quit readenvstr readinistr readregdword readregstr reboot regdll rename
requestexecutionlevel reservefile return rmdir !searchparse searchpath
!searchreplace section sectionend sectiongetflags sectiongetinsttypes
sectiongetsize sectiongettext sectiongroup sectiongroupend sectionin
sectionsetflags sectionsetinsttypes sectionsetsize sectionsettext
sendmessage setautoclose setbrandingimage setcompress setcompressionlevel
setcompressor setcompressordictsize setctlcolors setcurinsttype
setdatablockoptimize setdatesave setdetailsprint setdetailsview
seterrorlevel seterrors setfileattributes setfont setoutpath setoverwrite
setpluginunload setrebootflag setregview setshellvarcontext setsilent
showinstdetails showuninstdetails showwindow silentinstall silentuninstall
sleep spacetexts strcmp strcmps strcpy strlen subcaption subsection
subsectionend !system !tempfilesymbol !undef uninstallbuttontext
uninstallcaption uninstallexename uninstallicon uninstallsubcaption
uninstalltext uninstpage unregdll var !verbose viaddversionkey
viproductversion !warning windowicon writeinistr writeregbin writeregdword
writeregexpandstr writeregstr writeuninstaller xpstyle
variables=$$ $` $' $" $0 $0, $1 $2 $3 $4 $5 $6 $7 $8 $9 $admintools
$appdata $cdburn_area $cmdline $commonfiles $cookies $desktop $documents
$exedir $favorites $fonts $history $hwndparent $instdir $internet_cache
$language $music $nethood ${nsisdir} $outdir $pictures $pluginsdir
$printhood $profile $programfiles $quicklaunch $\r $r0 $r1 $r2 $r3 $r4 $r5
$r6 $r7 $r8 $r9 $recent $resources $resources_localized $sendto $smprograms
$smstartup $startmenu $sysdir $temp $templates $varname $videos $windir
lables=all alt alwaysoff archive auto both bottom bzip2 center colored
components control current custom directory dlg_id ext false
file_attribute_archive file_attribute_hidden file_attribute_normal
file_attribute_offline file_attribute_readonly file_attribute_system
file_attribute_temporary filesonly force hidden hide hkcc hkcr hkcu hkdd
hkey_classes_root hkey_current_config hkey_current_user hkey_dyn_data
hkey_local_machine hkey_performance_data hkey_users hklm hkpd hku idabort
idcancel idignore idno idok idretry idyes ifdiff ifnewer instfiles italic 
lastused leave left license listonly lzma manual mb_abortretryignore
mb_defbutton1 mb_defbutton2 mb_defbutton3 mb_defbutton4 mb_iconexclamation
mb_iconinformation mb_iconquestion mb_iconstop mb_ok mb_okcancel
mb_retrycancel mb_right mb_setforeground mb_topmost mb_yesno mb_yesnocancel
nevershow none nonfatal normal of off offline on open print readonly
rebootok right shctx shift show silent silentlog smooth strike sw_hide 
sw_showmaximized sw_showmaximized  sw_showminimized sw_showminimized 
sw_showminnoactive  sw_showna  sw_shownoactivate  sw_shownormal
sw_shownormal  system temporary textonly top trim true try underline 
uninstconfirm zlib
userdefined=


[settings]
# default extension used when saving files
#extension=nsi

# the following characters are these which a "word" can contains, see
documentation
#wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789

# if only single comment char is supported like # in this file, leave
comment_close blank
comment_open=;
comment_close=

# set to false if a comment character/string should start at column 0 of a
line, true uses any
# indentation of the line, e.g. setting to true causes the following on
pressing CTRL+d
    #command_example();
# setting to false would generate this
#   command_example();
# This setting works only for single line comments
comment_use_indent=true

# context action command (please see Geany's main documentation for details)
context_action_cmd=

[build_settings]
# %f will be replaced by the complete filename
# %e will be replaced by the filename without extension
# (use only one of it at one time)
compiler=makensis "%f"
run_cmd="./%e"



Original issue reported on code.google.com by [email protected] on 29 Sep 2009 at 1:39

Highlighting in C++ is broken.

What steps will reproduce the problem?
1. Make a .cpp file
2.
3.

What is the expected output? What do you see instead?
I was expecting it to have the same behavior as when editing a .c file.
Instead the colors were a strange, difficult to read mixture of C and
default (light) colorscheme.
To fix it I just copied filetypes.c to filetypes.cpp

What version of the product are you using? On what operating system?
** INFO: Geany 0.15, GTK+ 2.12.12, GLib 2.16.6
Linux 2.6.27.1-smp

Please provide any additional information below.
I'm new to C and C++ so i'm sure just doing a straight copy leaves out some
keywords/functionality...

Original issue reported on code.google.com by [email protected] on 19 Nov 2008 at 5:09

Add license

Could you please choose a license and add it to the repo?

I've just noticed that this project lacks license info. As it stands it is covered by copyright and no-one is rightfully allowed to fork or modify it.

does it really support apache config?

What steps will reproduce the problem?
1. install dark theme and select it
2. load apache config file and select config filetype

What is the expected output? What do you see instead?
apache config coloring expected as stated in description: .conf - Apache (and 
Geany) style .conf files (contributed by Duncan Lock) 

What version of the product are you using? On what operating system?
Geany 1.22, Ubuntu 1.04




Original issue reported on code.google.com by [email protected] on 20 Oct 2011 at 4:30

Glitchy line in interface

What steps will reproduce the problem?
1. Install dark theme
2. It's there.
3.

What is the expected output? What do you see instead?
I'd expect there to not be a line there.


What version of the product are you using? On what operating system?
Geany 0.20 on Windows 7 x64

Please provide any additional information below.
http://screencast.com/t/zz6UQIle
And after pasting some text it did this:
http://screencast.com/t/8pE0T2t9cA

I am not quite sure what is causing this issue, but the line is solid #c2ebc2 
rgb(194,235,192)

This doesn't seem to happen with the normal theme



Original issue reported on code.google.com by [email protected] on 26 Sep 2011 at 12:16

Looking for a new maintainer

I haven't used Geany in several years and this theme has long gone unmaintained.

There are several open bugs that should be fixed and several forks that should either be incorporated, or switched over to.

I am looking for someone who'd like to take over maintenance of this theme. If you're a Geany user, you use this theme and you'd like to take it over and fix it up - let me know!

Not work for html files

Debian Jessie. Geany 1.27 installed from source.

The colors work fine until I open up an HTML file. For HTML files the colors don't change, they are still set to the default ones (white editor with default syntax colors).

captura de pantalla de 2016-04-12 17 59 30

after installing scheme, geany crashes for R

What steps will reproduce the problem?
1. installed the theme as per instructions in /usr/share/geany folder
2. opened geany
3. opened a basic R script file (file.r)

when i tried doing this, geany crashed.  when i tried right clicking on the
file and opening with geany, it wouldn't work either.  this is not an issue
for html, tex and cpp files.


im using geany 0.18 on a xubuntu system (karmic koala)

any help will be appreciated!


Original issue reported on code.google.com by [email protected] on 22 Mar 2010 at 4:49

Does not work in geany 1.22

What steps will reproduce the problem?
1. updating geany to 1.22 in Debian SID (aptosid)

What is the expected output? What do you see instead?
white background, but the selected line is black (I can't read the text).

I have tried to reinstall the color scheme but it does not work.
Any hint?


Original issue reported on code.google.com by [email protected] on 9 Jul 2012 at 5:44

Makefile rendered with white background on Comments and Operator

Open a Makefile or set Filetype->Scripting Lang->Makefile

Makefile comments and operators are viewed with white background,
while dark background is expected.

The attached file adds a basic fix for Makefiles and is based on the original  
version (/usr/share/grany/filetypes.makefile).

Hope ya like it and add it :D

greetings, 
patrick

Original issue reported on code.google.com by [email protected] on 8 Feb 2011 at 10:14

Attachments:

text is highlighted for some keywords in Python

What steps will reproduce the problem?
1. Python-file (highlight appears for keywords such as '__name__', set, len, 
max etc.)

What is the expected output? What do you see instead?
Text should just be purple without the highlight. Instead the text is purple 
and a highlight - similar to when you select a text - appears.

What version of the product are you using? On what operating system?
Geany 0.2 on Ubuntu 11.04

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 19 Sep 2013 at 9:53

Haskell theme misnamed - needs an extra ell

FIX: mv filetypes.haskel filetypes.haskell

What steps will reproduce the problem?
1. Install geany-dark-scheme
2. Reload configuration
3. Open a Haskell source file

What is the expected output? What do you see instead?

Expect to see new theme, but old theme still displayed.

What version of the product are you using? On what operating system?

geany_dark_filedefs_20100304_190847.zip
Linux localhost 2.6.32-gentoo-r7 #3 SMP Mon May 24 06:00:03 IST 2010 x86_64 
Intel(R) Core(TM)2 Extreme CPU X9650 @ 3.00GHz GenuineIntel GNU/Linux

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 3 Oct 2010 at 12:04

Make the symbols/documents and status+compiler+messages area in dark too

What steps will reproduce the problem?
1. Install this scheme
2. Open Geany
3. See left corner and bottom of the window

What is the expected output? What do you see instead?
I expect that they should be in dark scheme too. They are in the default theme 
however.

What version of the product are you using? On what operating system?
Latest version. Ubuntu Linux 12.10

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 28 Apr 2014 at 8:49

Attachments:

C++ highlighting fails in 0.19.1

What steps will reproduce the problem?
1. Install Geany 0.19.1
2. Install dark colours (system wide or user specific)

What is the expected output? What do you see instead?

Correct highlight was expected. Instead only the background is the correct 
colour, all text is white.

What version of the product are you using? On what operating system?

Latest dark colour scheme, geany 0.19.1, Ubuntu 10.10 64 bit

Please provide any additional information below.

Must be something to do with the way the new geany takes in config files. I've 
attached a version of the new cpp filetype with the appropriate dark colours 
defined which works with the new Geany.

Original issue reported on code.google.com by [email protected] on 26 Oct 2010 at 3:48

Attachments:

Javascript in HTML

Please add new colors to filetypes.xml

jscript_start=0x008080;0x1E1E1E;false;false
jscript_default=0xF270A7;0x1E1E1E;false;false
jscript_comment=0x222222;0x1E1E1E;false;false
jscript_commentline=0x808080;0x1E1E1E;false;false
jscript_commentdoc=0x3f5fbf;0x1E1E1E;false;false
jscript_number=0x006060;0x1E1E1E;false;false
jscript_word=0x0000ff;0x1E1E1E;false;false
jscript_keyword=0xBB2500;0x1E1E1E;false;false
jscript_doublestring=0xff901e;0x1E1E1E;false;false
jscript_singlestring=0xff901e;0x1E1E1E;false;false
jscript_symbols=0xffffff;0x1E1E1E;false;false
jscript_stringeol=0x000000;0x1E1E1E;false;false

You could also copy filetypes.java to filetypes.javascript

BTW. Is there any way to join this project? Thx.

Original issue reported on code.google.com by [email protected] on 19 Nov 2008 at 11:48

Attachments:

Typo error with definition of shell scheme

Hi,
The line 14 of filetypes.sh is:

scalar==0x7ECDFF;0x1E1E1E;false;false


The double equal sign disqualify the rule. Therefore, the asociated text is 
displayed of black color in a shell script.



What version of the product are you using? On what operating system?

geany_dark_filedefs_20100304_190847.tar.bz2

Original issue reported on code.google.com by [email protected] on 26 Sep 2010 at 8:25

Why isn't this listed in Geany Plug-ins?

I am just curious why this set of filedefs can not be installed from the Geany 
plug-in menu. Do the Geany developers know about this great feature? This 
should definitely be a part of the main program. 

Original issue reported on code.google.com by [email protected] on 15 Sep 2011 at 3:24

Shell script scalar style misprint

What steps will reproduce the problem?
1. use geany 0.20 and dark scheme
2. open any .sh file with $ parameters (not within quotes) and look how they 
are colored

What is the expected output? What do you see instead?
filetypes.sh has a misprint: scalar==0x7ECDFF (extra = sign), so it is not 
assigned and parameters colored with black, so they are almost invisible on the 
dark background.

What version of the product are you using? On what operating system?
geany_dark_filedefs_20100304_190847, Ubuntu 11.04

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 30 Aug 2011 at 11:52

higlighting

General problem is about highlight edit line,
after change scheme on dark higlight is white the same as font


Original issue reported on code.google.com by [email protected] on 6 Nov 2008 at 9:34

Colours could be improved on 6 bit panels

Many laptop displays have 6 bits per colour component per pixel, and the
graphics controllers use dithering to cover the last two bits in a 8 bit
colour. The dark scheme uses colours which require dithering.Could you
round each colour so the least significant nibble is 3, 7, B or F?

Original issue reported on code.google.com by [email protected] on 28 May 2009 at 6:20

Modified version of your theme...

Hi,

It's stupid for me to contact you this way, but I was unable to find any 
other. Anyway... I saw the Wiki contribution page but my modifications to 
your theme are large in numbers.

One of the things I've changed/added:
1. css3 support
2. margin color
3. marker color
4. cursor color
5. highlight color
6. darkened comments a bit
7. css directive coloring
8. python docstring coloring

These are just few changes. You can find modified theme attached. :) Take 
what you like, :D discard other :)...

Cheers!

Original issue reported on code.google.com by MeanEYE.rcf on 31 Dec 2009 at 1:14

Attachments:

filestypes.php is missing

The filetypes.php is missing from the tar.bz2 and zip files
although it is written on the main page that PHP is supported.

Original issue reported on code.google.com by [email protected] on 10 Feb 2011 at 8:33

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.