summaryrefslogtreecommitdiff
path: root/filedefs/filetypes.Edje.conf
blob: dc9393d473d97ae1bb581b98ef82f7cd36771130 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#
# Edje (edc) filetype definition for Geany.
#
#
# Usage:
#
# 1. Put this file in ~/.config/geany/filedefs/ folder.
#
# 2. To make geany automatically recognize .edc extension as Edje file:
#       Edje=*.edc;    in filetype_extensions.conf
#


# For complete documentation of this file, please see Geany's main documentation
[styling=C]

[keywords]

# primary will draw in blu and have precedence on secondary
# used for edc properties, like "name:" or "state:"
primary=item font tag base external name type state min max normal color color2 color3 clip_to signal source action transition target scale align relative offset inherit to border aspect aspect_preference align effect size mouse_events repeat_events ellipsis fixed layout padding visible to_x to_y middle smooth x y confine alias color_class border_scale_by border_scale after entry_mode select_mode multiline source source2 source3 source4 source5 source6 text_class text_source ignore_flags cursor_mode in

# secondary will draw in red (with default colors)
# used for edc blocks, like "parts{}" or "part{}"
secondary=data images image fonts styles style externals collections group script parts part description programs program rel1 rel2 box text fill dragable

# these are the Doxygen keywords
# docComment=addtogroup

[lexer_properties]
styling.within.preprocessor=1
lexer.cpp.track.preprocessor=0
preprocessor.symbol.$(file.patterns.cpp)=#
preprocessor.start.$(file.patterns.cpp)=if ifdef ifndef
preprocessor.middle.$(file.patterns.cpp)=else elif
preprocessor.end.$(file.patterns.cpp)=endif

[settings]
lexer_filetype=C

# default extension used when saving files
extension=edc

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

# single comments, like # in this file
comment_single=//
# multiline comments
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=

[indentation]
#width=4
# 0 is spaces, 1 is tabs, 2 is tab & spaces
#type=1

[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=edje_cc -v "%f"
linker=g++ -Wall -o "%e" "%f"
run_cmd=edje_player "%f"