summaryrefslogtreecommitdiff
path: root/context/data/scite/context/scite-ctx.properties
blob: 4430060f7ff7f53e712324323c4c334be84bd44b (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
# 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|\
    check=check_text|\
    reset=reset_text|\
    strip=toggle_strip

ctx.menulist.context=\
    wrap=wrap_text|\
    unwrap=unwrap_text|\
    sort=sort_text|\
    document=document_text|\
    quote=quote_text|\
    compound=compound_text|\
    add=add_text|\
    check=check_text|\
    reset=reset_text|\
    strip=toggle_strip

ctx.menulist.example=\
    wrap=wrap_text|\
    unwrap=unwrap_text|\
    sort=sort_text|\
    uncomment=uncomment_xml|\
    document=document_text|\
    quote=quote_text|\
    compound=compound_text|\
    add=add_text|\
    check=check_text|\
    reset=reset_text|\
    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.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          check spelling|\
    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)=C 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.*=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 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.*=XML Uncomment
command.subsystem.27.*=3
command.27.*=uncomment_xml
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