summaryrefslogtreecommitdiff
path: root/context/data/scite/context/scite-ctx.properties
blob: fba02cd7fc4a9fc963e333c8beb4e896822a563f (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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
# 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' ?>

# default.file.ext=.txt

ext.lua.auto.reload=1
ext.lua.startup.script=$(SciteDefaultHome)/context/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|\
    add=add_text|\
    bidi=show_bidi|\
    strip=toggle_strip

ctx.menulist.context=\
    wrap=wrap_text|\
    unwrap=unwrap_text|\
    sort=sort_text|\
    removecomment=remove_comment|\
    document=document_text|\
    quote=quote_text|\
    quote-s=quote_text_s|\
    quote-d=quote_text_d|\
    compound=compound_text|\
    add=add_text|\
    bidi=show_bidi|\
    strip=toggle_strip

ctx.menulist.text=\
    wrap=wrap_text|\
    unwrap=unwrap_text|\
    sort=sort_text|\
    document=document_text|\
    strip=toggle_strip

ctx.menulist.example=\
    wrap=wrap_text|\
    unwrap=unwrap_text|\
    sort=sort_text|\
    removecomment=remove_comment|\
    document=document_text|\
    quote=quote_text|\
    quote-s=quote_text_s|\
    quote-d=quote_text_d|\
    compound=compound_text|\
    add=add_text|\
    bidi=show_bidi|\
    strip=toggle_strip

ctx.menulist.cweb=\
    wrap=wrap_text|\
    sort=sort_text

ctx.menulist.cpp=\
    wrap=wrap_text|\
    sort=sort_text

ctx.menulist.lua=\
    wrap=wrap_text|\
    sort=sort_text

ctx.menulist.bibtex=\
    wrap=wrap_text|\
    sort=sort_text

ctx.menulist.json=\
    wrap=wrap_text|\
    sort=sort_text

ctx.menulist.pdf=\
    object=filter_pdf_object|\
    object=seatch_pdf_object

ctx.wraptext.length=80

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          show bidi|\
    Ctrl  + M          wrap text (auto indent)|\
    Ctrl  + R          reset spelling results|\
    Ctrl  + I          insert template|\
    Ctrl  + E          open log file|\
    Ctrl  + +          toggle strip|\
    |\
    F7 / F12           check (or process)|\
    Ctrl  + F7 / F12   process|\
    Alt   + F7 / F12   process with jit|\
    shift + F7 / F12   launch

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.$(file.patterns.cweb)=CWEB Action List
command.subsystem.21.$(file.patterns.cweb)=3
command.21.$(file.patterns.cweb)=show_menu $(ctx.menulist.cweb)
command.groupundo.21.$(file.patterns.cweb)=yes
command.save.before.21.$(file.patterns.cweb)=2
command.shortcut.21.$(file.patterns.cweb)=Shift+F11

command.name.21.$(file.patterns.cpp)=C Action List
command.subsystem.21.$(file.patterns.cpp)=3
command.21.$(file.patterns.cpp)=show_menu $(ctx.menulist.cpp)
command.groupundo.21.$(file.patterns.cpp)=yes
command.save.before.21.$(file.patterns.cpp)=2
command.shortcut.21.$(file.patterns.cpp)=Shift+F11

command.name.21.$(file.patterns.lua)=Lua Action List
command.subsystem.21.$(file.patterns.lua)=3
command.21.$(file.patterns.lua)=show_menu $(ctx.menulist.lua)
command.groupundo.21.$(file.patterns.lua)=yes
command.save.before.21.$(file.patterns.lua)=2
command.shortcut.21.$(file.patterns.lua)=Shift+F11

command.name.21.$(file.patterns.bibtex)=BibTeX Action List
command.subsystem.21.$(file.patterns.bibtex)=3
command.21.$(file.patterns.bibtex)=show_menu $(ctx.menulist.bibtex)
command.groupundo.21.$(file.patterns.bibtex)=yes
command.save.before.21.$(file.patterns.bibtex)=2
command.shortcut.21.$(file.patterns.bibtex)=Shift+F11

command.name.21.$(file.patterns.json)=JSON Action List
command.subsystem.21.$(file.patterns.json)=3
command.21.$(file.patterns.json)=show_menu $(ctx.menulist.json)
command.groupundo.21.$(file.patterns.json)=yes
command.save.before.21.$(file.patterns.json)=2
command.shortcut.21.$(file.patterns.json)=Shift+F11

command.name.21.$(file.patterns.pdf)=PDF Action List
command.subsystem.21.$(file.patterns.pdf)=3
command.21.$(file.patterns.pdf)=show_menu $(ctx.menulist.pdf)
command.groupundo.21.$(file.patterns.pdf)=yes
command.save.before.21.$(file.patterns.pdf)=2
command.shortcut.21.$(file.patterns.pdf)=Shift+F11

command.name.21.$(file.patterns.text)=Text Action List
command.subsystem.21.$(file.patterns.text)=3
command.21.$(file.patterns.text)=show_menu $(ctx.menulist.text)
command.groupundo.21.$(file.patterns.text)=yes
command.save.before.21.$(file.patterns.text)=2
command.shortcut.21.$(file.patterns.text)=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 Show Bidi
command.subsystem.22.*=3
command.22.*=show_bidi
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.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 context/scite-ctx-context
import context/scite-ctx-example

ctx.template.scan=yes
ctx.template.rescan=no

ctx.template.suffix.tex=tex
ctx.template.suffix.xml=xml

#~ command.name.27.*=Remove comment
#~ command.subsystem.27.*=3
#~ command.27.*=remove_comment
#~ command.save.before.27.*=2
#~ command.groupundo.27.*=yes

command.name.28.*=Language Strip
command.subsystem.28.*=3
command.28.*=toggle_strip
command.save.before.28.*=2
command.shortcut.28.*=Ctrl++

output.scroll=2

#~ idle.styling=1

file.size.large=100000000
file.size.no.styles=50000000