scite-ctx.properties /size: 7288 b    last modification: 2021-10-28 13:49
1# author
2#
3#   Hans Hagen - PRAGMA ADE - www.pragma-ade.com
4#
5# environment variable
6#
7#   CTXSPELLPATH=t:/spell
8#
9# auto language detection
10#
11#   % version =1.0 language=uk
12#   
13
14# default.file.ext=.txt
15
16ext.lua.auto.reload=1
17ext.lua.startup.script=$(SciteDefaultHome)/context/scite-ctx.lua
18
19# extension.$(file.patterns.context)=scite-ctx.lua
20# extension.$(file.patterns.example)=scite-ctx.lua
21
22# ext.lua.reset=1
23# ext.lua.auto.reload=1
24# ext.lua.startup.script=t:/lua/scite-ctx.lua
25
26ctx.menulist.default=\
27    wrap=wrap_text|\
28    unwrap=unwrap_text|\
29    sort=sort_text|\
30    add=add_text|\
31    bidi=show_bidi|\
32    strip=toggle_strip
33
34ctx.menulist.context=\
35    wrap=wrap_text|\
36    unwrap=unwrap_text|\
37    sort=sort_text|\
38    removecomment=remove_comment|\
39    document=document_text|\
40    quote=quote_text|\
41    quote-s=quote_text_s|\
42    quote-d=quote_text_d|\
43    compound=compound_text|\
44    add=add_text|\
45    bidi=show_bidi|\
46    strip=toggle_strip
47
48ctx.menulist.text=\
49    wrap=wrap_text|\
50    unwrap=unwrap_text|\
51    sort=sort_text|\
52    document=document_text|\
53    strip=toggle_strip
54
55ctx.menulist.example=\
56    wrap=wrap_text|\
57    unwrap=unwrap_text|\
58    sort=sort_text|\
59    removecomment=remove_comment|\
60    document=document_text|\
61    quote=quote_text|\
62    quote-s=quote_text_s|\
63    quote-d=quote_text_d|\
64    compound=compound_text|\
65    add=add_text|\
66    bidi=show_bidi|\
67    strip=toggle_strip
68
69ctx.menulist.cweb=\
70    wrap=wrap_text|\
71    sort=sort_text
72
73ctx.menulist.cpp=\
74    wrap=wrap_text|\
75    sort=sort_text
76
77ctx.menulist.lua=\
78    wrap=wrap_text|\
79    sort=sort_text
80
81ctx.menulist.bibtex=\
82    wrap=wrap_text|\
83    sort=sort_text
84
85ctx.menulist.json=\
86    wrap=wrap_text|\
87    sort=sort_text
88
89ctx.menulist.pdf=\
90    object=filter_pdf_object|\
91    object=seatch_pdf_object
92
93ctx.wraptext.length=80
94
95ctx.spellcheck.language=auto
96ctx.spellcheck.wordsize=4
97ctx.spellcheck.wordpath=ENV(CTXSPELLPATH)
98
99ctx.spellcheck.wordfile.all=spell-uk.txt,spell-nl.txt
100
101ctx.spellcheck.wordfile.uk=spell-uk.txt
102ctx.spellcheck.wordfile.nl=spell-nl.txt
103ctx.spellcheck.wordsize.uk=4
104ctx.spellcheck.wordsize.nl=4
105
106ctx.helpinfo=\
107    Shift + F11        pop up menu with ctx options|\
108    |\
109    Ctrl  + B          show bidi|\
110    Ctrl  + M          wrap text (auto indent)|\
111    Ctrl  + R          reset spelling results|\
112    Ctrl  + I          insert template|\
113    Ctrl  + E          open log file|\
114    Ctrl  + +          toggle strip|\
115    |\
116    F7 / F12           check (or process)|\
117    Ctrl  + F7 / F12   process|\
118    Alt   + F7 / F12   process with jit|\
119    shift + F7 / F12   launch
120
121command.name.21.$(file.patterns.context)=CTX Action List
122command.subsystem.21.$(file.patterns.context)=3
123command.21.$(file.patterns.context)=show_menu $(ctx.menulist.context)
124command.groupundo.21.$(file.patterns.context)=yes
125command.save.before.21.$(file.patterns.context)=2
126command.shortcut.21.$(file.patterns.context)=Shift+F11
127
128command.name.21.$(file.patterns.example)=CTX Action List
129command.subsystem.21.$(file.patterns.example)=3
130command.21.$(file.patterns.example)=show_menu $(ctx.menulist.example)
131command.groupundo.21.$(file.patterns.example)=yes
132command.save.before.21.$(file.patterns.example)=2
133command.shortcut.21.$(file.patterns.example)=Shift+F11
134
135command.name.21.$(file.patterns.cweb)=CWEB Action List
136command.subsystem.21.$(file.patterns.cweb)=3
137command.21.$(file.patterns.cweb)=show_menu $(ctx.menulist.cweb)
138command.groupundo.21.$(file.patterns.cweb)=yes
139command.save.before.21.$(file.patterns.cweb)=2
140command.shortcut.21.$(file.patterns.cweb)=Shift+F11
141
142command.name.21.$(file.patterns.cpp)=C Action List
143command.subsystem.21.$(file.patterns.cpp)=3
144command.21.$(file.patterns.cpp)=show_menu $(ctx.menulist.cpp)
145command.groupundo.21.$(file.patterns.cpp)=yes
146command.save.before.21.$(file.patterns.cpp)=2
147command.shortcut.21.$(file.patterns.cpp)=Shift+F11
148
149command.name.21.$(file.patterns.lua)=Lua Action List
150command.subsystem.21.$(file.patterns.lua)=3
151command.21.$(file.patterns.lua)=show_menu $(ctx.menulist.lua)
152command.groupundo.21.$(file.patterns.lua)=yes
153command.save.before.21.$(file.patterns.lua)=2
154command.shortcut.21.$(file.patterns.lua)=Shift+F11
155
156command.name.21.$(file.patterns.bibtex)=BibTeX Action List
157command.subsystem.21.$(file.patterns.bibtex)=3
158command.21.$(file.patterns.bibtex)=show_menu $(ctx.menulist.bibtex)
159command.groupundo.21.$(file.patterns.bibtex)=yes
160command.save.before.21.$(file.patterns.bibtex)=2
161command.shortcut.21.$(file.patterns.bibtex)=Shift+F11
162
163command.name.21.$(file.patterns.json)=JSON Action List
164command.subsystem.21.$(file.patterns.json)=3
165command.21.$(file.patterns.json)=show_menu $(ctx.menulist.json)
166command.groupundo.21.$(file.patterns.json)=yes
167command.save.before.21.$(file.patterns.json)=2
168command.shortcut.21.$(file.patterns.json)=Shift+F11
169
170command.name.21.$(file.patterns.pdf)=PDF Action List
171command.subsystem.21.$(file.patterns.pdf)=3
172command.21.$(file.patterns.pdf)=show_menu $(ctx.menulist.pdf)
173command.groupundo.21.$(file.patterns.pdf)=yes
174command.save.before.21.$(file.patterns.pdf)=2
175command.shortcut.21.$(file.patterns.pdf)=Shift+F11
176
177command.name.21.$(file.patterns.text)=Text Action List
178command.subsystem.21.$(file.patterns.text)=3
179command.21.$(file.patterns.text)=show_menu $(ctx.menulist.text)
180command.groupundo.21.$(file.patterns.text)=yes
181command.save.before.21.$(file.patterns.text)=2
182command.shortcut.21.$(file.patterns.text)=Shift+F11
183
184#~ command.name.21.*=CTX Action List
185#~ command.subsystem.21.*=3
186#~ command.21.*=show_menu $(ctx.menulist.default)
187#~ command.groupundo.21.*=yes
188#~ command.save.before.21.*=2
189#~ command.shortcut.21.*=Shift+F11
190
191command.name.22.*=CTX Show Bidi
192command.subsystem.22.*=3
193command.22.*=show_bidi
194command.groupundo.22.*=yes
195command.save.before.22.*=2
196command.shortcut.22.*=Ctrl+B
197
198command.name.23.*=CTX Wrap Text
199command.subsystem.23.*=3
200command.23.*=wrap_text
201command.groupundo.23.*=yes
202command.save.before.23.*=2
203command.shortcut.23.*=Ctrl+M
204
205command.name.25.*=CTX Template
206command.subsystem.25.*=3
207command.save.before.25.*=2
208command.groupundo.25.*=yes
209command.shortcut.25.*=Ctrl+I
210
211# command.25.$(file.patterns.context)=insert_template $(ctx.template.list.context)
212# command.25.$(file.patterns.example)=insert_template $(ctx.template.list.example)
213#
214# ctx.template.list.example=\
215# foo=mathadore.foo|\
216# bar=mathadore.bar
217#
218# ctx.template.mathadore.foo.file=./ctx-templates/foo.xml
219# ctx.template.mathadore.bar.data=bar bar bar
220#
221# paths: ./ctx-templates, ../ctx-templates, ../../ctx-templates
222
223command.name.26.*=Open Logfile
224command.subsystem.26.*=3
225command.26.*=open_log
226command.save.before.26.*=2
227command.groupundo.26.*=yes
228command.shortcut.26.*=Ctrl+E
229
230import context/scite-ctx-context
231import context/scite-ctx-example
232
233ctx.template.scan=yes
234ctx.template.rescan=no
235
236ctx.template.suffix.tex=tex
237ctx.template.suffix.xml=xml
238
239#~ command.name.27.*=Remove comment
240#~ command.subsystem.27.*=3
241#~ command.27.*=remove_comment
242#~ command.save.before.27.*=2
243#~ command.groupundo.27.*=yes
244
245command.name.28.*=Language Strip
246command.subsystem.28.*=3
247command.28.*=toggle_strip
248command.save.before.28.*=2
249command.shortcut.28.*=Ctrl++
250
251output.scroll=2
252
253#~ idle.styling=1
254
255file.size.large=100000000
256file.size.no.styles=50000000
257