gedit set the color of background
来源:互联网 发布:免费的阅读软件 编辑:程序博客网 时间:2024/05/10 16:25
All the config file are in the direction: /usr/share/gtksourceview-2.0/styles/
Create a new one , such as "diy.xml"
Add the content:
<?xml version="1.0" encoding="UTF-8"?>
<style-scheme id="diy" _name="protecting" version="1.0">
<author>voider</author>
<_description>Protect eyes 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="blue" value="#0000FF"/>
<color name="magenta" value="#FF00FF"/>
<color name="violet" value="#6A5ACD"/>
<color name="cyan" value="#008A8C"/>
<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"/>
<!--my new color -->
<color name="doushalu" value="#B4EEB4"/>
<!-- Global Settings -->
<style name="text" foreground="#red" background="doushalu"/>
<!-- Bracket Matching -->
<style name="bracket-match" foreground="#white" background="#grey" bold="true"/>
<style name="bracket-mismatch" foreground="#white" background="#red" bold="true"/>
<!-- Search Matching -->
<style name="search-match" background="yellow"/>
<!-- Comments -->
<style name="def:comment" foreground="blue"/>
<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="bordeaux" bold="true"/>
<!-- Types -->
<style name="def:type" foreground="green" bold="true"/>
<!-- Others -->
<style name="def:preprocessor" foreground="purple"/>
<style name="def:error" background="red" 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>
- gedit set the color of background
- Set the background color
- How To Change the Background Color of a Tab Control
- how to change the background color of actionbar
- How to customize the background color of a UITableViewCell?
- qt 之 How to Change the Background Color of QWidget
- The Background of Background
- set button background to color
- ios set UINavigationBar background color
- Change the background color of the header of a List Control
- Set the color and font of a GtkLabel
- Set terminal text color and transparent background
- How to customize the background color of a UITableViewCell? 修改UITableViewCell背景色
- 如何修改Screen背景?How to - Change the background color of a screen
- rgba for background color of IE7&IE8
- Change the xterm background color for ICEWM
- background-color
- How to change the background color of form using C++ - 如何用C++改变窗体的颜色
- 一个帮助你理解prototype中Class.create()方法的例子
- 将项目从vs2008转到Vs2005的办法
- 代理模式
- 《我也能做CTO之程序员职业规划》之九:程序员职业规划发展路线图
- 开始进行 64 位 Windows 系统编程之前需要了解的所有信息
- gedit set the color of background
- How to install Atheros AR8132 driver on SUSE SLES-10.2
- 亮点论坛2.0(C#免费版)源代码正式提供下载 ----asp.net论坛开源代码
- B2B、C2C、B2C是什么意思
- Ant 的 datatype 和 特性介绍
- 东网论坛--一套开源的asp.net2.0 (access)论坛
- 风险评估商用软件
- 序
- 非常指向_论坛-verylead.cnv1.0.2(含源码)----asp.net开源代码