scite-ctx.properties /size: 7315 b    last modification: 2025-02-21 11:03
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#~ ctx.wraptext.length=100
95
96ctx.spellcheck.language=auto
97ctx.spellcheck.wordsize=4
98ctx.spellcheck.wordpath=ENV(CTXSPELLPATH)
99
100ctx.spellcheck.wordfile.all=spell-uk.txt,spell-nl.txt
101
102ctx.spellcheck.wordfile.uk=spell-uk.txt
103ctx.spellcheck.wordfile.nl=spell-nl.txt
104ctx.spellcheck.wordsize.uk=4
105ctx.spellcheck.wordsize.nl=4
106
107ctx.helpinfo=\
108    Shift + F11        pop up menu with ctx options|\
109    |\
110    Ctrl  + B          show bidi|\
111    Ctrl  + M          wrap text (auto indent)|\
112    Ctrl  + R          reset spelling results|\
113    Ctrl  + I          insert template|\
114    Ctrl  + E          open log file|\
115    Ctrl  + +          toggle strip|\
116    |\
117    F7 / F12           check (or process)|\
118    Ctrl  + F7 / F12   process|\
119    Alt   + F7 / F12   process with jit|\
120    shift + F7 / F12   launch
121
122command.name.21.$(file.patterns.context)=CTX Action List
123command.subsystem.21.$(file.patterns.context)=3
124command.21.$(file.patterns.context)=show_menu $(ctx.menulist.context)
125command.groupundo.21.$(file.patterns.context)=yes
126command.save.before.21.$(file.patterns.context)=2
127command.shortcut.21.$(file.patterns.context)=Shift+F11
128
129command.name.21.$(file.patterns.example)=CTX Action List
130command.subsystem.21.$(file.patterns.example)=3
131command.21.$(file.patterns.example)=show_menu $(ctx.menulist.example)
132command.groupundo.21.$(file.patterns.example)=yes
133command.save.before.21.$(file.patterns.example)=2
134command.shortcut.21.$(file.patterns.example)=Shift+F11
135
136command.name.21.$(file.patterns.cweb)=CWEB Action List
137command.subsystem.21.$(file.patterns.cweb)=3
138command.21.$(file.patterns.cweb)=show_menu $(ctx.menulist.cweb)
139command.groupundo.21.$(file.patterns.cweb)=yes
140command.save.before.21.$(file.patterns.cweb)=2
141command.shortcut.21.$(file.patterns.cweb)=Shift+F11
142
143command.name.21.$(file.patterns.cpp)=C Action List
144command.subsystem.21.$(file.patterns.cpp)=3
145command.21.$(file.patterns.cpp)=show_menu $(ctx.menulist.cpp)
146command.groupundo.21.$(file.patterns.cpp)=yes
147command.save.before.21.$(file.patterns.cpp)=2
148command.shortcut.21.$(file.patterns.cpp)=Shift+F11
149
150command.name.21.$(file.patterns.lua)=Lua Action List
151command.subsystem.21.$(file.patterns.lua)=3
152command.21.$(file.patterns.lua)=show_menu $(ctx.menulist.lua)
153command.groupundo.21.$(file.patterns.lua)=yes
154command.save.before.21.$(file.patterns.lua)=2
155command.shortcut.21.$(file.patterns.lua)=Shift+F11
156
157command.name.21.$(file.patterns.bibtex)=BibTeX Action List
158command.subsystem.21.$(file.patterns.bibtex)=3
159command.21.$(file.patterns.bibtex)=show_menu $(ctx.menulist.bibtex)
160command.groupundo.21.$(file.patterns.bibtex)=yes
161command.save.before.21.$(file.patterns.bibtex)=2
162command.shortcut.21.$(file.patterns.bibtex)=Shift+F11
163
164command.name.21.$(file.patterns.json)=JSON Action List
165command.subsystem.21.$(file.patterns.json)=3
166command.21.$(file.patterns.json)=show_menu $(ctx.menulist.json)
167command.groupundo.21.$(file.patterns.json)=yes
168command.save.before.21.$(file.patterns.json)=2
169command.shortcut.21.$(file.patterns.json)=Shift+F11
170
171command.name.21.$(file.patterns.pdf)=PDF Action List
172command.subsystem.21.$(file.patterns.pdf)=3
173command.21.$(file.patterns.pdf)=show_menu $(ctx.menulist.pdf)
174command.groupundo.21.$(file.patterns.pdf)=yes
175command.save.before.21.$(file.patterns.pdf)=2
176command.shortcut.21.$(file.patterns.pdf)=Shift+F11
177
178command.name.21.$(file.patterns.text)=Text Action List
179command.subsystem.21.$(file.patterns.text)=3
180command.21.$(file.patterns.text)=show_menu $(ctx.menulist.text)
181command.groupundo.21.$(file.patterns.text)=yes
182command.save.before.21.$(file.patterns.text)=2
183command.shortcut.21.$(file.patterns.text)=Shift+F11
184
185#~ command.name.21.*=CTX Action List
186#~ command.subsystem.21.*=3
187#~ command.21.*=show_menu $(ctx.menulist.default)
188#~ command.groupundo.21.*=yes
189#~ command.save.before.21.*=2
190#~ command.shortcut.21.*=Shift+F11
191
192command.name.22.*=CTX Show Bidi
193command.subsystem.22.*=3
194command.22.*=show_bidi
195command.groupundo.22.*=yes
196command.save.before.22.*=2
197command.shortcut.22.*=Ctrl+B
198
199command.name.23.*=CTX Wrap Text
200command.subsystem.23.*=3
201command.23.*=wrap_text
202command.groupundo.23.*=yes
203command.save.before.23.*=2
204command.shortcut.23.*=Ctrl+M
205
206command.name.25.*=CTX Template
207command.subsystem.25.*=3
208command.save.before.25.*=2
209command.groupundo.25.*=yes
210command.shortcut.25.*=Ctrl+I
211
212# command.25.$(file.patterns.context)=insert_template $(ctx.template.list.context)
213# command.25.$(file.patterns.example)=insert_template $(ctx.template.list.example)
214#
215# ctx.template.list.example=\
216# foo=mathadore.foo|\
217# bar=mathadore.bar
218#
219# ctx.template.mathadore.foo.file=./ctx-templates/foo.xml
220# ctx.template.mathadore.bar.data=bar bar bar
221#
222# paths: ./ctx-templates, ../ctx-templates, ../../ctx-templates
223
224command.name.26.*=Open Logfile
225command.subsystem.26.*=3
226command.26.*=open_log
227command.save.before.26.*=2
228command.groupundo.26.*=yes
229command.shortcut.26.*=Ctrl+E
230
231import context/scite-ctx-context
232import context/scite-ctx-example
233
234ctx.template.scan=yes
235ctx.template.rescan=no
236
237ctx.template.suffix.tex=tex
238ctx.template.suffix.xml=xml
239
240#~ command.name.27.*=Remove comment
241#~ command.subsystem.27.*=3
242#~ command.27.*=remove_comment
243#~ command.save.before.27.*=2
244#~ command.groupundo.27.*=yes
245
246command.name.28.*=Language Strip
247command.subsystem.28.*=3
248command.28.*=toggle_strip
249command.save.before.28.*=2
250command.shortcut.28.*=Ctrl++
251
252output.scroll=2
253
254#~ idle.styling=1
255
256file.size.large=100000000
257file.size.no.styles=50000000
258