blob: f23508acab445d6f808ba831f02f235ccc01b186 (
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
|
# author
#
# Hans Hagen - PRAGMA ADE - www.pragma-ade.com
#
# environment variable
#
# CTXSPELLPATH=t:/spell
#
# auto language detection
#
# % version =1.0 language=uk
# <?xml version='1.0' language='uk' ?>
ext.lua.auto.reload=1
#~ ext.lua.startup.script=$(SciteDefaultHome)/scite-ctx.lua
ext.lua.startup.script=$(SciteUserHome)/scite-ctx.lua
#~ extension.$(file.patterns.context)=scite-ctx.lua
#~ extension.$(file.patterns.example)=scite-ctx.lua
#~ ext.lua.reset=1
#~ ext.lua.auto.reload=1
#~ ext.lua.startup.script=t:/lua/scite-ctx.lua
ctx.menulist.default=\
wrap=wrap_text|\
unwrap=unwrap_text|\
sort=sort_text|\
check=check_text|\
reset=reset_text
ctx.menulist.context=\
wrap=wrap_text|\
unwrap=unwrap_text|\
sort=sort_text|\
document=document_text|\
quote=quote_text|\
compound=compound_text|\
check=check_text|\
reset=reset_text
ctx.menulist.example=\
wrap=wrap_text|\
unwrap=unwrap_text|\
sort=sort_text|\
uncomment=uncomment_xml|\
document=document_text|\
quote=quote_text|\
compound=compound_text|\
check=check_text|\
reset=reset_text
ctx.wraptext.length=65
ctx.spellcheck.language=auto
ctx.spellcheck.wordsize=4
ctx.spellcheck.wordpath=ENV(CTXSPELLPATH)
ctx.spellcheck.wordfile.all=spell-uk.txt,spell-nl.txt
ctx.spellcheck.wordfile.uk=spell-uk.txt
ctx.spellcheck.wordfile.nl=spell-nl.txt
ctx.spellcheck.wordsize.uk=4
ctx.spellcheck.wordsize.nl=4
ctx.helpinfo=\
Shift + F11 pop up menu with ctx options|\
|\
Ctrl + B check spelling|\
Ctrl + M wrap text (auto indent)|\
Ctrl + R reset spelling results|\
Ctrl + I insert template|\
Ctrl + E open log file
command.name.21.$(file.patterns.context)=CTX Action List
command.subsystem.21.$(file.patterns.context)=3
command.21.$(file.patterns.context)=show_menu $(ctx.menulist.context)
command.groupundo.21.$(file.patterns.context)=yes
command.save.before.21.$(file.patterns.context)=2
command.shortcut.21.$(file.patterns.context)=Shift+F11
command.name.21.$(file.patterns.example)=CTX Action List
command.subsystem.21.$(file.patterns.example)=3
command.21.$(file.patterns.example)=show_menu $(ctx.menulist.example)
command.groupundo.21.$(file.patterns.example)=yes
command.save.before.21.$(file.patterns.example)=2
command.shortcut.21.$(file.patterns.example)=Shift+F11
#~ command.name.21.*=CTX Action List
#~ command.subsystem.21.*=3
#~ command.21.*=show_menu $(ctx.menulist.default)
#~ command.groupundo.21.*=yes
#~ command.save.before.21.*=2
#~ command.shortcut.21.*=Shift+F11
command.name.22.*=CTX Check Text
command.subsystem.22.*=3
command.22.*=check_text
command.groupundo.22.*=yes
command.save.before.22.*=2
command.shortcut.22.*=Ctrl+B
command.name.23.*=CTX Wrap Text
command.subsystem.23.*=3
command.23.*=wrap_text
command.groupundo.23.*=yes
command.save.before.23.*=2
command.shortcut.23.*=Ctrl+M
command.name.24.*=CTX Reset Text
command.subsystem.24.*=3
command.24.*=reset_text
command.groupundo.24.*=yes
command.save.before.24.*=2
command.shortcut.24.*=Ctrl+R
command.name.25.*=CTX Template
command.subsystem.25.*=3
command.save.before.25.*=2
command.groupundo.25.*=yes
command.shortcut.25.*=Ctrl+I
# command.25.$(file.patterns.context)=insert_template $(ctx.template.list.context)
# command.25.$(file.patterns.example)=insert_template $(ctx.template.list.example)
#
# ctx.template.list.example=\
# foo=mathadore.foo|\
# bar=mathadore.bar
#
# ctx.template.mathadore.foo.file=./ctx-templates/foo.xml
# ctx.template.mathadore.bar.data=bar bar bar
#
# paths: ./ctx-templates, ../ctx-templates, ../../ctx-templates
command.name.26.*=Open Logfile
command.subsystem.26.*=3
command.26.*=open_log
command.save.before.26.*=2
command.groupundo.26.*=yes
command.shortcut.26.*=Ctrl+E
import scite-ctx-context
import scite-ctx-example
ctx.template.scan=yes
ctx.template.rescan=no
ctx.template.suffix.tex=tex
ctx.template.suffix.xml=xml
command.name.27.*=XML Uncomment
command.subsystem.27.*=3
command.27.*=uncomment_xml
command.save.before.27.*=2
command.groupundo.27.*=yes
|