summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavemds <dave@gurumeditation.it>2014-08-06 12:56:22 +0200
committerdavemds <dave@gurumeditation.it>2014-08-06 12:56:22 +0200
commit8e9b6d96bef63569c21649e078ba92f6c128cfbb (patch)
tree8fbe6c66ab3fecdb72063865f4034dabbca2c698
parent65860f17699ff448ec4b19f5b549406681f49d6b (diff)
Geany: initial snippets file
-rw-r--r--filedefs/filetypes.Edje.conf4
-rw-r--r--snippets.conf21
2 files changed, 23 insertions, 2 deletions
diff --git a/filedefs/filetypes.Edje.conf b/filedefs/filetypes.Edje.conf
index dc9393d..b69b89a 100644
--- a/filedefs/filetypes.Edje.conf
+++ b/filedefs/filetypes.Edje.conf
@@ -4,10 +4,10 @@
4# 4#
5# Usage: 5# Usage:
6# 6#
7# 1. Put this file in ~/.config/geany/filedefs/ folder. 7# 1. Copy this file to "~/.config/geany/filedefs/" folder (or just link it).
8# 8#
9# 2. To make geany automatically recognize .edc extension as Edje file: 9# 2. To make geany automatically recognize .edc extension as Edje file:
10# Edje=*.edc; in filetype_extensions.conf 10# Edje=*.edc; in filetype_extensions.conf
11# 11#
12 12
13 13
diff --git a/snippets.conf b/snippets.conf
new file mode 100644
index 0000000..6be2634
--- /dev/null
+++ b/snippets.conf
@@ -0,0 +1,21 @@
1#
2# EFL snippets definition for the Geany editor
3#
4# Usage:
5#
6# If you do NOT have other custom snippets:
7# Copy this file to "~/.config/geany/" (or just link it)
8#
9# Otherwise you need to copy/paste the snippets here to your file.
10#
11# NOTE: default snippets file (with docs) at: /usr/share/geany/snippets.conf
12#
13
14[Edje]
15group=group { name: "%cursor%";\n\tparts {\n\t}\n}
16part=part { name: "%cursor%";\n\ttype: RECT;\n\tdescription { state: "default" 0.0;\n\t}\n}
17desc=description { state: "default" 0.0;\n\t%cursor%\n}
18rel1=rel1 {\n\tto: "%cursor%";\n\trelative: 0.0 0.0;\n\toffset: 0 0;\n}
19rel2=rel2 {\n\tto: "%cursor%";\n\trelative: 1.0 1.0;\n\toffset: -1 -1;\n}
20RECT=part { name: "%cursor%";\n\ttype: RECT;\n\tdescription { state: "default" 0.0;\n\t}\n}
21IMAGE=part { name: "%cursor%";\n\tdescription { state: "default" 0.0;\n\t\timage {\n\t\t\tnormal: "";\n\t\t\tborder: left right top bottom;\n\t\t}\n\t}\n}