source: trunk/ae/ae.ipf@ 495

Last change on this file since 495 was 454, checked in by ataylor, 3 years ago

Add AE (text editor) sources.

File size: 11.6 KB
Line 
1.* Generated by VyperHelp on 07/17/05.
2:userdoc.
3:docprof toc=123456.
4:title.AE Editor Help
5.* Subject:
6.* Version:
7.* Copyright:
8.* Author:
9:h1 res=1 id='Introduction'.
10Introduction
11:p.AE is a simple text editor&per. You can use it on text files such as
12CONFIG&per.SYS or for viewing readme files and the like&per. It isn&apos.t
13designed to be a complete word processor or programming editor&per.
14:p.This editor will load any sized file&comma. but it may not perform very well
15for large files&per. It cannot copy or paste more than 64kB of text &lpar.about
1665&comma.000 characters&rpar.&per.
17:p.:hp2.Historical Note:ehp2.&colon. AE is designed to replace the original IBM
18OS&slash.2 "System Editor" e&per.exe&per. It mostly behaves the same as that
19editor did&comma. with the exception of some of the outdated features such as
20file&endash.type setting&per.
21:h1 res=2 id='FindDialog'.
22Find Dialog
23:p.The Find Dialog allows you to enter a short piece of text to search for in
24the editor&per. When you click the :hp2.Find:ehp2. button&comma. the next
25occurrence of the search text will be highlighted&per.
26:p.If there isn&apos.t any such text&comma. you will get an error message&per.
27:p.After you&apos.ve closed the Find window&comma. you can use Find Again
28&lpar.Ctrl G&rpar. to repeat the same search&per.
29:p.
30:p.:hp2.Text To Find&colon.:ehp2. This is the text to search for&per.
31:p.:hp2.Case Sensitive&colon.:ehp2. If this is checked&comma. then the editor
32will search for an exact match&per. Otherwise&comma. "box" will also match "BOX"
33or "Box"&per.
34:p.:hp2.From top&colon.:ehp2. This option starts the search from the start of
35the text&per. Otherwise the search starts from the current cursor position&per.
36:p.The settings are remembered for the next time you use find or replace&per.
37:h1 res=3 id='Replace Dialog'.
38Replace Dialog
39:p.The Replace Dialog is used to replace one piece of text with another&per.
40:p.When you click :hp2.Find:ehp2.&comma. the next match will be found and
41highlighted&per. Click :hp2.Change:ehp2. to change the match and find the next
42one&comma. or click :hp2.Find:ehp2. again to skip to the next match&per.
43:p.If you want to replace all remaining occurrences of the search text&comma.
44click :hp2.Change All:ehp2.&per.
45:p.:hp2.Note&colon. :ehp2. Only the :hp1.last:ehp1. replacement can be
46undone&per. You should save your file first if making multiple replacements&per.
47:p.
48:p.:hp2.Text To Find&colon.:ehp2. This is the text to search for&per.
49:p.:hp2.Replace With&colon.:ehp2. Matches will be replaced with this text&per.
50You can leave it blank to simply delete matching text&per.
51:p.:hp2.Case Sensitive&colon.:ehp2. If this is checked&comma. then the editor
52will search for an exact match&per. Otherwise&comma. "box" will also match "BOX"
53or "Box"&per.
54:p.:hp2.From Top&colon.:ehp2. The next search will start from the top of the
55file&comma. instead of the current cursor position&per. This is automatically
56cleared after the search&per.
57:p.The settings are remembered for the next time you use find or replace&per.
58:h1 res=5 id='PrintDialog'.
59Print Dialog
60:p.This dialog allows you to choose and setup a printer&per. Click OK when you
61are ready to print&per.
62:p.
63:p.:hp2.Printer:ehp2.
64:p.Select the printer you wish to use&per.
65:p.:hp2.Setup&per.&per.&per.:ehp2.
66:p.Set options for the selected printer &lpar.for example&comma. page
67layout&rpar.&per.
68:p.:hp2.All:ehp2.
69:p.Selecting this will cause the whole file to be printed&per.
70:p.:hp2.Selection:ehp2.
71:p.Select this to print only the selected text&comma. instead of the whole
72file&per.
73:p.:hp2.Print Header:ehp2.
74:p.If this option is set&comma. then a header is printed at the start of each
75printed page&comma. in this form&colon.
76:p.&lt.Filename&gt. &lt.Date and time&gt. &lt.Page number&gt.
77:h1 res=4 id='Autosave'.
78Automatic Save
79:p.The editor can automatically save your file&comma. if you wish&per. This can
80help prevent losing changes if your computer has a problem&per.
81:p.To set up automatic saving&comma. go to the File menu&comma. and select
82Autosave&per. This setting is remembered for the next file&comma. and for the
83next time you run the editor&per.
84:p.When an automatic save occurs&comma. you will see a message in the status bar
85at the bottom of the editor window&comma. telling you the time it occurred&per.
86:p.The automatic save options are&colon.
87:p.:hp2.No automatic save:ehp2.
88:p.No automatic saving will take place&semi. it is entirely disabled&per.
89:p.:hp2.Save every X minutes:ehp2.
90:p.If you select this option&comma. then the editor will save your file every
91time the specified number of minutes has passed&per. Note that the timer only
92starts on your first change&comma. so if you leave the file unchanged for a
93period of time&comma. only one timed auto&endash.save will occur&per.
94:p.:hp2.Save every X changes:ehp2.
95:p.This option makes the editor save your file after the specified number of
96changes have been made&per.
97:p.Each character added or deleted counts as one change&per. A cut or paste
98operation counts as one change&per.
99:p.:hp2.Require manual save to start:ehp2.
100:p.This only applies if automatic save is enabled&per.
101:p.If this option is set&comma. then you must save a new file once&comma.
102manually&comma. before the editor will start auto&endash.saving&per. This is the
103default&per. This means there is potential to lose your work if you forget to
104save the first time and your computer has a problem&per.
105:p.If you clear this option&comma. then the editor will start auto&endash.saving
106as soon as you start typing a new file&per. After the specified time or number
107of changes&comma. a save dialog will pop up&per. This can be distracting because
108it may occur while you are working&comma. but it will remind you to save&per.
109Note that you can simply cancel the save and it will popup later&per.
110:p.Once you&apos.ve saved the file the first time&comma. the save happens
111silently as usual&per.
112:p.
113:p.
114:h1 res=6 id='Keys'.
115Keyboard Shortcuts
116:p.Keyboard shortcuts for the editor can be seen in each menu&per. There are a
117few additional keys that don&apos.t appear in the menus&per.
118:p.:hp2.Ctrl O:ehp2. Open a file
119:p.:hp2.Ctrl N:ehp2. New file
120:p.:hp2.Ctrl S:ehp2. Save current file
121:p.:hp2.Ctrl D:ehp2. Save file to a different name&slash.location
122:p.:hp2.Ctrl P:ehp2. Print the file or selection
123:p.:hp2.Alt F4:ehp2. Exit the editor&per. You will be prompted to save your
124changes&comma. if any
125:p.:hp2.F3:ehp2. Exit the editor&per. This is the default
126:p.You can change the F3 key to perform the "Find Again" function&comma. for
127compatibility with Windows Notepad and other applications&per. To change
128it&comma. go to the Options menu and select one of the items under "F3 Key
129Action"&per.
130:p.:hp2.F2:ehp2. Save current file &lpar.like EPM&rpar.
131:p.:hp2.Alt Backspace:ehp2. Undo
132:p.:hp2.Ctrl Z:ehp2. Undo
133:p.
134:p.Both new and old&endash.style clipboard keys are supported&colon.
135:p.:hp2.Shift Delete:ehp2. Cut selected text to clipboard
136:p.:hp2.Ctrl Insert:ehp2. Copy selected text to clipboard
137:p.:hp2.Shift Insert:ehp2. Paste clipboard text
138:p.:hp2.Ctrl X:ehp2. Cut selected text to clipboard
139:p.:hp2.Ctrl C:ehp2. Copy selected text to clipboard
140:p.:hp2.Ctrl V:ehp2. Paste clipboard text
141:p.:hp2.Ctrl A:ehp2. Select all text
142:p.Paste replaces the current selection&comma. if any&per.
143:p.
144:p.:hp2.Ctrl F:ehp2. Search for text &lpar.displays the :link reftype=hd
145refid='FindDialog'.Find Dialog:elink.&rpar.
146:p.:hp2.Ctrl G:ehp2. Repeat last search
147:p.:hp2.Ctrl R:ehp2. Search and replace text &lpar.displays the :link reftype=hd
148refid='Replace Dialog'.Replace Dialog:elink.&rpar.
149:p.
150:p.:hp2.Ctrl W:ehp2. Toggles word wrap on and off
151:p.
152:p.:hp2.F1:ehp2. Help
153:p.
154:h1 res=7 id='CommandLine'.
155Command Line Parameters
156:p.AE supports one optional parameter&comma. in addition to a filename&per.
157:p.:hp2.Usage&colon.:ehp2.
158:p.ae &lbracket.&slash.read&rbracket. &lbracket.&lt.filename&gt.&rbracket.
159:p.:hp2.&lt.filename&gt.:ehp2.
160:p.Specifies the file to open&per. If the file does not exist&comma. a new file
161is assumed &lpar.but the new file is not created until the first save&rpar.&per.
162:p.If no filename is specified&comma. a new file is assumed&comma. and the first
163save will prompt for a filename&per.
164:p.:hp2.&slash.read:ehp2.
165:p.This optional parameter sets the editor to :link reftype=hd
166refid='ReadOnly'.read&endash.only mode:elink.&per.
167:p.Note&colon. it is not very useful to specify &slash.read with a new
168filename&xclm.
169:h1 res=8 id='ReadOnly'.
170Read-Only Mode
171:p.Read&endash.only mode prevents you from changing the displayed text&per. You
172can turn it on or off using the Options &endash. Read&endash.only menu&per.
173:p.Read&endash.only mode is automatically activated if a read&endash.only file
174is opened&per. Turning off read&endash.only mode doesn&apos.t change the
175read&endash.only attribute on the file&comma. so if you want to save to that
176file you must change the attribute using other means&per.
177:p.Read&endash.only mode can also be activated at program start with the
178&slash.read :link reftype=hd refid='CommandLine'.command line
179parameter:elink.&per.
180:h1 res=9 id='FontsAndColors'.
181Fonts and Colors
182:p.You can change the font and colors for the editing area&per.
183:p.You can use either drag&endash.and&endash.drop from the system color and font
184palettes&comma. or the Font&per.&per.&per. and Colors&per.&per.&per. items in
185the Options menu&per.
186:p.Font and colors will be saved for your next session&per.
187:p.Note&colon. fonts for the program itself &lpar.such as menu and dialogs&rpar.
188are obtained from the system&per.
189:h1 res=10 id='LargeFileWarning'.
190Large File Warning
191:p.This warning appears when a file larger than 1MB is opened&per.
192:p.As described in the :link reftype=hd
193refid='Introduction'.introduction:elink.&comma. AE does not perform well with
194large files&per. This limitation is due to the underlying OS&slash.2
195Presentation Manager "Multi&endash.Line Edit"&comma. and therefore will probably
196not ever be fixed&per.
197:p.If you need to view or edit very large files&comma. you might find another
198program more appropriate&per.
199:p.If you don&apos.t wish to see the warning in the future&comma. check
200"Don&apos.t warn me again"&per.
201:h1 res=11 id='File formats'.
202File Formats
203:p.This section covers some technical details about different kinds of "text"
204files&per.
205:p.AE can open Windows &lpar.DOS&rpar. or Unix text files&per. The same format
206is kept when the file is saved&per.
207:p.Double&endash.Byte Character Set &lpar.DBCS&rpar. format&comma. used for some
208languages&comma. is supported depending on the operating system&per.
209:p.Binary or Unicode files can be opened&comma. but the contents will not be
210shown correctly and should not be edited or saved&per.
211:p.:hp2.Word Wrapping:ehp2.
212:p.Word&endash.wrapping does not affect the saved format&per. Only line breaks
213entered by you are saved&per.
214:p.:hp2.End of File Marker:ehp2.
215:p.Unlike the original E editor&comma. AE does not add an
216end&endash.of&endash.file &lpar.EOF&rpar. marker character at the end of the
217file&per. However&comma. if one is already present it will be kept&per.
218:p.:hp2.DOS vs&per. Unix format:ehp2.
219:p.DOS&endash.format text files use a carriage return and line feed
220&lpar.CR&plus.LF&rpar. pair of characters to mark line breaks&comma. whereas
221Unix text files use a single line feed&per.
222:p.The file format is detected by looking at the first line in the file &lpar.up
223to 64k long&rpar.&per.
224:p.New files are always saved in DOS format&per.
225:p.Files containing a mixture of DOS and Unix format will be converted entirely
226to the format of the first line when saved&per.
227:p.
228:euserdoc.
Note: See TracBrowser for help on using the repository browser.