1! $XFree86: xc/programs/xedit/Xedit.ad,v 1.23 2002/09/22 07:09:05 paulo Exp $
2
3*geometry:				590x440
4*input:					TRUE
5*enableBackups:				True
6*backupNameSuffix:			~
7*changedBitmap:				xlogo11
8*international:				False
9
10*hints:\
11Use Control-S and Control-R to Search.\n\
12Use Control-Shift-_ to Undo. Control-G to switch between Undo and Redo.\n\
13Use Control-A to jump to the beginning of the line.\n\
14Use Control-E to jump to the end of the line.\n\
15Use Control-T to transpose characters.\n\
16Use Control-K to cut to the end of the line. Control-Y to paste.\n\
17Use Control-Q to escape control characters.\n\
18Use Control-U[,<number>] to multiply actions. Control-G to cancel.\n\
19Use Control-Z to scroll one line up. Meta-Z to scroll one line down.\n\
20Use Meta-Q to format a paragraph.\n\
21Use Right-Button to extend selections.\n\
22Use Meta-I to insert a file.\n\
23Use Control-W to delete a selection, and/or jump to the selection mark.\n\
24Use Control-X,Control-F to find a file. Tab for filename completion.\n\
25Use Control-X,Control-S to save.\n\
26Use Control-X,Control-C to exit.\n\
27Use Control-C to paste the selection at CUT_BUFFER0.\n\
28Use Control Left-Button to popup the File Menu.\n\
29Use Control Middle-Button to popup the Edit Menu.\n\
30Use Control Right-Button to popup the Option Menu.\n\
31Use Control-X,Tab to Indent.\n\
32Use Control-X,0 to delete current splitted window.\n\
33Use Control-X,1 to delete other splitted window.\n\
34Use Control-X,2 to split the window vertically.\n\
35Use Control-X,3 to split the window horizontally.\n\
36Use Control-X,b to switch to another file.\n\
37Use Control-X,d to list directory. Control-G to Cancel.\n\
38Use Control-X,k to close file being edited.\n\
39Use Control-X,o to switch to another splitted window.\n\
40Use Control-X,u to undo. Control-G to switch between Undo and Redo.\n\
41Use Insert to toggle Overwrite mode.\n\
42Use Control-G to interrupt the lisp subprocess.\n\
43Use Escape to enter or leave regex search and replace mode.\n\
44Use Alt-. to search tags for the selected symbol or find the next match.
45
46*formWindow*defaultDistance:		2
47*formWindow.?.borderWidth:		0
48*formWindow.min:			18
49*formWindow.max:			18
50*formWindow.showGrip:			False
51*positionWindow.fromHoriz:		labelWindow
52*positionWindow.horizDistance:		0
53*positionWindow.left:			chainRight
54*positionWindow.right:			chainRight
55*positionWindow.width:			90
56*positionWindow.label:			error
57*positionWindow.justify:		left
58*labelWindow*justify:			center
59*labelWindow*label:			no file yet
60*labelWindow.left:			chainLeft
61*labelWindow.right:			chainRight
62
63*quit.label:				Quit
64*quit.tip:				Close xedit window
65*save.label:				Save
66*save.tip:				Save current file
67*load.label:				Load
68*load.tip:				Load a new file
69
70*buttons*orientation:			horizontal
71*buttons*showGrip:			False
72*buttons.min:				18
73
74*messageWindow.height:			50
75*messageWindow.min:			18
76*Paned*Text*allowResize:		True
77
78*messageWindow.autoFill:		False
79*messageWindow.scrollVertical:		Never
80
81*editWindow.autoFill:			False
82*editWindow.scrollVertical:		Always
83*editWindow.showGrip:			True
84xedit.textSource*enableUndo:		True
85
86*bc_label*label:			Use Control-S and Control-R to Search.
87*bc_label*showGrip:			False
88*bc_label.min:				18
89
90*dirlabel.showGrip:			False
91*dirlabel.min:				18
92*dirlabel.max:				18
93
94*dirwindow.defaultColumns:		0
95*dirwindow.verticalList:		True
96
97*viewport.forceBars:			True
98*viewport.allowVert:			1
99
100*insertFile*text.width:			141
101*insertFile*text.?.pieceSize:		256
102*search*searchText.width:		157
103*search*replaceText.width:		157
104*search*case.horizDistance:		25
105*search*Text.?.pieceSize:		256
106
107*SimpleMenu.BackingStore:		NotUseful
108*SimpleMenu.menuLabel.vertSpace:	80
109*SimpleMenu.SmeBSB.HorizontalMargins:	16
110*SimpleMenu.justify:			center
111*SimpleMenu.menuLabel.height:		250
112*SimpleMenu*cursor:			left_ptr
113
114*fileMenu.label:			File Menu
115*optionsMenu.label:			Option Menu
116*optionsMenu.ispell.label:		ispell...
117*editMenu.label:			Edit Menu
118*editMenu.wrapMenuItem.label:		Wrapping
119*editMenu.wrapMenuItem.leftBitmap:	menu12
120*wrapMenu.never.label:			Never
121*wrapMenu.line.label:			Line
122*wrapMenu.word.label:			Word
123*editMenu.autoFill.label:		Auto Fill
124*editMenu.justifyMenuItem.label:	Justification
125*editMenu.justifyMenuItem.leftBitmap:	menu12
126*justifyMenu.left.label:		Left
127*justifyMenu.right.label:		Right
128*justifyMenu.center.label:		Center
129*justifyMenu.full.label:		Full
130*editMenu.breakColumns.label:		Break Columns...
131*editMenu.scrollMenuItem.label:		Scrollbars
132*editMenu.scrollMenuItem.leftBitmap:	menu12
133*scrollMenu.vertical.label:		Vertical
134*scrollMenu.horizontal.label:		Horizontal
135*editMenu.modeMenuItem.leftBitmap:	menu12
136*editMenu.modeMenuItem.label:		Edit Mode
137*editModes.none.label:			Plain/None
138
139*TransientShell*Text.translations: #override \
140c<Key>S:	no-op(r)\n\
141c<Key>R:	no-op(r)\n\
142m<Key>I:	no-op(r)
143
144*search.translations: #override \
145<Create>:get-values(my, $w, width, $h, height)\
146	set-values(1, minWidth, $w, minHeight, $h, maxHeight, $h, allowShellResize, False)
147
148*insertFile.title:			Insert File
149*insertFile.translations: #override \
150<Create>:get-values(my, $w, width, $h, height)\
151	set-values(1, minWidth, $w, minHeight, $h, maxHeight, $h, allowShellResize, False)
152
153*baseTranslations: #override \
154<Ctrl>X,<Ctrl>C:quit()\n\
155<Ctrl>X,<Ctrl>S:save-file()\n\
156<Ctrl>X,<Ctrl>F:find-file()\n\
157<Key>Escape:	line-edit()
158
159*messageWindow.Translations: #override \
160<Ctrl>X,<Ctrl>C:quit()\n\
161<Ctrl>X,<Ctrl>S:save-file()\n\
162<Ctrl>X,<Ctrl>F:find-file()\n\
163<Enter>:	no-op()\n\
164<Leave>:	no-op()\n\
165<Btn1Down>:	set-keyboard-focus() select-start()
166
167*searchText.Translations: #override \
168<Enter>:	no-op()\n\
169<Leave>:	no-op()\n\
170<Btn1Down>:	set-keyboard-focus() select-start()
171
172*replaceText.Translations: #override \
173<Enter>:	no-op()\n\
174<Leave>:	no-op()\n\
175<Btn1Down>:	set-keyboard-focus() select-start()
176
177*editWindow.translations: #override \
178<Ctrl>X,<Ctrl>E:lisp-eval()\n\
179<Ctrl>X,<Key>Tab:indent()\n\
180<Ctrl>X,:<Key>0:delete-window(current)\n\
181<Ctrl>X,:<Key>1:delete-window(other)\n\
182<Ctrl>X,:<Key>2:split-window(vertical)\n\
183<Ctrl>X,:<Key>3:split-window(horizontal)\n\
184<Ctrl>X,!l @Num_Lock<Key>b:switch-source()\n\
185<Ctrl>X,!l <Key>b:switch-source()\n\
186<Ctrl>X,!@Num_Lock<Key>b:switch-source()\n\
187<Ctrl>X,!<Key>b:switch-source()\n\
188<Ctrl>X,!l @Num_Lock<Key>d:dir-window()\n\
189<Ctrl>X,!l <Key>d:dir-window()\n\
190<Ctrl>X,!@Num_Lock<Key>d:dir-window()\n\
191<Ctrl>X,!<Key>d:dir-window()\n\
192<Ctrl>X,!l @Num_Lock<Key>k:kill-file()\n\
193<Ctrl>X,!l <Key>k:kill-file()\n\
194<Ctrl>X,!@Num_Lock<Key>k:kill-file()\n\
195<Ctrl>X,!<Key>k:kill-file()\n\
196<Ctrl>X,!l @Num_Lock<Key>o:other-window()\n\
197<Ctrl>X,!l <Key>o:other-window()\n\
198<Ctrl>X,!@Num_Lock<Key>o:other-window()\n\
199<Ctrl>X,!<Key>o:other-window()\n\
200<Ctrl>X,!l @Num_Lock<Key>u:undo()\n\
201<Ctrl>X,!l <Key>u:undo()\n\
202<Ctrl>X,!@Num_Lock<Key>u:undo()\n\
203<Ctrl>X,!<Key>u:undo()\n\
204<Ctrl>G:	xedit-keyboard-reset()\n\
205<Ctrl>J:	xedit-print-lisp-eval()\n\
206:m<Key>.:	tags()\n\
207<Key>Tab:	insert-char()\n\
208!l @Num_Lock<Key>b:insert-char()\n\
209!l <Key>b:	insert-char()\n\
210!@Num_Lock<Key>b:insert-char()\n\
211!<Key>b:	insert-char()\n\
212!l @Num_Lock<Key>d:insert-char()\n\
213!l <Key>d:	insert-char()\n\
214!@Num_Lock<Key>d:insert-char()\n\
215!<Key>d:	insert-char()\n\
216!l <Key>k:	insert-char()\n\
217!l @Num_Lock<Key>k:insert-char()\n\
218!@Num_Lock<Key>k:insert-char()\n\
219!<Key>k:	insert-char()\n\
220!l @Num_Lock<Key>o:insert-char()\n\
221!l <Key>o:	insert-char()\n\
222!@Num_Lock<Key>o:insert-char()\n\
223!<Key>o:	insert-char()\n\
224!l @Num_Lock<Key>u:insert-char()\n\
225!l <Key>u:	insert-char()\n\
226!@Num_Lock<Key>u:insert-char()\n\
227!<Key>u:	insert-char()\n\
228~s <Key>Insert:	toggle-overwrite()\n\
229c l @Num_Lock<Btn1Down>:xedit-focus() popup-menu(fileMenu)\n\
230c @Num_Lock<Btn1Down>:xedit-focus() popup-menu(fileMenu)\n\
231c l<Btn1Down>:	xedit-focus() popup-menu(fileMenu)\n\
232c<Btn1Down>:	xedit-focus() popup-menu(fileMenu)\n\
233c l @Num_Lock<Btn2Down>:xedit-focus() popup-menu(editMenu)\n\
234c @Num_Lock<Btn2Down>:xedit-focus() popup-menu(editMenu)\n\
235c l<Btn2Down>:	xedit-focus() popup-menu(editMenu)\n\
236c<Btn2Down>:	xedit-focus() popup-menu(editMenu)\n\
237c l @Num_Lock<Btn3Down>:xedit-focus() popup-menu(optionsMenu)\n\
238c @Num_Lock<Btn3Down>:xedit-focus() popup-menu(optionsMenu)\n\
239c l<Btn3Down>:xedit-focus() popup-menu(optionsMenu)\n\
240c<Btn3Down>:	xedit-focus() popup-menu(optionsMenu)\n\
241<Btn1Down>:	xedit-focus() select-start()\n\
242<Btn4Down>:	scroll-one-line-down()\n\
243<Btn5Down>:	scroll-one-line-up()
244
245*filename.?.pieceSize:			256
246*filename.translations: #override \
247c<Key>S:	no-op(r)\n\
248c<Key>R:	no-op(r)\n\
249m<Key>I:	no-op(r)\n\
250c<Key>G:	cancel-find-file()\n\
251<Key>Return:	load-file()\n\
252<Key>Tab:	file-completion(h)\n\
253<Key>Escape:	cancel-find-file()\n\
254<Enter>:	no-op()\n\
255<Leave>:	no-op()\n\
256<Btn1Down>:	set-keyboard-focus() select-start()
257
258*ispell.translations:	#override \
259<Message>WM_PROTOCOLS:	ispell(end)
260
261! Sample dictionary, word chars and text mode resources setup
262!*ispell.dictionary:			br
263!*ispell.dictionaries:			br american americanmed+ english
264!*ispell*br.wordChars:			��������������������������-
265*ispell.ispellCommand:			/usr/bin/aspell -B -m
266*ispell.lookCommand:			/bin/egrep
267!*ispell*text.skipLines:		.#
268
269*ispell.geometry:			0x0
270*ispell.minWidth:			320
271*ispell.minHeight:			245
272*ispell*Label.borderWidth:		0
273*ispell*Label.internalHeight:		4
274*ispell*Label.justify:			right
275*ispell*Label.width:			112
276*ispell*Label.left:			chainLeft
277*ispell*Label.right:			chainLeft
278*ispell*Label.top:			chainTop
279*ispell*Label.bottom:			chainTop
280*ispell*mispelled.label:		Misspelled word:
281*ispell*mispelled.top:			chainTop
282*ispell*mispelled.bottom:		chainTop
283*ispell*mispelled.internalWidth:	0
284*ispell*repeated.label:			Repeated words:
285*ispell*repeated.internalWidth:		0
286*ispell*replacement.label:		Replace with:
287*ispell*word.fromHoriz:			mispelled
288*ispell*word.justify:			left
289*ispell*word.borderWidth:		1
290*ispell*word.internalWidth:		4
291*ispell*word.internalHeight:		3
292*ispell*word.width:			194
293*ispell*word.left:			chainLeft
294*ispell*word.right:			chainRight
295*ispell*word.top:			chainTop
296*ispell*word.bottom:			chainTop
297*ispell*word.label:
298*ispell*word.tip:			Press here to select this text
299*ispell*word.highlightThickness:	0
300*ispell*text.fromHoriz:			replacement
301*ispell*replacement.fromVert:		mispelled
302*ispell*replacement.internalWidth:	0
303*ispell*form.text.fromVert:		word
304*ispell*form.text.width:		194
305*ispell*form.text.top:			chainTop
306*ispell*form.text.bottom:		chainTop
307*ispell*form.text.left:			chainLeft
308*ispell*form.text.right:		chainRight
309*ispell*form.text.leftMargin:		4
310*ispell*form.text.?.pieceSize:		256
311*ispell*suggestions.label:		Suggestions:
312*ispell*suggestions.fromVert:		replacement
313*ispell*suggestions.internalWidth:	0
314*ispell*viewport.fromHoriz:		suggestions
315*ispell*viewport.fromVert:		text
316*ispell*viewport.width:			194
317*ispell*viewport.height:		143
318*ispell*viewport.top:			chainTop
319*ispell*viewport.bottom:		chainBottom
320*ispell*viewport.left:			chainLeft
321*ispell*viewport.right:			chainRight
322*ispell*viewport.forceBars:		1
323*ispell*viewport.allowVert:		1
324*ispell*list.defaultColumns:		1
325*ispell*list.longest:			16384
326*ispell*commands.vertDistance:		5
327*ispell*commands.fromVert:		suggestions
328*ispell*commands.top:			chainBottom
329*ispell*commands.bottom:		chainBottom
330*ispell*commands.right:			chainLeft
331*ispell*commands.left:			chainLeft
332*ispell*check.label:			Check
333*ispell*check.width:			54
334*ispell*check.tip:			Ask ispell about the word in the text field
335*ispell*look.label:			Look
336*ispell*look.fromHoriz:			check
337*ispell*look.horizDistance:		0
338*ispell*look.width:			46
339*ispell*look.tip:			Runs the look command
340*ispell*undo.fromVert:			check
341*ispell*undo.label:			Undo
342*ispell*undo.width:			102
343*ispell*undo.tip:			Undo last action
344*ispell*replace.fromVert:		undo
345*ispell*replace.label:			Replace
346*ispell*replace.tip:			Replace occurence of the word
347*ispell*replaceAll.fromVert:		undo
348*ispell*replaceAll.fromHoriz:		replace
349*ispell*replaceAll.label:		All
350*ispell*replaceAll.tip:			Replace all occurences of the word
351*ispell*ignore.fromVert:		replace
352*ispell*ignore.label:			Ignore
353*ispell*ignore.tip:			Ignore this word
354*ispell*ignoreAll.fromVert:		replaceAll
355*ispell*ignoreAll.fromHoriz:		ignore
356*ispell*ignoreAll.label:		All
357*ispell*ignoreAll.tip:			Ignore all ocurrences of the word
358*ispell*add.fromVert:			ignore
359*ispell*add.label:			Add
360*ispell*add.width:			50
361*ispell*add.tip:			Add word to your private dictionary
362*ispell*addUncap.fromVert:		ignoreAll
363*ispell*addUncap.fromHoriz:		add
364*ispell*addUncap.label:			Uncap
365*ispell*addUncap.horizDistance:		0
366*ispell*addUncap.width:			50
367*ispell*addUncap.tip:			Add word uncapitalized, to your private dictionary
368*ispell*suspend.fromVert:		add
369*ispell*suspend.label:			Suspend
370*ispell*suspend.width:			57
371*ispell*suspend.tip:			Suspend ispell execution
372*ispell*cancel.fromHoriz:		suspend
373*ispell*cancel.fromVert:		addUncap
374*ispell*cancel.label:			Close
375*ispell*cancel.width:			43
376*ispell*cancel.horizDistance:		0
377*ispell*cancel.tip:			Terminates ispell process
378*ispell*replace.width:			65
379*ispell*ignore.width:			65
380*ispell*replaceAll.width:		35
381*ispell*replaceAll.horizDistance:	0
382*ispell*ignoreAll.width:		35
383*ispell*ignoreAll.horizDistance:	0
384*ispell*terse.fromVert:			cancel
385*ispell*terse.Label:			Terse Mode
386*ispell*terse.width:			104
387*ispell*terse.borderWidth:		0
388*ispell*terse.tip:			Switch terse mode
389*ispell*status.fromVert:		viewport
390*ispell*status.fromHoriz:		suggestions
391*ispell*status.top:			chainBottom
392*ispell*status.bottom:			chainBottom
393*ispell*status.left:			chainLeft
394*ispell*status.right:			chainRight
395*ispell*status.width:			194
396*ispell*status.borderWidth:		1
397*ispell*status.justify:			left
398*ispell*status.internalHeight:		2
399*ispell*status.vertDistance:		2
400*ispell*options.fromVert:		status
401*ispell*options.fromHoriz:		commands
402*ispell*options.bottom:			chainBottom
403*ispell*options.top:			chainBottom
404*ispell*options.left:			chainLeft
405*ispell*options.right:			chainRight
406*ispell*options.dict.width:		121
407*ispell*options.horizDistance:		2
408*ispell*options.vertDistance:		2
409*ispell*options.defaultDistance:	2
410*ispell*dict.highlightThickness:	0
411*ispell*dict.justify:			left
412*ispell*dict.resizable:			False
413*ispell*dict.leftBitmap:		menu12
414*ispell*dict.label:			Dictionary
415*ispell*dict.tip:			Change dictionary
416*ispell*options.format.width:		65
417*ispell*format.highlightThickness:	0
418*ispell*format.justify:			left
419*ispell*format.resizable:		False
420*ispell*format.leftBitmap:		menu12
421*ispell*format.fromHoriz:		dict
422*ispell*format.horizDistance:		0
423*ispell*format.tip:			Select text type
424
425*columns.minWidth:			140
426*columns.minHeight:			76
427*columns.maxWidth:			140
428*columns.maxHeight:			76
429*columns.form*defaultDistance:		4
430*columns*left:				chainLeft
431*columns*right:				chainLeft
432*columns*top:				chainTop
433*columns*bottom:			chainTop
434*columns*Label.width:			96
435*columns*Label.borderWidth:		0
436*columns*Label.internalHeight:		4
437*columns*Label.internalWidth:		2
438*columns*Label.justify:			right
439*columns*Text.width:			30
440*columns*Command.width:			58
441*columns*leftLabel.label:		Left Column:
442*columns*left.fromHoriz:		leftLabel
443*columns*rightLabel.label:		Right Column:
444*columns*rightLabel.fromVert:		leftLabel
445*columns*right.fromHoriz:		rightLabel
446*columns*right.fromVert:		left
447*columns*ok.fromVert:			rightLabel
448*columns*cancel.fromHoriz:		ok
449*columns*cancel.fromVert:		rightLabel
450*columns*cancel.horizDistance:		12
451*columns*Text.?.pieceSize:		8
452
453*columns*Text.translations: #override \
454c<Key>S:	no-op(r)\n\
455c<Key>R:	no-op(r)\n\
456m<Key>I:	no-op(r)\n\
457<Key>Return:	set-columns(ok)\n\
458<Key>Tab:	change-field()\n\
459c<Key>G:	set-columns(cancel)\n\
460<Key>Escape:	set-columns(cancel)\n\
461<Enter>:	no-op()\n\
462<Leave>:	no-op()\n\
463<Btn1Down>:	set-keyboard-focus() select-start()
464
465*columns.translations:	#override \
466<Message>WM_PROTOCOLS:	set-columns(cancel)
467
468! EOF.
469