1
###########################################################################
2
# Copyright (C) 2012 by santiago González #
3
# santigoro@gmail.com #
5
# This program is free software; you can redistribute it and/or modify #
6
# it under the terms of the GNU General Public License as published by #
7
# the Free Software Foundation; either version 3 of the License, or #
8
# (at your option) any later version. #
10
# This program is distributed in the hope that it will be useful, #
11
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
12
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
13
# GNU General Public License for more details. #
15
# You should have received a copy of the GNU General Public License #
16
# along with this program; if not, see <http://www.gnu.org/licenses/>. #
18
###########################################################################
20
############## MUST BE DEFINED in ORDER: #########################
22
# keywords: list of keyword types
24
# keyword-style: foregroundColor backgroundColor bold italic
25
# Keyword: in a single line
27
############## AVAILABLE OPTIONS: ################################
29
# Colors: { default | #XXXXXX }
30
# Bold: { true | false }
31
# Italic: { true | false }
33
# RegExp: must be quotated, example: "#[a-zA-Z]+\b"
35
#####################################################################
38
keywords: data keyword1 keyword2 number preprocessor lineComment multiLineComment htmlTag quotation function
41
data-style: #500030 default true false
42
data: byte double float int uint long short signed char const enum static struct union unsigned virtual void volatile bool
44
keyword1-style: #202060 default true false
45
keyword1: class explicit friend inline namespace operator private protected public signals slots template typedef typename
47
keyword2-style: #300050 default true false
48
keyword2: for if else while continue break switch case return true false this new delete
50
preprocessor-style: #414164 default true false
51
preprocessor: "#[define|endif|ifdef|ifndef|include]+[^\n]*"
53
number-style: #3030B8 default false false
56
htmlTag-style: #303078 default false false
59
quotation-style: #206410 default false false
60
quotation: "\"(\\.|[^\"])*\""
62
lineComment-style: #646464 default false true
63
lineComment: "//[^\n]*"
65
function-style: #202030 default false true
66
function: "\\b[A-Za-z0-9_]+(?=\\()"