UltraEdit User Guide
UltraEdit User Guide
(& UltraEdit)
User s Manual
for UltraEdit/UltraEdit-32 Version 8.00
Rev. 9
Copyright 2000 IDM Computer Solutions, Inc. All rights reserved. UltraEdit/UltraEdit-32, v8.00 Online User s Manual This manual, as well as the software described herein, is furnished under license and may be used or copied only in accordance with the terms of such license. The content of this manual is furnished for informational use only, is subject to change without notice, and should not be construed as a commitment by IDM Computers Solutions, Inc. IDM Computer Solutions, Inc. assumes no responsibility or liability for any errors or inaccuracies that may appear in this book. The copyrighted software that accompanies this manual is licensed to the End User for use only in strict accordance with the End User License Agreement, which the Licensee should read carefully before commencing use of the software. This manual may be printed solely for the use of registered users. Except as permitted above and by such license, no part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, recording, or otherwise, without the prior written permission of IDM Computer Solutions, Inc.
16
17 19 19 19 19 19 19 19 19 19 19 19 20 20 20 20 21 21 21 21 21 21 21 22 22 22 22 22 22 22 22 22 23 23 23 23 24 24 24 24 24 24 25 25 25
Rename Delete Revert to Saved Saving Files Save command Save As command Save All command Save Selection As command Case Sensitive File Names Make Copy/Backup Compare Files Differences in color Differences Side-by-Side Ignore Blanks Only Show Lines That Differ Saving/Printing Output Advanced Sort and Options Sort Order Remove Duplicates Ignore Case Starting Column File Conversion UNIX/MAC to DOS DOS to MAC DOS to UNIX ASCII to EBCDIC ANSI to OEM ASCII to Unicode Insert File Delete Active File command Send Mail command Large file handling Insert String at Every Increment Start Point End Point Print command Print All Files command Print Preview command Print Preview Toolbar Print Next Page
25 25 25 25 25 25 26 26 26 26 26 26 27 27 27 27 27 27 27 28 28 28 28 28 28 28 29 29 29 29 29 29 30 30 30 30 30 31 31 31 31
Prev Page One Page / Two Page Zoom In Zoom Out Close Page Setup Page Margins Page Break Character Wrap Text When Printing Print Line Numbers Print 2 Pages on 1 Sheet Print Syntax Highlighting Print Setup Print Setup Dialog Box Printer Orientation Paper Size Paper Source Options Network Favorite Files Open Close Add File Add Active File +All Open Files Add Directory Remove File Recent Files Recent Projects/Workspaces Exit command
31 31 31 31 31 31 33 33 33 33 33 33 33 33 34 34 34 34 34 34 34 34 34 34 35 35 35 35 35 35 35
36
36 37 37 37 38 38 38 38 38
Cut command Copy command Paste command Clipboards (Normal, 1-9) Text Selection/Highlighting Insert/Overstrike Modes Select All command Select Line command Selecting Text Blocking Text Select Range Drag and Drop Editing Drag and Drop Files Delete Delete Line Delete to End of Line Delete to Start of Line Insert Date/Time Hex Mode Editing (Please see Hex Editing section) Spelling Checker Read Only Command Word Wrap Command Comment Add/Remove Insert Color Working with Wide Files Insert Literal Character (Keyboard Command) Right Mouse Button Commands
38 38 39 39 39 39 39 40 40 40 40 41 41 41 41 41 42 42 42 42 42 42 42 43 43 43 43
44
44
45 45 45
46
47 47 48 48 48 48 48 48 49 49 49 49 49 49 49 49 50 50 50 50 50 50 50 51 51 51 51 51 51 52 52 52 52 52 52 52 53 53
Match Brace Goto Line/Page Setting and Moving to Bookmarks Word Count Function List
53 53 53 54 54
55
55 55 55 56 56 56 56 57 57 57 57 57 57 57 57
58
59 60 60 60 60 60 60 61 62 62 62 63 63
Common Function List Macro List Tag List Tag List Modify Creating Custom Tag Lists [TagList] [Group List] [Tag Group] Adding Individual Tag Lists [Tag Group - HTML - Special Characters] Replacing the Default Tag List with Any Available Tag List Output Window Set HEX/Column Mode Font Set Font Font dialog box Mirror Display Font Set Printer Font OEM Character Set Reset Fonts (Default) Set Colors Show Spaces/Tabs Set Column Markers Show Column Marker 1/2 No Scroll Left Side of Marker 1 Display Ruler Display Line Numbers Line Spacing ASCII Table Character Decimal # Hexadecimal # Name # Ctrl Character #
63 63 63 64 64 64 64 65 65 65 66 66 66 66 66 67 67 67 67 67 67 68 68 68 68 68 69 69 69 69 69 69 69 70
71
71 72 72 73 73 74 74 74 74 74 75 75 75 75 75 75 75 76 76 76 76
77
77 77 78 78 78
78 79 79
80
80 81 81 81 81 81 82 82 82 82 82 83 83 83 83 83 84 84 85 85 85 85
86
86 87 87 87
10
Date Insert Templates command DOS Command Run Windows Program Alternate Capture Method Tools Configuration/Use Command Line Working Directory Menu Item Name Windows Program Checkbox Command Output (DOS Commands ONLY) Command List Box Requirements
88 89 89 91 91 92 92 93 93 93 93 93 93
95
97 98 98 98 98 98 99 99 99 99 100 100 100 101 101 102 102 102 103 103 103 104 104 104 104 104 105 105
11
Ignore Capitalized Words Ignore All-Caps Words Ignore Words with Numbers Ignore Words with Mixed Case Report Doubled Words Case Sensitive Phonetic Suggestions Typographical Suggestions Suggest Split Word Match Case in Replacements Auto Correct Suggestions OK button Cancel button Dictionaries Dialog Add File button Add Word button Close button Delete Word button Export button Files list Import button Language New button Remove File button Type Words list New Dictionary Dialog Browse button Cancel button File Name box Language list OK button Type list Check-Spelling Dialog Add button Add Words To list Cancel button Change button Change All button Change To box Consider Changing box Dictionaries button Ignore button Ignore All button Lock Pos. check-box Not in dictionary box Options button Suggest button Suggestions list Configure Toolbar Use Large Icons on Toolbar
105 105 105 105 106 106 106 106 106 106 106 106 106 107 107 107 107 107 107 107 107 108 108 108 108 108 108 108 108 108 108 109 109 109 109 109 109 109 109 109 110 110 110 110 110 110 110 110 110 111 111 111
12
Key Mapping File Containing User Keyboard Mapping File Type Configuration Page File Open dialog box File Name List Files of Type Drives Directories Read Only Network... File Save As dialog box File Name Drives Directories Network... File Associations Directories Configuration Page Default Save Directory Default Template Directory
111 112 112 112 112 112 112 112 112 112 113 113 113 113 113 113 114 114 114
115
115 116 116 117 117 117 117 118 118 119 119 119 119 120 120 121 121 122 122 122
123
123 123 123 124
13
125
125 125 125
126
126 127 127 127 127 127 127 127 127 128 128 128
129
129 129 129 129 129
130 132
132 133
14
135
135 135 135 135 135 136 136 136 136 136 136 136 137 137 137 137 137 137 137 137 137 138 138 138 138
139 146
146 146 146 147 147
148
148 149
INDEX
151
15
16
Paper Source Print Options Network Printing Favorite Files List: Opening a File Closing a File Adding a File Adding the Active File Removing a File Recent Files submenu Recent Projects/Workspaces submenu Exiting UltraEdit
17
OEM to ANSI ANSI to OEM ASCII to Unicode Unicode to ASCII Insert File Delete Active File
converts the file from OEM to ANSI format converts the file from ANSI to OEM format converts the file from ASCII to Unicode format converts the file from Unicode to ASCII format inserts a file into the active document deletes the disk file associated with the active window and closes the window losing all changes sends file via mail to recipients inserts a string at the specified increment in the file prints a document prints all open documents displays the document on the screen as it would appear printed sets up page headers and footers for printing selects a printer and printer connection opens favorite files or manage the list opens recent files (this may be set up as part of the File Menu rather than a submenu via the Recent Files Menu on File Menu option on the General Configuration Page) opens recent projects/workspaces (may be replaced with the Project submenu by deselecting the Project Menu on Main Menu option on the General Configuration Page) exits UltraEdit
Send Mail Insert String At Every Increment Print Print All Files Print Preview Page Setup Print Setup Favorite Files Recent Files
Recent Projects/Workspaces
Exit
18
File Name
Type or select the filename you want to open. This box lists files with the extension you select in the List Files of Type box.
Drives
Select the drive in which UltraEdit finds the file that you want to open.
Directories
Select the directory in which UltraEdit finds the file that you want to open.
Read Only
Check this item to open a file in a read-only manner. Modifications will be disabled.
Network
Choose this button to connect to a network location, assigning it a new drive letter.
19
UltraEdit allows multiple files to be selected from the file list and opened at one time (Except UltraEdit-32 on Windows NT). To select multiple files, select the first file from the list, then with the CTRL key pressed, select other files in the list. When all files are selected, select OK and the selected files will be opened. Dragging files from the File Manager into UltraEdit s window and dropping them (releasing the mouse button) will also open files.
The normal operation of Windows NT does not permit the selection of long filenames and multiple selection from the open dialog. To facilitate both operations, the open dialog box normally allows single selection with long filenames. If, however, the SHIFT key is pressed while the file open dialog is invoked multiple selections are permitted with short file names.
20
Domain or IP Address
This is the ftp site that you wish to connect to such as ftp://ftp.idmcomp.com. This may also be entered as ftp.idmcomp.com. If preferred the IP Address in the form xxxx.xxxx.xxxx.xxxx may be entered.
Name
This is the username used to log into the server. The default username is anonymous as this is typically used for anonymous log in to FTP accounts.
Password
This is the password used with the username to log into the server. The default username is @. This should be the password for the username as provided by the site administration, or for anonymous log in this is typically the e-mail address of the user.
Save Password
This checkbox determines if UltraEdit will save the password for later reference. If not the user will be prompted for the password as required. Note: if the password is saved it is stored on the system. It is encrypted however the encryption mechanism is unsophisticated and should not be relied upon as a method of security.
User Account
This allows the user to specify an account on the host server when logging. This is only required with some servers.
21
Initial Directory
This is the initial directory to connect to on the FTP server. This is not required. If this is NOT specified, UltraEdit will remember the last directory for the account each time the user connects to the server.
FTP/Proxy Port
This is the port used by UltraEdit for FTP protocol. The default is 21. This may be changed if required. If using the proxy it is the port used to connect to the proxy for FTP protocol.
Proxy/Firewall Settings
If connecting directly to the Internet the proxy settings should not be enabled. If connecting via a proxy on a LAN it will be necessary to set up the proxy settings.
Use Proxy
This enables the proxy settings and configures this account to connect through the specified proxy.
Proxy Server
This is the name of the server (or IP address) that is used for the proxy. If you do not know this name check with your system administrator. The Advanced button provides for additional configuration items for the account. Use the Delete button to delete an account.
Domain or IP Address
This allows the transfer type of ASCII or Binary to be set for the account. Binary transfers the file byte for byte with no modification. ASCII causes the file to be appropriately converted for line terminations between different systems.
Passive Transfers
Some Firewalls require that the passive mode be used to allow connection. If you have trouble connecting to an account via a Firewall it may be necessary to enable the Passive Transfer mode. If you attempt to connect via FTP and receive the error message Port Command Failed. 500 Invalid Port Command experience has shown that selecting the Passive Transfer mode corrects this error in most cases.
22
Server Type
For most FTP servers the default Auto or Unix should work without problem. However this provides for connection to servers that need special handling. The list of servers supported is expected to grow. Currently supported are: AIX Auto File Name Only - this takes the first field returned and displays it as the filename OS9000 Stratus VOS - The "Full Path Leading Character" should be set to "%" and the "Path/Node Separator Character" should be set to ">". UNIX VAX/VMS
23
While files are being transferred, or a site is being connected to the dialog will show the current status. By default after the file is retrieved and open the dialog will be closed if the option Close Dialog After Open is set. This option may be cleared to have the dialog remain open. From this dialog additional FTP functionality is available:
Refresh
This refreshes (rereads) the directory information from the host server.
Create Dir
This creates a new directory on the host server. No checking of the name or syntax is performed; any errors are reported back from the host server.
Permissions
This allows the file permissions to be set on a remote file. This will only work on servers that recognize the FTP Site command chmod. Typically this would only be a UNIX/Linux server.
Rename
This renames a remote file or directory on the host server.
Delete
This deletes a remote file or directory on the host server.
Save As to FTP
Use this command to save an open document/file via FTP. This command presents a custom dialog that allows selection of the site/account to browse. A list of configured accounts is shown and any of the accounts may be selected. If a new account is selected from the list UltraEdit automatically tries to connect to the site and browse it. A new account must be configured for each site to be connected to as each site may have a different name, password, directory etc. When the dialog is displayed the browse button will display the list of files for the given site. Double clicking on any of the directories shown in the list will attempt to change to the specific directory. The directory list may be filtered to show a sub-set of files by specify a filter in the "Filter" text field. To save the file, type in the filename or click on an existing filename and click the Save As button. The transfer progress will be shown as the file is transferred. While an operation is in progress a warning will be shown if an attempt to start another operation is made, or canceling the dialog is requested.
24
While files are being transferred, or a site is being connected to the dialog will show the current status. From this dialog additional FTP functionality is available:
Refresh
This refreshes (rereads) the directory information from the host server.
Create Dir
This creates a new directory on the host server. No checking of the name or syntax is performed; any errors are reported back from the host server.
Permissions
This allows the file permissions to be set on a remote file. This will only work on servers that recognize the FTP Site command chmod. Typically this would only be a UNIX/Linux server.
Rename
This renames a remote file or directory on the host server.
Delete
This deletes a remote file or directory on the host server.
Revert to Saved
Use this command to return to the last saved state of the file currently being edited. In the case of multiple changes or untracked changes to a file this can be more effective for restoring good data than repeating nested undo s. If automatic backup settings cause the user to find that the reverted state of the document is not what was expected one should check the .BAK file.
Save As command
Use this command to save and name the active document. UltraEdit displays the Save As dialog box so you can name your document. To set a default directory for use by the Save As command use the Default Save Directory setting found in Configuration under the Advanced menu. To save a document with its existing name and directory, use the Save command.
25
Make Copy/Backup
This allows the user to make a backup copy of the active file (with any current changes) without affecting the active file. The active file maintains the current file name and does not change name unlike the Save As command.
Compare Files
This menu item allows two ASCII files to be compared. The files are compared and if found to be identical no further action is taken. If the files are different, the files are shown in separate windows with the differences highlighted. The file comparison performs a line-byline comparison. When the compare files menu item is selected, a dialog box is displayed that allows you to select the files to be compared. The compare files function is only designed to work with ASCII text files. If files other than ASCII are selected for comparison the results returned are undetermined and should be used with caution. The file compare dialog allows the user to select the following options:
Differences in color
This option will display differences in two different colors, one for lines added and another for lines that have been removed. Additionally, lines will be indicated with a !> if they are new in the second file and <! if they have been removed in the second file.
With the 16-bit version of UltraEdit, the compare feature requires Win32s to be installed. This function will not work on Windows 3.x without Win32s.
26
Differences Side-by-Side
This determines if the file differences are shown side by side. In this case, the scroll bar will need to be used to see both files. The side by side view is a combination of the normal differences view, and two files being shown vertically side by side with the differences appearing on different lines. The file differences are synchronized so that portions of the files that are the same show up beside each other.
Ignore Blanks
This option is used to allow the file comparison to ignore differences that are only white space characters (spaces, tabs). If this option is selected, lines are considered identical if the only difference is white space.
Saving/Printing Output
Once the compare is complete you may choose to save the output to a file for future reference by pressing the Save button or F12 and assigning a file name to the output. If you prefer you may print the output by pressing the Print button.
Sort Order
Ascending Descending sets the sort for ascending order (a to z, 1-9) and is the default. sets the sort for descending order (z to a, 9-1).
Remove Duplicates
If this is checked any lines that are found to be identical to another are removed; the first line is preserved. If the Ignore Case option is set, lines are considered identical if the characters are the same with the only difference being the case of them.
27
Ignore Case
This option should be checked if you want the search to be insensitive to case, i.e. CAT is considered the same as cat. Do not check this option if the sort should consider CAT different from cat.
Starting Column
You may specify the column at which the sort is to be based. The options are: Column of Cursor or Specific Column Number If you select the column of cursor, the sort will be based on the characters at the column number the cursor is positioned to at the time the sort is invoked. Alternatively, you may specify the column number (1 being the first column) at which the sort is based. The default behavior is column 1 specified. These options are saved between UltraEdit sessions and are used by the Sort File command.
DOS to MAC
Use this command to convert the file to a Macintosh format. This will replace the carriage return and line feed combinations to a carriage return only. To convert a file from UNIX or MAC format, use the UNIX/MAC to DOS command.
DOS to UNIX
Use this command to convert the file to a UNIX format. This will replace the carriage return and line feed combinations to a line feed only. To convert a file from UNIX or MAC format, use the UNIX/MAC to DOS command.
ASCII to EBCDIC
This function converts the complete file from ASCII to EBCDIC format. This is useful in dealing with files that need to be exported in the EBCDIC file format (usually on Mainframe computer systems). To convert a file from EBCDIC to ASCII format, use the EBCDIC to ASCII command.
28
ANSI to OEM
Use this command to convert a file that uses the ANSI (Windows) character set to the OEM (DOS) character set. To convert a file from OEM to ANSI, use the OEM to ANSI command.
ASCII to Unicode
This function will convert the complete file from ASCII to Unicode (16-bit wide characters). The conversion uses the active code page. For information on code pages see the Windows documentation/help. The status bar will show a "U-" in front of the file type (DOS/UNIX/MAC) to indicate the file is Unicode. A file may be converted to ASCII with the Unicode to ASCII command.
Insert File
Use this command to insert an existing document (file) into the active document. This command presents a dialog allowing selection of the file to insert. The complete contents of the selected file are inserted in the active document at the cursor position.
29
Additionally, the Disable Line Number option improves the performance when navigating around large files as less disk access are required to track the line numbers.
Start Point
The start point for this operation may be the beginning of the file, or the position of the cursor. This is helpful if the file has a header in it that should not be treated as part of the data. The default behavior is the beginning of the file is the start point.
End Point
The end point may be specified as one of the following: n n n n the end of the file (default behavior) a known offset into the file after the specified number of records have converted when a particular string is found - In this case the insertion stops at or before the beginning of the string if found. If not found the option to continue or not is given.
Example: A data base file has records of known length of 2000 characters. Each record has been output consecutively with no separation between the records. For editing purposes, you want to put each record onto a single line. With this feature, you can specify the string to insert is ^p (insert a new line - paragraph) and that the increment at which to insert the string is every 2000 characters. UltraEdit will add the new line at the end of each record until the end of file is encountered.
Print command
Use this command to print a document. This command presents a Print dialog box, where you may specify the range of pages to be printed, the number of copies, the destination printer, and other printer setup options. Shortcut Keys: CTRL+P
30
Print
Bring up the print dialog box, to start a print job.
Next Page
Preview the next printed page.
Prev Page
Preview the previous printed page.
Zoom In
Take a closer look at the printed page.
Zoom Out
Take a larger look at the printed page.
Close
Return from print preview to the editing window.
Page Setup
The Page Setup menu item presents a dialog allowing the user to set up page headers, footers and margins for printing. The page header, if setup, is printed at the top of every page. The page footer, if setup, is printed at the bottom of every page. If a page footer or header is setup, a single line is printed across the page between the header or footer and the text to be printed. Selecting the appropriate check box will disable the header or footer. If the header or footer is enabled, the separator line that is normally printed between the header/footer and the page text may optionally be disabled. The page header and footer may include text defined by the user, and additionally special characters to allow the filename, and page numbers to be printed in the header or footer.
31
The special characters are: &f &n &p &t &l &c &r This is replaced in the header or footer with the full filename including path. This is replaced in the header or footer with the filename only (no path). This is replaced in the header or footer with the page number. This is replaced in the header or footer with the total number of pages. This aligns the text following the &l to the left side of the header/footer area. This aligns the text following the &c to the center of the header/footer area. This aligns the text following the &r to the right side of the header/footer area. (Note - the alignment characters are not required, and any or all of them may appear in a single header or footer. However, if more than one is present, they must be in the order above ( &l must be before &c and &c must be before &r ). Additionally, the header or footer may include the file date and time or system date and time. Two radio buttons allow the selection of either the file date or the system date to be included in the header or footer. The radio buttons select the source of the date and time. Additional special characters used in the header or footer specify if the date and time are to be printed and what format is used. The characters used to specify the time and date format are shown below; the absence of any of these characters result in the time and date not being printed. The formatting codes for date and time are listed below: Format %a %A %b %B %c %d %H %I %j %m %M %p %S %U %w %W %x %X %y %Y %Z %% Description Abbreviated weekday name Full weekday name Abbreviated month name Full month name Date and time representation appropriate for the locale Day of the month as a decimal number (01-31) Hour in 24-hour format (00-23) Hour in 12-hour format (01-12) Day of the year as a decimal number (001-366) Month as a decimal number (01-12) Minute as a decimal number (00-59) Current locale s AM/PM indicator for a 12-hour clock Second as a decimal number (00-59) Week of the year as a decimal number, with Sunday as the first day of the week (00-51) Weekday as a decimal number (0-6; Sunday is 0) Week of the year as a decimal number, with Monday as the first day of the week (00-51) Date representation for current locale Time representation for current locale Year without the century as a decimal number (00-99) Year with the century as a decimal number Time zone name or abbreviation; no characters if time zone is unknown Percent sign
32
Date is July 4th 1994. Time is 9:00pm %c prints 07/04/94 21:00 Date is Jan 10th 1991. Time is 5:00am %A, %B %d, %Y %I:%M%p prints
Page Margins
The page margins may be set up in either inches or millimeters (mm). Each margin - top, bottom, left and right - may be set independently. The margins are applied before the headers and footers are generated. If the printer is set up to have a minimum margin that is greater than the margin selected in UltraEdit the printer margin will be in effect.
Print Setup
Use this command to select a printer and a printer connection. This command presents a Print Setup dialog box, where you specify the printer and its connection.
33
Printer
Select the printer you want to use. Choose the Default Printer; or choose the Specific Printer option and select one of the currently installed printers shown in the box. You install printers and configure ports using the Windows Control Panel.
Orientation
Choose Portrait or Landscape.
Paper Size
Select the size of paper that the document is to be printed on.
Paper Source
Some printers offer multiple trays for different paper sources. Specify the tray here.
Options
Displays a dialog box where you can make additional choices about printing, specific to the type of printer you have selected.
Network
Choose this button to connect to a network location, assigning it a new drive letter.
Favorite Files
The Favorite Files feature allows a user to store the filenames of frequently opened files, or favorite files that the user wishes to quickly reference and open in the future. When the Favorite Files menu item is selected, a dialog is displayed that allows the user to open one or more of the favorite files and modify the list of favorite files. The dialog shows a list of files that are currently in the favorite file list. controls are used to manage the list: The following
Open
The open button opens the selected files from the list and closes the dialog. Multiple files may be selected from the list and opened at once. Any changes to the list are saved. DOUBLE CLICK of any files in the file list will perform the open command. If one of the selections is a directory, a file open dialog is shown initialized to the specified directory.
Close
The close button closes the dialog. Any changes to the list are saved.
Add File
The add file button presents a file open dialog allowing the user to browse for a file to add to the list. If a valid file is selected the file is added to the list.
34
Add Directory
The add directory button allows a user to browse for a directory and add this to the list. This allows the user to quickly open files from a favorite directory.
Remove File
The remove file button removes any selected files from the file list.
Recent Files
Use this command to select the document you wish to edit from up to 16 of the most recently edited documents. The number of documents shown here is configurable in the General Configuration dialog under the Advanced menu. Select the document you wish to edit by highlighting and clicking on it in the sub-menu that appears when you click on Recent Files. Note: The files shown in this submenu may be appended to the File Menu by selecting the appropriate option on General Configuration Page. This requires restarting UltraEdit. Please see the General Configuration Page section for more details.
Recent Projects/Workspaces
Use this command to select the project you wish to edit from the most recently edited projects. Select the project you wish to edit by highlighting and clicking on it in the sub-menu that appears when you click on Recent Projects. The number of projects viewable here matches the number of recent files set in the General Configuration dialog. Note: The Project menu may be moved to this position as a submenu with the Recent Projects appended to the end of the Project menu by selecting the appropriate option on the General Configuration Page. This requires restarting UltraEdit. Please see the General Configuration Page section for more details.
Exit command
Use this command to end your UltraEdit session. You can also use the Close command on the application Control menu. UltraEdit prompts you to save documents with unsaved changes. Shortcuts: Mouse: Double-click the application s Control menu button. Keys: ALT+F4
This is limited to the four most recent files and is not user-configurable in the 16-bit version of UltraEdit.
35
36
Date/Time Hex Edit Hex Insert/Delete Spell Check Read Only Toggle Word Wrap Comment Add Comment Remove Insert Color
inserts date/time at the cursor position toggles the state of the editing mode for the current window between HEX and ASCII presents a dialog allowing insertion or deletion of bytes in a file while in HEX editing mode invokes the spelling checker, and checks the complete file or selected text toggles the READ ONLY state of the active file automatically wraps words to the next line at the horizontal edge of the active window, or at a specified column adds line comments to selected lines removes line comments from selected lines inserts a color value into the document
Cursor Movement
Following are several methods for moving the cursor within a document in UltraEdit:
Cursor Arrows
The up , down , right and left arrows will move the cursor one character or line as indicated. Holding down the CTRL key while using the left and right cursor arrows will move the cursor left and right to the beginning of the previous/next word. Holding down the CTRL key while using the up and down keys does not affect the cursor position, but moves the text within the editor window up or down respectively. If the text is moved enough for the cursor to meet the upper or lower edge of the editor window the cursor will then move from line to line as it does when normally using the up and down arrows.
37
Scrolling
UltraEdit supports several methods for scrolling. These are listed below:
Vertical Scrolling
Vertical scrolling is performed with one of the following methods: Vertical scroll bar IntelliMouse Support Ctrl+Up/Down arrows for scrolling up or down by one line while leaving the cursor on the current line
Horizontal Scrolling
Horizontal scroll bar
Undo command
Use this command to reverse the last editing action, if possible. UltraEdit supports multiple levels of undo (the specific number varies based on the items being undone). Repeated Undo commands will attempt to step backwards through the previous commands and undo one at a time. The Redo command may be selected to redo a command that has been undone. If commands are undone and then a new command is performed, the Redo will no longer allow previously undone actions to be redone. Shortcut: CTRL+Z or ALTBACKSPACE
Redo command
The Redo command allows commands that have previously been undone with the Undo to be redone. If commands are undone and then a new command is performed, the Redo will no longer allow previous undo actions to be redone. Shortcut: CTRL+Y
Cut command
Use this command to remove the currently selected data from the document and put it on the clipboard. This command is unavailable if there is no data currently selected. If the Cut & Append to clipboard is selected the data is appended to the contents of the clipboard otherwise cutting data to the clipboard replaces the contents previously stored there. Shortcut: CTRL+X
Copy command
Use this command to copy selected data onto the clipboard. This command is unavailable if there is no data currently selected. If the Copy & Append to clipboard is selected the data is appended to the contents of the clipboard otherwise copying data to the clipboard replaces the contents previously stored there. Shortcut: CTRL+C
38
Paste command
Use this command to insert a copy of the clipboard contents at the insertion point. This command is unavailable if the clipboard is empty. Shortcut: CTRL+V
Text Selection/Highlighting
Holding down the Shift key while cursoring with the arrows as described above highlights the text the cursor passes showing that the highlighted text is selected for edit. Holding down the CTRL and the Shift key while using the left or right cursor arrows highlights one complete word at a time for editing, moving to the beginning of the previous/next word as described above. Holding down the CTRL and the Shift key while using the up or down cursor arrows highlights all text between the starting and ending position of the cursor. Holding down the CTRL and the Shift key while using the Home key will highlight all text from the beginning cursor position to the beginning of the document being edited. Holding down the CTRL and the Shift key while using the End key will highlight all text from the beginning cursor position to the end of the document being edited.
Insert/Overstrike Modes
UltraEdit allows editing in both insert and overstrike modes. The mode of operation is indicated in the status bar at the bottom right of the UltraEdit window. The insert/overstrike mode is changed with the INSERT key. The mode is toggled when the INSERT key is pressed. If insert mode is selected, the second area of the status bar is clear, if overstrike mode is selected, the second area of the status bar shows OVR . Insert mode causes a key to be inserted into the document at the position of the cursor. Overstrike mode causes the character immediately to the right of the cursor to be overwritten by the new character. If the active editor window is in HEX mode, the active window is always in overstrike mode. To insert text in HEX mode, use the HEX Insert/Delete selection from the Edit menu or the keyboard shortcut CTRL + D.
39
Selecting Text
UltraEdit allows the user to select text by double clicking the primary mouse button (usually the left button). Normally a single word is selected made up of any alphanumeric character or underscore _. If at the time the primary mouse button is double clicked the control key is pressed, a string is selected rather than just a single word. This can be very useful in selecting filenames, e-mail addresses etc. The characters that delimit the string are configurable in the General Options configuration page. This function works on a single line only. The delimiter entries, one for the left edge of the text to be selected and one for the right edge, specify what characters should be used to stop any further text from being selected. If a space only is specified in each field all text either side of the cursor position will be selected until a space is encountered. If text is selected when the right mouse button is pressed, a new menu item Open File Highlighted is added to the top of the pop-up menu and if selected the file is opened if it exists. UltraEdit provides several methods for selecting (highlighting) text. In general, using the Shift Key and cursor keys will select text as will using the Shift Key and mouse positioning. Additionally, there are several other methods that make it easier to select a range of text. When the Shift Key is pressing at the same time as performing the following functions the current selection (if present), or a new selection will be extended to select text up to the cursor position following the command: Find Next/Previous Goto Goto Bookmark The Shift Key should be pressed at the time the action for command takes place, not on the command that shows the dialog. For example, if Ctrl+G displays the Goto Dialog and OK is clicked to perform the Goto, the Shift Key is pressed when the OK is clicked, NOT when the Ctrl+G is pressed to display the dialog.
Blocking Text
In Column Mode the operation of the editor is changed for selecting text. When column mode is selected highlighted text is based on the character column position of the first character selected to the column of the last character of text selected. Text selected in this mode does not automatically include all text between the start and end position, but includes all text in the columns between the first and last character selected. Column mode editing is sometimes referred to as block mode editing as the act of selecting text forms a rectangle.
Select Range
This presents a dialog allowing the user to specify a range within the file that should be selected/highlighted. The user is able to specify the line and column for the start and end of the selection. When the dialog is first displayed the entry fields default to the current selection.
40
If not in Column Mode, UltraEdit will switch automatically to Column Mode if the start and end columns are specified with different values.
Delete
The delete command deletes the selected text or if no text is selected it deletes the character at the cursor.
Delete Line
The delete line command deletes the line in which the cursor is positioned. The end of line characters are also deleted. Use the Select Line command to select the line.
41
Insert Date/Time
The insert date/time command inserts the date and time at the cursor position. The date and time are formatted according to the control panel settings. A single space is inserted between the date and time. To insert only the date or time the Template definition feature may be used.
Hex Mode Editing (Please see Hex Editing section) Spelling Checker
UltraEdit incorporates a 100,000+ word spelling checker. The spelling checker is invoked from the Edit Menu and will check the complete file if text is not selected, or if text is selected it will check the selected text. If a word is not found in the selected dictionary the Check Spelling Dialog is displayed with various options that allow the word to be changed, ignored, or added to a user dictionary. The new spelling checker supports different languages. These languages are selected from the Spell Checker Options configuration page. For further details on Spell Checker options and configuration please see the Configuration Features section.
Comment Add/Remove
These commands allow line comments (as defined in Syntax Highlighting) to be added to or removed from the selected lines. The file being edited must be enabled with Syntax Highlighting and line comments must be defined for the particular language. If the line comments are appropriately defined, these functions will add the line comment characters to the beginning of each line or remove the line comment characters from the beginning of each line. When removing comment characters, the characters will only be removed if they are the first characters in the line.
42
Insert Color
This function allows a user to select a color value and insert it into a document. The dialog allows the user to view or choose a color and then insert the value of the color into the document. The color value is shown in one of the three specified formats: 1) Decimal - This is the decimal value for the color value in RGB (Red,Green,Blue). 2) Hexadecimal - This is the hexadecimal value for the color value in RGB (Red,Green,Blue). 3) HTML - This is the format required for display in an HTML document. The # is added to the value. When the dialog is first displayed, the color value will default to the selected color (if there is a value selected) in the active file. UltraEdit will try and determine the format of this also based on the selection. When the user clicks on OK, the Color Value shown will be inserted into the document, replacing the current selection if a selection is made.
43
The file offset area shows the current byte offset of the character at the beginning of the line to form the beginning of the file. In HEX mode the ruler shows the offset from the start address shown on the left. The hexadecimal representation shows the hexadecimal value of each file byte as a twocharacter field, separated from the next byte by a space (' '). The ASCII representation provides the view of printable characters. Non-printable characters are shown with a period character ('.'). Editing may be performed in the ASCII area, or the HEX area. Positioning from one area to the other is performed by clicking the left mouse button in the appropriate area or by pressing the TAB key. The TAB key switches the cursor between the ASCII and HEX area and maintains the character offset in the file. In the HEX area, the only valid characters are, 0-9, A-F, and a-f. All other characters are invalid and are ignored. In the ASCII area, any printable character is valid, and will be accepted with the exception of <CR> and ENTER. Editing in either the ASCII area or the HEX area automatically updates the other area after each valid character is typed. All modifications are performed in OVERSTRIKE mode. To insert or delete characters in HEX mode, use the HEX Insert/Delete selection from the Edit menu. Cut, Copy and Paste are supported in HEX mode.
44
Find, Replace, and Replace All are also supported in HEX mode. searches within these functions are not supported in HEX mode. Shortcut Keys: CTRL+H
Regular expression
Hex Insert/Delete
The HEX Insert/Delete command allows the insertion or removal of characters at the current cursor position while in the HEX mode. This command presents a dialog that allows selection to insert or delete characters and requires specification of the number of characters that are to be inserted or deleted. If insert is selected, UltraEdit will insert the specified number of characters in the file and initialize them to a hexadecimal value of 20 (ASCII space). The characters may then be modified as required. If delete is selected, the specified number of characters will be removed from the file beginning at the cursor position. Shortcut Keys: CTRL+D
45
46
Find command
This command displays a dialog box for searching the document for the specified text. The search is performed in the direction specified. If the string is not found and Continue Find at End of File is selected on the General Configuration page, the search wraps around to the other end of the file and continues the search. If the string is not found a message is displayed. In addition to searching for printable characters, tab characters and new line (Carriage Return/Line Feed) characters may be searched for. To search for a tab character, use ^t characters in the dialog. To search for new line characters, use ^p characters in the dialog. To search for a ^ character, use ^^ in the dialog. Additionally, the characters ^s will be replaced with any text that is highlighted when a find is executed and the characters ^c will be replaced with the contents of the clipboard (up to 600 characters). This is useful particularly for macros. When recording a macro, the option exists to include a find of a specified character string, or using ^s the macro records the ^s and when replayed will determine the text highlighted at the time the macro is playing back. Likewise when using ^c , these characters will be replaced with the contents of the clipboard at the time the macro is playing back.
47
Note - ^ refers to the character ^NOT Control Key + value. To select all text between the cursor position and the search target, hold down the SHIFT key at the time the search is started with the FINDNEXT button. The following search options exist:
Search Direction
The default search direction is down (toward the end of the document). The option to search up or down the document is given. If a search has already occurred in the document, the default search direction is that of the previous search.
Match Case
By default, the search will not be case sensitive. The option to make the search case sensitive is given. If a search has already occurred in the document, the default selection for case sensitivity is that of the previous search.
Regular Expressions
See Appendix 2 Regular Expressions for a table of regular expressions. If the editor active window is in HEX mode, an additional option exists:
48
ASCII
By default, in HEX mode, the search will be for hexadecimal characters. Optionally the find may be configured to search for ASCII characters. When a find operation is complete the text is highlighted. Initially after the find is performed, a slim dialog box is displayed enabling easy selection of find and find next. Changing the INI settings will disable this. Shortcut Keys: ALT+F3 or Ctrl+F
Open Files
This will search all open files. The InFiles/Types and Directory fields will be ignored.
Project Files
This will search all files within the open project. The InFiles/Types and Directory fields will be ignored.
Match Case
By default, the search will not be case sensitive. The option to make the search case sensitive is given. If a search has already occurred in the document, the default selection for case sensitivity is that of the previous search.
49
Search Subdirectories
By default, only files specified in the specified directory are searched. This instructs the search to search all sub directories of the specified directory.
Regular Expressions
See Appendix 2 Regular Expressions for a table of regular expressions. Successive finds update an existing Find Results window if it already exists, or creates a new window if it does not. If the window already exists, results are appended to the end.
Replace command
This command displays a dialog box for searching the document for the specified text, and replacing it with a different text. The search is performed in the direction specified. If the string is not found, the search wraps around to the other end of the file and continues the search. If the string is not found a message is displayed.
50
In addition to searching and replacing printable characters, tab characters and newline (Carriage Return/Line Feed) characters may be searched for or replaced. To specify a Tab character, use ^t characters in the dialog. To specify the newline characters, use ^p characters in the dialog. To specify a ^ character, use ^^ in the dialog. Additionally, the characters ^s will be replaced with any text that is highlighted when a find is executed and the characters ^c will be replaced with the contents of the clipboard (up to 600 characters). This is useful particularly for macros. When recording a macro, the option exists to include a find of a specified character string, or using ^s the macro records the ^s and when replayed will determine the text highlighted at the time the macro is playing back. Likewise when using ^c , these characters will be replaced with the contents of the clipboard at the time the macro is playing back.
Regular Expressions
See Appendix 2 Regular Expressions for a table of regular expressions. The following replace options exist:
Find Next
Find next finds the next occurrence of the specified text.
Replace
Replace finds the next occurrence of the specified text and replaces it with the new text. The user may also specify Selected Text under the Replace Where selection and the replace will be limited to the selected area.
Replace All
Replace all finds every occurrence of the specified text and replaces each occurrence with the new text. The Replace All provides the additional options:
51
Match Case
By default, the search will not be case sensitive. The option to make the search case sensitive is given. If a search has already occurred in the document, the default selection for case sensitivity is that of the previous search. If the editor active window is in HEX mode, an additional option exists:
ASCII
By default, in HEX mode, the search will be for hexadecimal characters. Optionally the find may be configured to search for ASCII characters. When a find operation is complete the text is highlighted. In HEX mode additional characters may be highlighted if the specified search string crosses a line. In this case, all characters displayed from the first character of the search string on the first line to the last character of the search string on the last line are highlighted. If a replace is requested, only the search string will be replaced. Initially after the replace is performed, a slim dialog box is displayed enabling easy selection of find next and replace operations. Changing the INI settings will disable this. Shortcut Keys: CTRL+R
Match Case
By default, the search will not be case sensitive. The option to make the search case sensitive is given.
52
Search Subdirectories
By default, only files specified in the specified directory are searched. This instructs the search to search all sub directories of the specified directory.
Regular Expressions
See Appendix 2 Regular Expressions for a table of regular expressions.
Match Brace
This command searches forward in the file from the cursor position to find an open or close brace. If an open brace is found, the search continues in a forward direction until a matching close brace is found at the same nest level. If the first brace found is a close brace, the search is performed in the reverse direction until a matching open brace is found at the same nest level. When the matching brace is found all the text between and including the two braces is highlighted. An open brace is (, [, or {. A close brace is ), ] and }. Shortcut Keys: Ctrl+B
Goto Line/Page
The Goto menu item presents a dialog that allows the user to specify the line or page break at which the cursor should be positioned. The cursor is positioned at the line specified and the line is scrolled into view. If the line number is greater than the number of lines in the file, the cursor is positioned at the end of the file. When Page Break is specified, the cursor is positioned at the line with the specified page break character. When the Shift Key is pressed at the same time as performing the Goto function the current selection (if present), or a new selection will be extended to select text up to the cursor position following the command. In HEX mode the goto dialog allows the user to select the offset into the file at which the cursor should be positioned. If the offset is greater than the file size, the cursor is positioned at the end of the file. Shortcut Keys: CTRL+G
To remove all the bookmarks, use the "Clear All Bookmarks" menu item. To move to the next bookmark after the insertion point, choose Next Bookmark from the Search menu. Shortcut Keys: F2 To move to the previous bookmark after the insertion point, choose Previous Bookmark from the Search menu. Shortcut Keys: Alt+F2
53
When the Shift Key is pressed at the same time as performing the Goto Bookmark function the current selection (if present), or a new selection will be extended to select text up to the cursor position following the command.
Word Count
The word count feature analyzes the document and determines the number of Words, Lines and Non-Space characters in the file and displays the result. The number of lines determined are real lines terminated with the line terminator. If a line is wrapped in the display, this is not counted as multiple lines.
Function List
This command shows the list of functions in the active document. The results are displayed in a dockable window either in alphabetical order, or in order they occur in the document. By double clicking on one of the result lines UltraEdit will position to that line in the file and the focus will change to the file. If Enter is pressed while focus is in the Function List UltraEdit will position to that line and focus will remain in the function list. Ctrl+Enter will also position to the line in the file and the focus will change to the file. Optionally the Function List may be set to search all documents in the active project. This is set by right clicking in the Function List and selecting the appropriate menu item. Additionally, by right clicking in the Function List the user may select to sort (or not) the Function List in alphabetical order. UltraEdit searches for a particular pattern to determine if a line is considered a function. The pattern that is searched for is a regular expression string(s) that may be modified by the user. The regular expression string(s) is defined in the wordfile.txt file and each language may have its own definition. Note - The regular expression string must use UltraEdit style regular expressions. This ensures that the function list will always work irrespective of the regular expression settings. See the Syntax Highlighting section for details on changing the string used for recognizing a function.
54
Workspace
The workspace functionality saves the state of all open files in the project file when the project is closed including window position, cursor position and which files are open.
55
When a project is opened all the files that were previously opened when the project was closed are opened automatically. The files do not have to be specifically added to the project via the Files dialog.
Project
The project functionality allows files to be associated together even if they are not currently open in the editor. Files may be added to the project or removed from the project via the Files dialog. The files within the project can easily be opened via the Files dialog.
Files
The project files feature allows a user to store the filenames of files associated to the project to allow the user to quickly reference and open in the future. When the project files menu item is selected, a dialog is displayed that allows the user to open one or more of the files and modify the list of files. UltraEdit allows a "Project Directory" to be specified and in conjunction with this the option to use "Relative Paths". If these are set up, UltraEdit will store the filenames relative to the project directory allowing the paths to be maintained (by changing the project directory) if the user moves the project. The relative paths must be below the project directory. Additionally, if the "Relative to Project File" setting is checked, the project files will be set as relative files to the directory in which the project file resides. This allows the project file and its files to be stored in the same directory and when moved together the project directory would not need to be updated. In some cases it is advantageous to group multiple sets of files together within a single project. UltraEdit provides for grouping of these files in named groups. These groups may be added or deleted as needed and files may be added to each group. When a new group is created it will automatically include any files currently shown in the Project Files List allowing the user to migrate files from an existing project/group to a new group. The dialog shows a list of files that are part of the project. The following controls are used to manage the list:
56
New Group
The new group button presents a dialog box to the user allowing the user to specify the name of the group about to be added.
Delete Group
The delete group button permanently deletes the currently displayed group from the project.
Open
The open button opens the selected files from the list and closes the dialog. Multiple files may be selected from the list and opened at once. Any changes to the list are saved. DOUBLE CLICK of any files in the file list will perform the open command.
Close
The close button closes the dialog. Any changes to the list are saved.
Add File
The add file button presents a file open dialog allowing the user to browse for a file to add to the list. If a valid file is selected the file is added to the list. Multiple files may be selected by holding the CTRL key and clicking on files with the left mouse button. Alternatively, clicking on one file and holding the SHIFT key while clicking on another file will cause all files listed between them to be selected as well.
Remove File
The remove file button removes any selected files from the file list. Up to 2000 files may be added to a project.
Optional Wordfile
The Optional Wordfile entry box allows the user to specify a different wordfile to be used for Syntax Highlighting when the project is active. If the path is fully qualified it will be an absolute path to the wordfile, otherwise the path would be a relative path to the project directory or project file (based on settings above).
57
58
Displaying the ASCII Table Inserting characters from the ASCII Table Tag List Tag List Modify
59
Toolbar command
Use this command to display and hide the Toolbar, which includes buttons for some of the most common commands in UltraEdit, such as File Open. A check mark appears next to the menu item when the Toolbar is displayed.
Toolbar
The toolbar is displayed across the top of the application window, below the menu bar. By left clicking on the border of the toolbar and dragging one may move the toolbar to another position. Double clicking on the title bar of the toolbar will return the toolbar to its docked position. The toolbar provides quick mouse access to many tools used in UltraEdit. To hide or display the toolbar, choose Toolbar from the View menu (ALT, V, T). The contents of the toolbar are user configurable. Buttons may be added or deleted via the Toolbar in the Configuration page under the Advanced menu. Please see Chapter 11 Configuration Features for more details.
Status Bar
The status bar is displayed at the bottom of the UltraEdit window. To display or hide the status bar, use the Status Bar command in the View menu.
60
Line/Column Number
The line number (if enabled) of the cursor in the file, and the column number are displayed together in a single panel. In HEX mode this displays the cursor position in HEX and Decimal values.
File Type
The file type indicates if the file is a DOS file, UNIX file or MAC file.
Read Only
This field displays R/O if the active file is in a Read Only status. If the file is writable this field will be blank.
Date/Time
The date and time the active file was last modified (prior to this session). For new files the date and time shown is the creation date and time.
Status Indicators
The right areas of the status bar indicate which of the following keys are latched down: Indicator OVR CAP Description the overstrike mode is selected the caps lock key is latched down
Insert/Overstrike Modes
UltraEdit allows editing in both insert and overstrike modes. The mode of operation is indicated in the status bar at the bottom of the UltraEdit window. The insert/overstrike mode is changed with the INSERT key. The mode is toggled when the INSERT key is pressed. If insert mode is selected, the second area of the status bar is clear, if overstrike mode is selected, the second area of the status bar shows OVR . Insert mode causes a character to be inserted into the document at the position of the cursor. Overstrike mode causes the character immediately to the right of the cursor to be overwritten by the new character. If the editor active window is in HEX mode, the active window is always in overstrike mode. To insert text in HEX mode, use the HEX Insert/Delete selection from the Edit menu.
61
This feature is only available in the 32-bit version of UltraEdit. This feature is only available in the 32-bit version of UltraEdit.
62
The "Filter" entry box allows the user to specify a file filter that will be applied to the files shown when viewing one of the drives. It does not apply when showing project or open files. Several functions are available by right clicking on the appropriate file. dependent on the list being shown. These are
Open Files
If the list of files shown is the currently open files the following functions are available when the right click menu is shown. All of the functions below work on ALL the selected files: Close Save Print Tile Horizontal Tile Vertical
Project Files/Drive
If the list of files shown is the currently open files the following functions are available when the right click menu is shown: Open Selected File - This will open the selected file(s) in the editor. Properties - This displays the normal file properties shown in Microsoft Explorer.
Common
At any time right clicking on the Tree View will provide options to hide the view, or to disable the docking. If it is not docked it will show as a window unattached to other windows.
Function List
This menu item enables or disables the Function List. Selection of this item only makes the Function List visible; it does not populate the Function list. If the list has not been populated the message No Functions! will be displayed in the Function List. To list the functions in a file select Function List from the Search menu or press F8.
Macro List
This menu item enables or disables the Macro List. If no macros are available for use (see Load and Set Auto Load commands under Macro menu) the message No Macros! will be displayed in the Macro List. Double clicking on macros displayed in the Macro List will activate them. Right clicking in the Macro List will display a menu with the following options: Modify Macro Allow Docking Hide invokes the Modify Macro dialog allows the Macro List to be docked outside of the UltraEdit window hides the Macro List
63
Tag List
This menu item enables or disables the Tag List showing predefined "tags". A tag is simply a short string of characters and the name "tag" is used as this feature is commonly used for "HTML Tags". The purpose of the tag list is to provide a method to easily insert into a document commonly used tags/strings without having to type them. The Modify button allows the list of tags to be modified. To insert a tag, select the tag you wish to insert and click on insert or double click on the tag. When the tag is inserted into the active document, the start tag (if defined) is inserted at the beginning of any text selected and the end tag (if defined) is inserted at the end of the current selection. If no selection is made the tags are inserted at the cursor location. Multiple groups of tags may be defined and the group may be selected from the drop-down list. The dialog is "non-modal" and can be displayed while continuing to edit the document - it is not necessary to close it to continue editing.
[TagList]
This identifies the most recently used tag group. If you are creating a new tag list you do not have to have this section label in your tag list; UltraEdit will add it. However, if you do not have an ActiveGroup specified here the Tag List dialog will appear blank until you select a tag group from the combo box at the bottom of the dialog.
64
If you do want to specify a tag group to appear in the Tag List dialog on startup it should be specified as follows: [TagList] ActiveGroup=HTML - Tags
[Group List]
This identifies the list of all Tag Groups that will be recognized in the rest of the file and displayed in the Tag List dialog. It is important that Tag Groups are referenced exactly as they appear in the Tag Group header described below. If they are not referenced exactly as they appear in the Tag Group header they will not be displayed in the Tag List dialog. Example: [Group List] 0=HTML - Special Characters 1=HTML - Tags 2=
[Tag Group]
This will head each language-specific tag group (e.g.): [Tag Group - HTML - Special Characters]. Without this section header, UltraEdit will not recognize a tag list. Please note: Format IS important. If you choose to create your own tag list please ensure that you follow these guidelines. All lines in a tag group must be preceded by sequential line numbers starting with a "0" at the beginning of the tag group. The line number must be followed by an equal sign and terms defined for the tag group must be enclosed in double quotes (e.g.): 0="Á" 1="á" 2="Â" For languages that allow open and close tags you may list both so that text may be highlighted and tags may be inserted bracketing the selected text. Please specify these tags as follows: 0="<!-- ... -->" 1="<A> ... </A>" 2="<A HREF=> ... </A>"
65
2=HTML - Tags Any tag lists you append to taglist.txt must be listed under "[Group List]" to be active. The full group name should follow the number assigned to the tag group. Ensure you type the entire description that appears at the top of the tag group in the brackets (i.e. for Cold Fusion you would type "0=COLD FUSION - Tags").
Replacing the Default Tag List with Any Available Tag List
If you wish to replace the default Tag List with any available tag lists please rename taglist.txt to taglist.bak and open the selected file and copy it to taglist.txt in the directory where you have installed UltraEdit.
Output Window
This menu item enables or disables the Output Window. The Output Window is used to capture the output from user tools (see Tools Configuration) or from the Find in Files output. Double clicking on a line containing the filename and line number will cause UltraEdit to attempt to open the file specified at the line number. If the filename is fully qualified the filename will be located and the number after this will be used for the line number. If the filename is not fully qualified UltraEdit will attempt to determine the filename from the first word in the line that contains a period. UltraEdit will the open the specified file in the directory of the active file. Double clicking on one of the result lines will cause UltraEdit to position to that line in the file and the focus will change to the file. If Enter is pressed while focus is in the Output Window UltraEdit will position to that line and focus will remain in the Output Window. Ctrl+Enter will also position to the line in the file and the focus will change to the file. With the release of v6.20 the Output Window includes two added Context menu (right-click) options: Clear Output and Copy to Clipboard.
Set Font
The Set Font menu item presents the Choose Font dialog box that allows selection of different fonts and font sizes. The selection made will be applied to the screen fonts and the printer font if the Mirror Display Font menu item is checked on the View Menu. If this item is not checked, the printer fonts have been selected independently from the screen fonts. Font selections may be reset to default values by selecting the Reset Fonts menu item. Note: If the printer does not support the selected font, Windows automatically adjusts to the closest font.
66
The Font dialog presents a selection of installed fonts that may be selected for use. If the fonts are being selected for the printer, only fonts applicable to the printer are available. Selection of font and font size is available.
Set Colors
This menu item allows the user to configure the color of the following items: Regular text Background Bookmark highlighting Selected text color Selected text background Line/Column display text Line/Column display background Active Line Active Line Background Column Markers By clicking on the color a new color may be selected from the color dialog box. Only solid colors are valid for the background colors and bookmark color selections. The background and bookmark colors are used for all files. The text color is used for all files that are not recognized by the Syntax Highlighting.
67
Show Spaces/Tabs
This menu item allows the displaying of spaces, tabs and new line characters as visible characters on the screen. It does not change the document, but allows you to clearly distinguish between the different characters. Spaces are shown as: Tabs are shown as: New lines are shown as:
If there is not enough room to show the with the tab, the tab will appear as normal, and non-visible.
Display Ruler
This menu item toggles the column ruler that displays the column numbers at the top of each window. The ruler indicates the column number in even increments. For fixed pitch fonts this will show the correct column indication. For variable pitch fonts, this will show the column numbers based on the average character width for the active font. The ruler colors may be set with the Set Color dialog.
68
Line Spacing
These items provide for Single, 1 and Double spacing. This allows a document to be viewed and printed with additional spacing between each line of text. If Single spacing is selected, each line is displayed and printed with the normal character height and line spacing. If 1 spacing is selected, each line is displayed and printed with the 1 the normal character height for the line. The actual characters are the normal height but spacing allocated for the line is increased giving additional room for notes to be handwritten between lines. If Double spacing is selected, each line is displayed and printed with the 2 times the normal character height for the line. The actual characters are the normal height but spacing allocated for the line is increased giving additional room for notes to be handwritten between lines.
ASCII Table
This feature displays a pop-up dialog that contains an ASCII Table. This table contains the following columns:
Character
This column shows the characters as they would be displayed using the selected font. The font may be changed using the Select Font button.
Decimal #
This is the decimal value of the character in the range of 0 to 255. Characters not available on the keyboard may be inserted into UltraEdit by holding down the ALT key and typing their four-digit decimal equivalent on the numeric keypad. For example, ALT+0225 will insert the character .
Hexadecimal #
This is the hexadecimal value of the character in the range of 0 to FF.
Name #
This is the recognized name for the character. This is for the first 32 characters only.
69
Ctrl Character #
This is the recognized control character that the character represents. This is for the first 32 characters only. To view the characters with a different font use the Select Font button. When the ASCII Table starts up it defaults to the font currently selected within the editor. If you wish to insert any of the characters in to the active file select the character and click the Insert Char button or double click the character in the table.
70
71
Invert Case Add Indents Remove Indents Insert Page Break HTML Tidy
inverts the case (lower/upper) of each character of selected text presents a dialog to allow adding indentation to selected rows of text presents a dialog to allow removing indentation from selected rows of text inserts a page break at the cursor position checks and tidies up HTML files
Paragraph Formatting
The paragraph formatting allows the user align the paragraph in the following manners: Text will be left aligned against the left margin and will not extend past the right margin. Center Align Text will be centered between the left and right margins. Right Align The text will be right aligned against the right margin and will not extend past the left margin. Fill The text will be aligned between the right and left margins with spaces added between words to ensure alignment to both margins. The last line of the paragraph will be aligned only to the left margin. Each of the separate alignment commands may be selected individually from the menu, or invoked from the Paragraph Setup/Reformatting dialog. The Paragraph Setup/Reformatting dialog specifies the parameters used for reformatting. These parameters are used when one of the paragraph formatting commands are used. The parameters are: Hanging Indent This applies to the left alignment only. If set, the alignment will allow a second margin to be specified that is used for the second and successive lines of a paragraph. This causes the first line of a paragraph to be indented with one setting and the rest of the paragraph to have a different setting. If this is set, the hanging indent value may be entered in the dialog. Margins - Use paragraph left margin This instructs UltraEdit to use the existing left margin of the paragraph that is being reformatted rather than specifying a new margin value. Left Align
72
Margins - Specify margin This setting instructs UltraEdit to use the left margin value entered in the dialog as the indention for the left margin when reformatting the paragraph. Margins - Right margin This setting specifies the right margin to be used when reformatting the paragraph. This is the last column number (starting at 1) at which text may be placed. The margin settings above will be used for all reformatting commands including the Reformat Paragraph command. All hard returns are removed for the paragraph, and the paragraph is reformatted based on the settings. The complete file may be reformatted using the Select All command to first select the complete file, and then reformat it.
73
Tabs to Spaces
Use this command to convert all of the tab characters within a file to spaces. This uses the tab settings from the Tab/Word Wrap configuration page (See Chapter 11 Configuration Features) to determine how the tab character/tab stop is to be interpreted. The conversion is performed such that the formatting will remain the same. If a portion of the file is selected/highlighted only the selected portion is converted, otherwise the complete file is converted. To convert spaces to tabs use the Spaces to Tabs (Leading) or Spaces to Tabs (All) command.
74
OEM to ANSI
Use this command to convert a file that uses the OEM character set (usually DOS generated text files) to the ANSI (Windows) character set. To convert a file from ANSI to OEM, use the ANSI to OEM command.
ANSI to OEM
Use this command to convert a file that uses the ANSI (Windows) character set to the OEM (DOS) character set. To convert a file from OEM to ANSI, use the OEM to ANSI command.
Capitalize
This command changes the first letter of all words in the selected text to upper case and the remaining letters to lower case. There is no limit on the amount of text that may be selected. If Column Mode is selected, the selected columns only are converted. Shortcut Keys: F5
Invert Case
This command inverts the case of all selected text. There is no limit on the amount of text that may be selected. If Column Mode is selected, the selected columns only are converted. Shortcut Keys: SHIFT+F5
To Lower Case
This command changes all selected text to lower case. There is no limit on the amount of text that may be selected. If Column Mode is selected, the selected columns only are converted. Shortcut Keys: CTRL+F5
To Upper Case
This command changes all selected text to upper case. There is no limit on the amount of text that may be selected. If Column Mode is selected, the selected columns only are converted. Shortcut Keys: ALT+F5
75
Add Indents
The Add Indents menu item presents a dialog that allows the user to specify the number of spaces to add at the beginning of each of the selected (highlighted) lines. UltraEdit starts adding the specified number of spaces to each line beginning with the first highlighted line and ending with the last line that has at least one character selected (highlighted). The Indents will be added to all lines stated above, irrespective to any indentations that may already exist. To remove indentations, use the Remove Indents menu item on the Format Menu.
Remove Indents
The Remove Indents menu item presents a dialog that allows the user to specify the number of spaces or tabs to remove from the beginning of each of the selected (highlighted) lines. If the checkbox specifying removal of all indents is checked, UltraEdit will remove ALL indentation at the beginning of the selected lines. UltraEdit starts removing the indents beginning with the first highlighted line and ending with the last line that has at least one character selected (highlighted). If no indentation is found at the beginning of a selected line, no changes are made to that line. To add indentations, use the Add Indents menu item on the Format Menu.
HTML Tidy
HTML Tidy is an excellent utility that formats, checks and tidies up HTML code. This was developed by Dave Raggett and has been integrated into UltraEdit-32. More information on HTML Tidy may be found at: http://www.w3.org/People/Raggett/tidy When this is invoked, the active document will be saved and HTML Tidy will parse the file. The output window will be used to display any errors or warnings that are found. Double clicking on line with the error or warning in the output window will position the cursor to the appropriate line in the file. When HTML tidy runs it will generate a "tidy" version of the file and UltraEdit will display this in a new file/window titled "** HTML Tidy Output **". This will be overwritten each time HTML Tidy is used. HTML Tidy provides many, many configuration options. These may be set in a configuration file. These are documented on the HTML Tidy WWW page listed above. In order to use a configuration file you need to set the appropriate INI option specifying the location of the configuration file. See the INI Section for details.
76
77
Column Mode
This command changes the operation of the editor for selecting text. When column mode is selected highlighted text is based on the character column position of the first character selected to the column of the last character of text selected. Text selected in this mode does not automatically include all text between the start and end position, but includes all text in the columns between the first and last character selected. Column mode editing is sometimes referred to as block mode editing as the act of selecting text forms a rectangle. It is very useful for editing text that has been copied from another application with extra formatting characters that need to be removed without impacting the text. Cut, Copy and Paste work with the selected text. Column mode editing requires the Word Wrap be turned off and a fixed pitch font be selected. When column mode is enabled, additional column features are enabled; Insert/Fill Columns, Delete Columns, Cut Columns and Insert Number. Shortcut Keys: ALT+C
Insert/Fill Columns
This command presents a dialog that allows a text string to be entered. This text will be inserted into every line that is selected, or if no selection is made it will be inserted into every row starting at the current cursor position and proceeding to the last row of the file. The text string will be inserted into every row at the column position indicated by the cursor when this command is invoked. If text does not exist at this column in any row, spaces will be added to pad the row allowing the text to be inserted correctly. If at the invocation of this command, text is highlighted, the columns indicated by the highlighted text will be replaced with the specified text.
Delete Columns
This command presents a dialog that allows the number of columns to be deleted to be specified. The columns will be deleted from every line that is selected, or if no selection is made they will be deleted from the file from every row starting at the current cursor position and proceeding to the last row of the file. If a value of zero 0is entered, columns will be deleted based on the highlighted text when this command is invoked. This command does not save the deleted text in the clipboard.
78
Insert Number
This command allows a sequential number to be inserted into every line selected, or if no lines are selected, into every line at the column position indicated by the cursor. This command presents a dialog that allows the initial value to be entered and the increment for each line. This provides an easy method to add line numbers into a text file. If any text is highlighted at the invocation of this command, the inserted line numbers will replace the highlighted text. The spacing required for the line numbers is calculated automatically based on the number of lines that will have a number inserted, the initial value and the increment. All numbers may be positive or negative non decimal point numbers. If the option to add "Leading Zeros" is selected the appropriate leading zeros will be added to each number to pad the field to the same width (in characters) as the maximum number to be inserted. If this option is not selected, trailing spaces will be used.
Sum Columns/Selection
This command sums the total of all the numbers that appear in the selected area (columns or lines) and presents the total in a dialog box. As some number formats have a comma, or other character that is part of the number or a separator (i.e. one thousand may be represented as 1,000) this may be configured. The dialog allows the user to specify any character that should be ignored in a number and by default is initialized to a comma (,). The SUM button recalculates the total. It allows the separator to be modified and the total recalculated. The TOTAL is shown in an editable entry box allowing the total to be formatted and copied to the clipboard and pasted into the document if required.
79
80
Load
The Load command presents a dialog box for loading a previously saved set of macros from a disk file. The dialog box allows selection of a file from any file device known to the system. The default file name presented is UltraEdit.MAC, although any filename is acceptable. When a file is selected for loading, a check is made to ensure the file is an UltraEdit macro file. "^s" may be used in the filename. UltraEdit will replace this with the currently selected text in the active Window. Likewise, "^c may be used and UltraEdit will replace this with the contents of the clipboard.
Save All
The Save All command presents a dialog box for saving the macros that have been recorded using the Record command to a disk file. The dialog box allows selection of a file from any file device known to the system. The default file name presented is UltraEdit.MAC, although any filename is acceptable. This command is available only if a macro has been recorded, or loaded.
Edit Macro
The Edit Macro command allows a new macro to be created and edited or an existing macro that has previously been generated with this command or with the Macro Record command to be edited or renamed. In many cases it is easier for the user to generate the macro by recording it with the Macro Record command and then to edit it if necessary. The learning curve is less with this approach.
81
Commands
A macro is a series of commands that may later be played back automatically to modify the file. The left-hand side of the dialog shows the current macro being edited and an editable window containing the commands that make up the macro. The commands in the macro must be one of the predefined commands. These predefined commands are shown on the right of the dialog. If the mouse is double clicked on the command it is automatically added to the macro, or clicking on the arrow to the left of the commands will add it to the macro.
Parameters
Many of the commands have numeric parameters. The numeric parameters are quite obvious, such as Goto Line # or Goto Page # . However, some of the commands such as Find and Replace, Sort, etc have additional parameters that are not numeric. These additional parameters are listed below the command list for easy selection.
82
The following keys are supported: A-Z 0-9 F1-F12 Space, Enter and Tab In addition, the key modifiers CONTROL, ALT and SHIFT may be selected. It is not required that a name be entered, or a hot key assignment be made. Default behavior shows a Cancel Dialog while the macro is executing. For macros that execute quickly this may not be desired and may be disabled by deselecting the Show Cancel Dialog for this macro setting. During Playback a find and replace command may result in the search string not being found. The default behavior in this case is to stop the macro execution. For some macros, possibly where a replace all is being performed, it is desirable not to stop the macro playback. In this case, select the Continue if a Find with Replace Not Found .
Delete All
This command deletes all the resident macros. If any of the macros have been created or modified since the file was saved the user is prompted allowing the macros to be saved prior to deleting them.
Macros
A macro is a series of commands that may later be played back automatically to modify the file. Macros allow users to store complex combinations of commands that are consistently used on like files for repeated processes.
83
An advantage of macros over templates is that they allow find and replace functions to be executed within a process rather than simply inserting text. Defining macros is more complex than defining templates but allows much more powerful use of the abilities of the editor than templates alone.
Record
The Record command starts recordingkeystrokes and actions for later playback. Recording is stopped when the Stop Recording menu selection is made. This command presents the Macro Definition Dialog allowing you to define the macro name and Hot Key if required. When the dialog is dismissed with the OK button the macro recording starts.
For more information on this and for special characters useful with macros please see the Find command.
84
Insert/Overstrike selection Unix/Mac to DOS DOS to Unix DOS to MAC Convert Wrap to CR/LFs Convert CR/LFs to Wrap
Stop Recording
The Stop Recording command stops capturing keystrokes and actions that started when the Record function was selected. Once a macro has been recorded and the session has been stopped with this command, the macro may be played back by selecting the Play Again or Play Any/Multiple Times command. After a macro has been recorded, it may by saved using the Save All command.
Playback
The Playback command allows a macro that has been recorded with the Macro Record command to be replayed. The macro is replayed one time for each invocation of the command. To replay the macro multiple times use the Playback Multiple Times command. This command is not available if a macro record has not been recorded or loaded.
85
86
Special Strings
A template may contain special text strings that are translated at the time the template is recalled. These special strings are: [DATE_DMY] [DATE_MDY] [DATE_TEXT] [TIME] ^ is translated into the current date with the format DAY/MONTH/YEAR. is translated into the current date with the format MONTH/DAY/YEAR. is translated into the current date with the date displayed as text. is translated into the current time IN 24-HOUR FORMAT. this indicates the position at which to place the cursor after the template has been inserted. Is translated into the full path and filename of the active document. Is translated into the drive and path of the active document. Is translated into the root filename of the active document. Is translated into the file extension of the active document.
Note - ^ refers to the character ^NOT Control Key + value. Additionally, for extended date and time formatting, UltraEdit supports the following enhanced functionality:
Time
To specify the USER TIME format use the following syntax in your template: For local time use the following markers: [TIME_USER]...time format string here...[TIME_USER_END] For system time use the following markers: [TIME_USER_SYS]...time format string here...[TIME_USER_SYS_END] The time format string is defined as follows: If you use spaces to separate the elements in the format string, these spaces will appear in the same location in the template. The letters must be in uppercase or lowercase as shown (for example, ss , not SS ). Characters in the format string that are enclosed in single quotation marks will appear in the same location and unchanged in the template.
String Meaning
87
h hh H HH m mm s ss t tt
Hours with no leading zero for single-digit hours; 12-hour clock Hours with leading zero for single-digit hours; 12-hour clock Hours with no leading zero for single-digit hours; 24-hour clock Hours with leading zero for single-digit hours; 24-hour clock Minutes with no leading zero for single-digit minutes Minutes with leading zero for single-digit minutes Seconds with no leading zero for single-digit seconds Seconds with leading zero for single-digit seconds One character time marker string, such as A or P Multicharacter time marker string, such as AM or PM
For example, to get the time string 11:29:40 PM use the following format string: hh : mm : ss tt This string MUST be between the markers, for example: [TIME_USER]hh : mm : ss tt[TIME_USER_END]
Date
To specify the USER TIME format use the following syntax in your template: For local date use the following markers: [DATE_USER]...date format string here...[DATE_USER_END] For system date use the following markers: [DATE_USER_SYS]...date format string here...[DATE_USER_SYS_END] The date format string is defined as follows: Use the following elements to construct a format string. If you use spaces to separate the elements in the format string, these spaces will appear in the same location in the template. The letters must be in uppercase or lowercase as shown in the table (for example, MM not mm ). Characters in the format string that are enclosed in single quotation marks will appear in the same location and unchanged in the template.
88
String Meaning
d dd ddd dddd M MM MMM MMMM y yy yyyy Day of month as digits with no leading zero for single-digit days. Day of month as digits with leading zero for single-digit days. Day of week as a three-letter abbreviation. Day of week as its full name. Month as digits with no leading zero for single-digit months. Month as digits with leading zero for single-digit months. Month as a three-letter abbreviation. Month as its full name. Year as last two digits, but with no leading zero for years less than 10. Year as last two digits, but with leading zero for years less than 10. Year represented by full four digits.
For example, to get the date string Wed, Aug 31 94 use the following picture string: ddd ,MMM dd yy This string MUST be between the markers, for example: [DATE_USER]ddd ,MMM dd yy[DATE_USER_END]
DOS Command
This command allows a DOS command to be run from within UltraEdit and the results of the command are captured and automatically displayed by UltraEdit at the completion of the command. A dialog box is presented that allows the command to be specified (with a browse button) and the working directory to be specified. The command line specified should be the full path of the file to be executed unless it is a system command (such as DIR), or it is in the Windows directory, or the Windows System directory. The working directory should be the full path of the working directory, or left blank if not required.
89
In order to allow maximum flexibility of programs to be run a special command line sequence is permitted that will cause the active file name to be inserted into the command line and passed to the program to be executed. For example: You set up a command to run a compiler and you want to invoke the compiler with the file you are currently editing. If you change files you want the compiler to be invoked with the new file. The compiler is c:\comp\compiler. Specify the following command in the dialog box: c:\comp\compiler %F When the command is executed, the full directory path, filename and extension of the active window will replace the % F. The file will be saved before the command is executed. The following commands may be used to pass a portion of the full-qualified filename: %P Path only ( C:\project\test\ ) %N fileName only ( test ) %E Extension only ( .c ) %P%N%E is equal to %F which is ( C:\project\test\test.c ) in the example above. NOTE - If the %f, %p, %n, %e are lower case the file names are passed as long file names and should be put in quotes, i.e. %f or %p%n etc. If the %F, %P, %N, %E are in upper case the filename and path will be converted and passed as the 8.3 short filename specification for maximum compatibility with DOS programs. Additionally the following commands are available: %R %RP %RN This may be used for the full path/name of the project (%r for long name, %R for short name) This may be used for the full project path (%rp for long name, %RP for short name) This may be used for the project name only (%rn for long name, %RN for short name)
%modify% In some cases it may be necessary to modify the command line parameters each time the tool is run. To do this, add %modify% in the command line and when the tool is run a dialog box will be shown allowing the user to modify the command line or cancel and run without modification. %sel% This instructs UltraEdit to add the highlighted/selected text from the active document into the command line in place of the %sel%.
The output from the command will be captured and displayed in a window when the command has completed. As the output from a DOS program is sometimes buffered by the operating system, this process may not work correctly with a program that requires interaction while it is executing. The prompts may not appear on the screen at the correct time and the user may wonder why there is no activity. As the output will always be captured, if the program generates no console screen output the captured output may be empty and UltraEdit will show an empty window.
90
Note - If capturing the output does not work correctly, or the command does not function correctly you may try the Alternate Capture Method command from the Advanced Menu. The Last DOS Command repeats the last command specified with the DOS command dialog without presenting the dialog box.
This feature is only available in the 32-bit version of UltraEdit. The working directory is only available in the 32-bit version of UltraEdit.
91
The primary difference is that this alternate method does not show the output of the command on the DOS Window as it is executing. This method does however resolve issues seen by some users.
Tools Configuration/Use
UltraEdit allows the user to configure up to ten menu items to commands of the users choice. Additionally up to ten additional tools may be configured for the active project by selecting the "Project Tool Configuration" menu item. These commands may be any DOS or Windows commands, and appear in the lower portion of the Advanced menu when set up. When the Tool Configuration menu item is selected, a dialog box is presented allowing the user to specify the command line and action for each of the users choices. The following information is presented:
Command Line
This is the actual command line that will be invoked it may contain a '%F' that will be replaced by the full directory specification and filename of the active file. The file will be saved first if changes have been made You set up a command to run a compiler and you want to invoke the compiler with the file you are currently editing. If you change files you want the compiler to be invoked with the new file. The compiler is c:\comp\compiler Specify the following command in the dialog box: c:\comp\compiler %F When the command is executed, the %F will be replaced by the full directory path, filename and extension of the active window. The file will be saved before the command is executed. The following commands may be used to pass a portion of the full qualified filename: %P Path only ("C:\project\test\") %N fileName only ("test") %E Extension only (".c") %P%N%E is equal to %F which is ("C:\project\test\test.c") in the example above. NOTE - If the %f, %p, %n, %e are lower case the filenames are passed as long filenames and should be put in quotes, i.e. "%f" or "%p%n" etc. If the %F, %P, %N, %E are in upper case the filename and path will converted and passed as the "8.3" short filename specification for maximum compatibility with DOS programs. Additionally the following commands are available: %R This may be used for the full path/name of the project (%r for long name, %R for short name) %RP name) %RN name) This may be used for the full project path (%rp for long name, %RP for short This may be used for the project name only (%rn for long name, %RN for short
%modify% In some cases it may be necessary to modify the command line parameters each time the tool is run. To do this, add %modify% in the command line and when the tool is run a dialog box will be shown allowing the user to modify the command line or cancel and
92
run without modification. %sel% This instructs UltraEdit to add the highlighted/selected text from the active document into the command line in place of the %sel%.
Working Directory
This is the working directory for the specified command. If applicable, the process will be started with this as its working directory. As above, the %P may be used to specify the path.
append to existing file (create new file if one does not exist) Replace existing file Create new file each time the command is run; and Capture the output to a list box (Output Window).
This list box allows the user to double click on a line of the captured output and UltraEdit attempts to open the referenced file and position to the specified line if found. As several commands may be configured, it is quite possible the user may wish for some commands to always create a new file, while other commands should replace the existing file (or append to it). For this reason, each capture mode (append, replace, new) will create a new file for that mode if one does not exist. Each time a command is run, the file for the given capture mode will be appended to or replaced if appropriate, or a new file created if selected.
Requirements
DOS commands require that certain files exist depending on the operating system: Windows 95 requires the COMMAND.COM file be on the Windows directory.
93
Windows NT requires that CMD.EXE be in the path. Windows 3.x requires that the DOSPRMPT.PIF be in the Windows directory. Note - If the capturing the output does not work correctly, or the command does not function correctly you may try the Alternate Capture Method command from the Advanced Menu.
94
95
Do not auto-save unnamed files Do not auto-save FTP files Spelling Checker: Choosing the appropriate dictionaries Installing dictionaries User Dictionaries User Options Toolbar: Feature List Toolbar List Inserting Tools Removing Tools Resetting Default Tools Use Large Icons On Tool Bar Key Mapping: Available Commands Existing Hot Keys for Commands Assigning Hot Keys for Commands Removing Existing Hot Keys for Commands Resetting Defaults File Containing Keyboard Mapping Syntax Highlighting (Please see Syntax Highlighting Section) File Types: Inserting File Names/Descriptions Replacing File Names/Descriptions Deleting File Names/Descriptions Resetting Defaults Scrolling in the File List File Associations: What are File Associations? Setting UltraEdit Associations Setting File Types/Extensions Editing File Descriptions Directories: Setting the Default Save Directory Setting the Macro Default Directory Setting the Template Directory
96
Use Default Dir on Initial File Open uses the default directory for the initial file open Use Active File Dir. On File Open Trim Trailing Spaces on Save uses the directory for the active file for the file open automatically trims trailing spaces when a file is saved
97
Multiple Instances
The Multiple Instances menu item determines if UltraEdit opens another instance of UltraEdit if it is invoked when a copy is already active. If this option is enabled, a new instance is opened each time UltraEdit is invoked. If this option is not enabled, only a single instance of UltraEdit is opened, and any additional request results in the first instance becoming active with the new file loaded in addition to any files already open.
Save Bookmarks
UltraEdit provides the ability to save the bookmarks for any file that has active bookmarks when a file is closed. By default the feature is not enabled. This may be enabled by setting the "Save Bookmarks " setting in the General Options configuration page. If this option is disabled UltraEdit will delete any saved bookmarks the next time UltraEdit is closed.
98
99
Allow Positioning Beyond Line End allows the cursor to be positioned beyond the end text in a line Disable Drag and Drop disables the Drag and Drop Editing feature
Home Key Always Goto Column 1 forces the Home key to go to the first non-space character unless in that position, in which it will go to the first column Auto Complete File Tab/Word Wrap Change List specifies source file for Auto Completion function Tab and Word-Wrap settings will change to reflect the extensions shown. The "default" setting is used for any files that do not match the user-defined extensions. tab stops will be based on the number of spaces specified below sets number of spaces to use in place of tabs
Default Word Wrap on for Each File toggles use of word wrap each time a file is created Wrap Method allows user to set wrap at window edge, after selected column #, after column # inserting CR/LF, automatically insert CR/LF at file open, or set absolute wrap after column #
100
101
Auto-Completion
UltraEdit provides the ability to complete words automatically while typing. There are there three aspects to the Auto-Completion: - When invoked all the keywords from the Syntax Highlighting will be available in the list (if the file uses Syntax Highlighting). - In configuration under the EDIT tab a user specified file may be used to provide the strings for Auto-Completion. In this case a new line is required for each word, or sentence (allowing a complete sentence/paragraph to be specified). - UltraEdit will search back 50K in the active file from the cursor location for words that match a partially typed word and show these. By default Auto-Completion is invoked with Ctrl+Space. When this is invoked a list box is displayed with the possible words/phrases for completion. If an appropriate word exists it will be highlighted. Typing additional characters will change the selection as appropriate to a word that matches the partial word typed. The user may use the cursor keys to change the selected word and at any time use the TAB, SPACE or ENTER to select the word to be used. Doing so will cause UltraEdit to replace the partially entered word (if present) with the selected word/phrase. Shortcut Keys: CTRL+Space
Tab Settings
UltraEdit allows for selection of Tab Stops and for Tab characters to be replaced by spaces automatically while editing. Use spaces in place of Tabs, if checked instructs UltraEdit to replace Tab characters with spaces. If this selection is made, the Tab Stop Value allows selection of the number of spaces to use. The Tab Stop Value specifies the Tab stops, or the number of spaces to use in place of a Tab character. If the option to replace Tabs with spaces is chosen, UltraEdit inserts spaces in place of Tabs but maintains the Tab Stop spacing using the number of spaces specified. UltraEdit does not replace existing Tab characters that may exist within the document.
102
103
Automatic Backup
The option is provided to automatically save all open files at the desired interval. The interval is configurable in minutes. If the interval is set to zero (0) no automatic save is performed. Two further options are available for backup: The option is provided for the automatic save to ignore files that do not have a name (i.e. files that were created with the New File command). This stops the Save As dialog from appearing if an unnamed file exists and has been modified. The option is provided for the automatic save to ignore files that were downloaded via FTP to avoid the delay and possible connection issues of automatically writing a file to a remote server.
104
If a file is saved due to the automatic backup/save command a .BAK file is only created for the first save of the session. For subsequent saves with this feature the .BAK file is not created or overwritten.
Options Dialog
You can use the Options Dialog to specify various spelling-checker options. These options affect the way the spelling checker operates.
105
Case Sensitive
When enabled, a distinction is made between capitalized and non-capitalized words. For example, canada is considered different from Canada, so canada would be reported as a misspelling. When the option is disabled, canada and Canada are considered identical.
Phonetic Suggestions
When enabled, suggestions are made on the basis of phonetic (sounds-like) similarity to the misspelled word. This option tends to improve suggestions for badly misspelled words. Enabling this option will increase the time required to locate suggestions. Note that either this option or the Typographical Suggestions option must be enabled or no suggestions will be offered.
Typographical Suggestions
When enabled, suggestions are made on the basis of typographical (looks-like) similarity to the misspelled word. This option is appropriate for people who are generally good spellers. Note that either this option or the Phonetic Suggestions option must be enabled or no suggestions will be offered.
Auto Correct
When enabled, words defined in auto-change dictionaries will automatically be changed to their specified replacements. When disabled, you will be prompted before the words are changed.
Suggestions
Determines the speed and accuracy of the initial search for suggested replacements for misspelled words. When a misspelled word is detected, a search is automatically made for suggestions. This option controls the speed and accuracy of this automatic search. Pressing the Suggest button in the Check-Spelling dialog causes an increasingly more accurate (but slower) search for suggestions.
OK button
Closes the Options Dialog, and saves any changes made to the option settings.
106
Cancel button
Closes the Options Dialog, and discards any changes made to the option settings.
Dictionaries Dialog
The Dictionaries Dialog allows you to open and close user dictionaries, and to edit the contents of an open user dictionary. The contents of dictionaries are saved in disk files. You can open some or all of your user dictionary files at any time. Only open dictionaries are checked during a spell-checking operation.
Close button
Closes the Dictionaries dialog.
Export button
Saves the contents of the currently selected dictionary to a text file. When you select the Export button, a dialog appears which you can use to select the name of the text file to which words in the dictionary will be exported. The words are written to the file one per line. If the dictionary type is auto change or conditionally change, words and their replacements are written, separated by a colon.
Files list
Contains the list of open dictionary files. When you select a file from the list, its contents are displayed in the Words list.
107
Import button
Adds the words contained within a text file to the currently selected dictionary. When you select the Import button, a dialog appears which you can use to select the text file to be imported. Each word in the selected file is loaded into the dictionary. If the dictionary type is auto change or conditionally change, words in the file must be in word:replacement form (e.g., teh:the ).
Language
Displays the language (e.g., English or French) of the words in the currently selected dictionary.
New button
Creates a new user dictionary file. When you select the New button, a dialog appears which you can use to specify attributes of the new dictionary. See the New Dictionary dialog for details.
Type
Displays the type or purpose of the currently selected user dictionary. The dictionary type indicates what will happen if a word is located in the dictionary during a spelling check.
Words list
Contains the list of words in the currently selected user dictionary. If the dictionary type is auto change or conditionally change, then the list contains words and their replacements, separated by colons.
Browse button
Displays a dialog that shows the names of other user dictionary files. You can use the dialog to view the names of existing dictionary files, and to enter the name of the new dictionary file.
Cancel button
Closes the New Dictionary Dialog without creating a new dictionary.
108
Language list
Specifies the language (e.g., French, English) of the words the new user dictionary will contain. If the language you want to use is not listed, select Other.
OK button
Closes the New Dictionary Dialog and creates the new dictionary.
Type list
Specifies the type or purpose of the new user dictionary. The type defines what happens when a word is located in the dictionary during a spelling check.
Check-Spelling Dialog
The Check-Spelling Dialog appears if a word requiring your attention is detected. You can use the dialog to specify whether the word should be ignored or replaced.
Add button
Causes the reported word to be added to the dictionary selected in the Add Words To list. Use the add button if a correctly spelled word you use often is reported as a misspelling (e.g., your family name). If the word is not used frequently, you may want to select the Ignore or Ignore All buttons instead.
Cancel button
Stops the current spell-checking operation.
Change button
Causes the reported word to be replaced with the word in the Change To box. Only this occurrence of the reported word is replaced. If you want this and all following occurrences of the word replaced, select the Change All button.
109
Change To box
Contains a word that will replace a misspelled word when you select the Change or Change All buttons. You can enter a word in the Change To box by typing, or you can select one of the suggested replacements from the Suggestions list.
Dictionaries button
Causes the Dictionaries dialog to be displayed. You can use the Dictionaries dialog to open or close user dictionaries, and to edit the contents of user dictionaries.
Ignore button
Causes this occurrence of a misspelled word to be skipped. If the same misspelled word appears later, it will be reported.
Options button
Causes the Options dialog to be displayed. You can use the Options dialog to set spellingchecker options.
Suggest button
Search more thoroughly for suggested replacements for the current misspelled word. Each time you press the Suggest button, a deeper search is made. The Suggest button is disabled once all possible suggestions have been located.
110
Suggestions list
Contains a list of suggested replacements for the word reported as misspelled. This list is filled in automatically when a misspelled word is detected. Subsequent presses of the Suggest button may yield more suggestions. A word selected in this list will be automatically copied to the Change To box, where it can be substituted for the misspelled word by pressing the Change button.
Configure Toolbar
The Toolbar may be configured to include up to 50 items of the user s choice. Any feature listed in the menus may be configured to the toolbar using the dialog presented. The Feature List lists all the features that may be displayed on the toolbar including a Button Separator to separate groups of buttons. The Toolbar List displays the currently selected list of features in the toolbar. To add an item to the toolbar, select the position in the toolbar list at which the new item is to be inserted. In the feature list, select the item to be inserted. Click the insert button to insert the item in the toolbar. To remove an item in the toolbar, select the item in the toolbar to be removed. Click the remove button to remove the item from the toolbar. The items in the feature list are listed in the same order as they appear on the menus. The default button resets the toolbar list to the default configuration.
Key Mapping
The Key Mapping dialog allows the user to reassign the default key mapping provided by UltraEdit to suit their particular needs. This dialog shows a list of commands within UltraEdit that may be mapped by the user to a key combination of their choice. Clicking on any of the commands will show the existing key assignment (if any) and the command description below the list. To add or change a command key assignment: 1) Select the command you wish to modify from the Commands list. 2) Click the mouse in the Press New Key entry window area, or TAB to give it focus. 3) Type the new key assignment just as you would if you were invoking the command - this key combination will be captured and displayed. 4) Click on the Assign button and the new key will be assigned to the command. If an existing key is assigned you will be asked if you wish to delete it and replace with the new assignment. To remove a key assignment: 1) Select the command you wish to modify from the Commands list. 2) Select the existing key assignment from the Existing keys list. 3) Click on the Remove button and the key assignment will be removed.
111
To reset the key assignments to the default: 1) Click on the Defaults button and the key assignments will be reset to the defaults. The user will be prompted to confirm the action.
File Name
Type or select the filename you want to open. This box lists files with the extension you select in the List Files of Type box.
Drives
Select the drive in which UltraEdit finds the file that you want to open.
Directories
Select the directory in which UltraEdit finds the file that you want to open.
Read Only
Check this item to open a file in a read-only manner. Modifications will be disabled.
Network...
Choose this button to connect to a network location, assigning it a new drive letter.
112
UltraEdit allows multiple files to be selected from the file list and opened at one time (Except UltraEdit-32 on Windows NT). To select multiple files, select the first file from the list, then with the CTRL key pressed, select other files in the list. When all files are selected, select OK and the selected files will be opened. Dragging files from the File Manager into UltraEdit s window and dropping them will also open files. (Releasing the mouse button).
File Name
Type a new filename to save a document with a different name. A filename can contain up to eight characters and an extension of up to three characters.
Drives
Select the drive in which you want to store the document.
Directories
Select the directory in which you want to store the document.
Network...
Choose this button to connect to a network location, assigning it a new drive letter.
File Associations
The File Associations dialog allows the user to associate UltraEdit with selected file types. This dialog shows a list of current associations for UltraEdit, and a list of file types that UltraEdit determines the user may wish to associate with UltraEdit. The user may add or remove file associations using this dialog. A file association is used by Windows Explorer to determine which application is to be used to open the file when the file is double clicked or opened in the Explorer. The list showing UltraEdit Associations shows all file types that are currently associated with UltraEdit. The user may select any item in this list and remove the association with the Delete Button. To add an association, the user may select an item from the FileTypes/Extensions drop down list or type in a new extension and add it with the Add button. The Description may be modified for any file type that is added. When an association is added, UltraEdit saves the old association if it exists and restores it if the UltraEdit association is later removed using this dialog.
The normal operation of Windows NT does not permit the selection of long filenames, and multiple selection from the open dialog. To facilitate both operations, the open dialog box normally allows single selection with long filenames. If however the SHIFT key is pressed while the file open dialog is invoked multiple selections are permitted with short file names. This feature is only available in the 32-bit version of UltraEdit.
113
114
115
Strings Number values (must start with a digit (0-9)) Up to eight groups of different recognized words The Configuration Dialog allows the colors to be selected for the different languages and color groups. This also allows the user to specify the location of the "wordfile" used for highlighting. For any of the color groups the foreground/text color and the background color may be set. By default the background will revert to the background specified for normal text (Background Color Automatic will be checked). This must be unchecked to activate the background color. Each color may be changed by clicking on the colored box beside the text description. When clicked, a dialog box will appear that allows the new color to be selected. Additionally for each color group (except Normal Text) font styles of Bold, Italic and Underline are available. These may be selected individually for each color group. With some fonts the underline may not always show correctly, and with bold, the spacing may not be correct for non-fixed pitch fonts. The Auto-Correct Keywords checkbox enables or disables the Auto-Correct feature. Note - The highlighting is determined by the file extension (details below). The file extension of the file being modified must be defined in the "wordfile" for one of the languages. Users may configure the predefined words as follows: UltraEdit reads a configuration file (the default file is "WORDFILE.TXT"), to configure the syntax highlighting. This file is read each time the editor starts up. The size of this file may be up to 128KB. The syntax for this file is as follows:
Language Definition
The word set, or language is specified by a /Ln where n has a value of 1 to 10. This must be at the beginning of the line. A description or name of the language may be specified immediately following the /Ln in quotes. This description if present is displayed when setting up the colors for the language. The description may be up to 18 characters.
Line Comments
The comment characters used for line comments is specified by the string "Line Comment = " followed by the comment characters. Three characters are allowed, if there are less than three then the last character must be followed by a space. A second set of line comments may be specified by the string "Line Comment Alt = " followed by the comment characters. Three characters are allowed, if there are less than three then the last character must be followed by a space. As some instances may require that a space is a part of the line comment an alternative method to describe the line comment is available. Using the alternative method, the number of characters used is specified by the user with the following syntax: "Line Comment Num = xCC " where x specifies the number of characters (1 to 3) and IMMEDIATELY following are the characters to be used as line comments. In the example above, x would be 3, and the line comment would be CC (note the space after CC).
116
Block Comments
The characters used for block comments may also be configured (i.e. /* */ for C). These are in the form "Block Comment On = " and "Block Comment Off = " followed by up to five characters each that define the comment designators. For compatibility with previous releases, the /* and */ are used for file types that have .C as one of the extensions. This may be overridden. The first character of the block comments may be a space. If a Block Comment On is defined but the Block Comment Off is not defined the commenting will stop at the end of the line. This effectively allows the block comments to be used as line comments also. Additionally, a second set of block comments may be defined for languages that require it. This is particularly useful for ASP allowing HTML comments to be maintained with the addition of adding highlighting for ASP blocks. The second set of block comments are in the form "Block Comment On Alt = " and "Block Comment Off Alt = " followed by up to five characters each that define the comment designators. The first character of the block comments may be a space. If a Block Comment On Alt is defined but the Block Comment Off Alt is not defined the commenting will stop at the end of the line. This effectively allows the block comments to be used as line comments also.
File Extensions/Types
The file extensions that are applicable for this language are specified by the string File Extensions = and each extension is separated by a space.
Color Selection
Color codes may be specified by adding a line with /Cn at the beginning of the line, where n is the color index of 1 to 8. A description or name of the section may be specified immediately following the /Cn in quotes. This description if present is displayed when setting up the colors for the language. The description may be up to 18 characters. All information specified remains in effect until overridden with new command information. The following example specifies the first language to be used with files with the extensions C , CPP , H or HPP . The color used for the words is the first selectable color and the comment characters are //. /L1 C/C++ Line Comment = // Block Comment On = /* Block Comment Off = */ File Extensions = CPP C H HPP /C1 auto break case char const continue chr$ default do double
Case Sensitivity
If the language is not case sensitive, the keyword Nocase may be added to the command line i.e.: /L1 Line Comment = // Nocase File Extensions = CPP C H HPP
117
Strings
When using many programming languages characters in single quotes and double quotes are treated as literal strings, and word and comment recognition should be ignored. This is the default behavior for UltraEdit. There are some languages, (i.e. HTML and others) where this behavior is undesirable. To facilitate such languages the keyword Noquote may be added to the command line to override the default behavior i.e.: /L1 Noquote File Extensions = HTM UltraEdit also supports configurable characters for quote strings. The default characters for strings are single and double quotes ( ) and ( ). These may be overridden with the keywords String Chars = followed by up to two characters. This is only required if you wish to use different characters from the default. If for example you wish to use the double quote only for strings you would have al line similar to the following: /L1 C/C++ Line Comment = // Block Comment On = /* Block Comment Off = */ String Chars = File Extensions = CPP C H HPP Note the String Chars portion. Additionally, if you have two characters for the strings defined (or using the defaults) and you wish to have a different color for each type of string, you may now include the character (i.e. double quote) in one of the color groups in a line by itself. This will override the configurable color for the strings that are encapsulated by this character. /L1 C/C++ Line Comment = // Block Comment On = /* Block Comment Off = */ String Chars = File Extensions = CPP C H HPP /C1 auto break In the above example, all strings that have double quotes ( ) around them will be colored with the color group C1 while strings with a ( ) around them will use the default color for strings.
Escape Character
In many languages there is a special designated character that is referred to as an Escape Character. This is used to override the normal string characters (and other characters). If a string were defined that itself contained a quote character normally used to define the string, the syntax highlighting would interpret this quote as the end of the string. If however this quote character were preceded with an Escape Character the quote character would be appropriately treated as part of the string and not the end of it. The Escape Character is defined as follows: /L1"C/C++" Escape Char = \ In this case the Escape character is defined as a backslash.
118
Keywords
Note that ALL words starting with the same character may be on the same line or spread across multiple lines, however if they are spread across multiple lines the lines must be one after the other with no empty lines or other lines between them. If the language is case sensitive, the letter Ais different from aand so words starting with A MUST be on a different line from words starting with a . If the language is case insensitive words starting with the letter Amust be on the same line as words starting with the letter a .
HTML Specific
HTML is considerably different from other languages, and to better facilitate the use of UltraEdit for editing HTML files the HTML_LANG keyword was added. When this keyword is present the special characters < and / may be placed in front any keyword as desired without all keywords with the special characters all having to be on the same line (unless they all begin with the same letter). Below is an example portion of a wordfile for HTML: /L3 HTML Line Comment = // HTML_LANG Block Comment On = <!-- Block Comment Off = --> File Extensions = HTM HTML /C1 <A </A> <ADDRESS> </ADDRESS> <APPLET </APPLET> <B> </B> <BASE <BASEFONT <BGSOUND <BIG> </BIG> <BLINK> </BLINK> <BLOCKQUOTE> </BLOCKQUOTE> <CAPTION> </CAPTION> <CENTER> </CENTER> <CITE> </CITE> <CODE> </CODE> Additional enhancements for HTML will be added in the future.
119
FORTRAN Specific
FORTRAN is quite different from other languages regarding comments, and to better facilitate the use of UltraEdit for editing FORTRAN files the FORTRAN_LANG keyword was added. When this keyword is present, UltraEdit treats a C , cor *in the first column as a line comment indicator and the rest of the line is highlighted as if it were commented out. Below is an example portion of a word file for FORTRAN: /L4 Fortran FORTRAN_LANG File Extensions = FOR FTN /C1 Note- any of the normal comment indications may also be used (line comments, block comments).
LaTex/Tex Specific
TeX/LaTeX is quite different from other languages and each command starts with a \ . To better facilitate the use of UltraEdit for editing TeX/LaTeX files the LATEX_LANG keyword was added. When this keyword is present, UltraEdit has special handling for syntax highlighting to allow words to be appropriately handled and highlighted with the \ , and with consecutive words. This also allows the recognized words to be placed in the wordfile with out all of them being on the same line. If the word begins with \then the second character is used to determine which line the word should on. All words beginning with \ashould be on the same line as other words beginning with \aor a . In the same way, all words beginning with \bshould be on the same line as other words beginning with \bor bbut on a different line from those starting with \aetc. Below is an example portion of a word file for TeX/LaTeX: /L4 TeX/LaTeX LATEX_LANG File Extensions = TEX LATEX /C1 Note- any of the normal comment indications may also be used (line comments, block comments).
120
Delimiters
UltraEdit has built in delimiters that are used to determine when a new word starts, and when a word finishes so that it may be matched against the set of words for a given language. With the exception of the < and >characters in HTML a character that is a delimiter may not also be part of a word. i.e. you can not say the @ symbol is to be considered part of a word, and it is a delimiter between words. (Future enhancements may allow this). With release 4.1 and later, UltraEdit allows the delimiter characters to be configurable by the user. For compatibility, the existing delimiters are retained if the user does not specify the delimiters for a given language. Each language may have its own set of delimiters. It is not necessary to configure the delimiters for languages if you are using the defaults. To specify the delimiters, add a NEW line similar to the following to your wordfile: /Delimiters = ~!@$%^&*()_-+=|\/{}[]:; <> ,.?/7 Note that the Delimiters should include a space and a TAB character if you want them to be considered delimiters. The line must begin with /Delimiters = . With release 5.0 it is possible to assign the delimiter characters to the color sections. If you have a character that is a delimiter, such as a +and you wish this to be colored with one of the group colors you may add this character to a line of its own under the color section. This will retain its recognition as a delimiter and be highlighted with the appropriate color.
121
Indentation
UltraEdit provides for automatic indentation based on the specific language to indent a block of code or to out-dent a block of code. For indentation for a specific language add a line similar to the following line under the particular language section: /Indent Strings = "{" Any number of words may be specified in quotes (each word/string must be in a separate set of quotes ""). For the word to match it must be the LAST non-space characters of the line. The indentation is the next TAB stop from the indentation of the preceding line (same as if a TAB key was pressed). For out-denting for a specific language add a line similar to the following line under the particular language section: /Unindent Strings = "}" Any number of words may be specified in quotes (each word/string must be in a separate set of quotes ""). For the word to match it must be the FIRST non-space characters of the line. If the line that contains the string is indented LESS than the preceding line an indentation does not occur, otherwise the matching character/word is out-dented to the preceding TAB stop and the new line is indented to the same point.
Marker Characters
There are times when it is desirable to highlight all characters between two characters. UltraEdit provides for marker characters that mark the first and last part of a string that UltraEdit highlights between. All characters between the two characters are highlighted. To define marker characters for a specific language add a line similar to the following line under the particular language section: /Marker Characters = "ab" where a is the first character of the string to be highlighted and b is the last character. Note that all characters on a line will be highlighted including spaces. If the line is a comment or string this is ignored. Additionally, you may define up to 4 pairs of characters to highlight between as in: /Marker Characters = "abcdefgh" where strings starting with 'a' and ending with 'b' are highlighted as are strings starting with 'c' and ending with 'd' etc. The color of the highlighted string is configurable. To specify the color, add the two characters under the appropriate color section as if they were a word such as "ab", "cd" etc. The user may modify this file.
Auto-Correct
If Syntax Highlighting is enabled UltraEdit will automatically (optionally) check each word against the keywords in the wordfile and if the word matches except for the case of the word UltraEdit will correct the word to match the case in the wordfile. For this to work, the current file must be highlighted with Syntax Highlighting and the language as specified in the wordfile must NOT have the "Nocase" command word specified.
122
Wildcard characters
UltraEdit will accept any normal wildcard specification for files to be opened, i.e. *.c will open all files with the .c extension.
123
UltraEdit accepts a /Por /pon the command line. This instructs UltraEdit to print the files that appear on the command line automatically and to exit when the files have been printed. UltraEdit permits the INI file used for UltraEdit settings to be specified by the user. If the command line contains /I=filename this is used. Example: /i=c:\windows\uedit32.ini The filename must follow the /i= immediately. It can be a long name with spaces, in which case it must be in quotes. For more information on the INI settings see INI File Selection. UltraEdit allows macros to be automatically invoked from the command line with the following syntax added to the command line: /M,E,5= full path of macro file/macro name The /M specifies the macro command The ,E specifies that after execution of the macro, the file should be saved and the editor exit, this is an optional parameter. The ,5 specifies the number of times the macro should run. This is an optional parameter, and if not present the macro will run once if a file is loaded on the command line. If a file is not specified on the command line the macro will not run unless the number of times is specified. The macro file name is specified in quotes. Optionally, the name may include a forward slash (/) followed by the name of the macro if the file contains more than one macro. If a macro name is not specified, the first macro in the file will be used.
DDE Support
UltraEdit supports the following DDE commands. They are all part of the System topic. Command: Function:
[open( filename )]
Opens the specified file. Following the filename any of the normal command line parameters may be specified for macro running, positioning at line number etc.
[printto( filename , printername , printer driver , port )] Print the specified file to the specified printer, giving the printer name, printer driver and port.
These commands must be passed exactly as shown. The following example uses DDE open to open a file and run a macro: [open( filename /M,E,1= full path of macro file/macro name )]
124
125
126
Cascade command
Use this command to arrange multiple opened windows in an overlapped fashion.
127
Synchronized Scrolling
If this feature is enabled UltraEdit will scroll all windows that are not minimized when any of the windows are scrolled vertically. This allows viewing two (or more) files together without the need to scroll each one individually. When the user clicks on the vertical scroll bar to provide scrolling, or on the up/down arrows on the vertical scroll bar the windows will be scrolled together. Additionally if the user uses the Ctrl+Up/Down for scrolling the windows will be scrolled together. If the user uses the cursor keys to reposition the file the windows will not be scrolled together allowing the user to change position in one file without affecting another file. Scrolling by dragging the Thumb on the vertical scroll bar will attempt to scroll the windows together, however this method on large files may not keep the files synchronized.
1, 2, ... command
UltraEdit displays a list of currently open document windows at the bottom of the Window menu. A check mark appears in front of the document name of the active window. Choose a document from this list to make its window active.
128
Index command
Use this command to display the opening screen of Help. From the opening screen, you can jump to step-by-step instructions for using UltraEdit and various types of reference information. Once you open Help, you can click the Contents button whenever you want to return to the opening screen.
About command
Use this command to display the copyright notice and version number of your copy of UltraEdit.
129
Edit Select All Ctrl+A Edit Undo Ctrl+Z Ctrl+Y (previously Edit Redo Ctrl+A) Edit Select Word Ctrl+J Edit Delete Line Ctrl+E Edit Delete to Start of Line Ctrl+F11 Edit Delete to End of Line Ctrl+F12 Edit Insert Time/Date F7 Edit Find Alt+F3 or Ctrl+F Edit Find Prev Ctrl+F3 Edit Find Next F3 Edit Match Brace Ctrl+B Edit Replace Ctrl+R Edit Goto Ctrl+G Edit Reformat Paragraph Ctrl+T Format To Lower Ctrl+F5 Format To Upper ALT+F5 Format Capitalize F5 Shift+F5 Ctrl+K ALT+C Ctrl+Backspace Ctrl+Delete Ctrl+I INS Ctrl+H Ctrl+D Ctrl+F2 F2 Ctrl+M Ctrl+L Ctrl+F6 Format Invert Case Edit Spell Check Column Mode Delete previous word Delete next word Insert Literal Character Insert/Overstrike Mode HEX Edit HEX Insert/Delete Set Bookmark Goto Bookmark Macro Play Macro Play Multiple Times Next Window
130
Ctrl+Shift+F6 F4 Alt+F4 Alt+0-9 Shift+Alt+0 - 9 F9 Ctrl+F9 F10 Ctrl+Shift+A Ctrl+Shift+A Ctrl+Shift+O Ctrl+Shift+O Ctrl+Shift+U Ctrl+Shift+U Ctrl+Shift+S Ctrl+Shift+S Home End Ctrl+Up Ctrl+Down Ctrl+Home Ctrl+End Ctrl+Shift+Up Ctrl+Shift+Dn Shift+Home Shift+End
Previous Window Toggle Window Exit UltraEdit Insert Template0 DOS Command Last DOS Command Execute Window Program Inserts character Inserts character (Caps Lock on) Inserts character Inserts character (Caps Lock on) Inserts character Inserts character (Caps Lock on) Inserts character Inserts character (Caps Lock on) Beginning of Line End of Line Scroll Up Scroll Down Top of Page Bottom of Page Select Text Up Select Text Down Select to Beginning of Line Select to End of Line
Make the previous document window active Toggles focus between File Tree View and Edit Window Exit UltraEdit Insert user defined template Run DOS Window command Repeat last DOS Window command Execute Windows Program
Display Function List F8 Alt+Right Arrow Next Paragraph Alt+Left Arrow Previous Paragraph
Move cursor to beginning of line Move cursor to end of line Scroll up one line keeping cursor in view Scroll down one line keeping cursor in view Move cursor to first character in file Move cursor to last character in file Select one line of text while moving cursor up one line Select one line of text while moving cursor down one line Select all text from cursor position to first character in line Select all text from cursor position to last character in line Select all text from cursor position to first character in file Select all text from cursor position to last character in file Display Function List Position cursor at first not space character of next paragraph Position cursor at first not space character of current paragraph (if positioned mid-paragraph) or previous paragraph Position cursor beginning of first line in of the display Position cursor beginning of last line in of the display
131
? * + ++ ^b ^p ^t [] ^{A^}^{B^} ^ ^( ^)
Note - ^ refers to the character ^NOT Control Key + value. Examples: m?n matches man , men , min but not moon . t*t matches test , tonight and tea time (the tea t portion) but not tea time (new line between tea and time ). Te+st matches test , teest , teeeest etc. but does not match tst . [aeiou] matches every lowercase vowel [,.?] matches a literal , , . or ? . [0-9, a-z] matches any digit, or lowercase letter [~0-9] matches any character except a digit (~ means NOT the following) You may search for an expression A or B as follows: "^{John^}^{Tom^} This will search for an occurrence of John or Tom. There should be nothing between the two expressions.
132
You may combine A or B and C or D in the same search as follows: "^{John^}^{Tom^} ^{Smith^}^{Jones^}" This will search for John or Tom followed by Smith or Jones.
Symbol \
Function Marks the next character as a special character. "n" matches the character "n". "\n" matches a linefeed or newline character. Matches/anchors the beginning of line. Matches/anchors the end of line. Matches the preceding character zero or more times. Matches the preceding character one or more times. Matches any single character except a newline character. Brackets or tags an expression to use in the replace command. A regular expression may have up to 9 tagged expressions, numbered according to their order in the regular expression. A character set. Matches any characters between brackets. A negative character set. Matches any characters NOT between brackets. Matches a digit character. Equivalent to [0-9]. Matches a nondigit character. Equivalent to [^0-9]. Matches a form-feed character. Matches a linefeed character. Matches a carriage return character. Matches any white space including space, tab, form-feed, etc but not newline. Matches any nonwhite space characters but not newline. Matches a tab character. Matches a vertical tab character. Matches any letter character including underscore. Matches any non-letter character.
^ $ * + . (expression)
[xyz] [^xyz] \d \D \f \n \r \s \S \t \v \w \W
133
Examples: m.n matches "man", "men", "min" but not "moon". Te+st matches "test", "teest", "teeeest" etc. but does not match "tst". Te*st matches "test", "teest", "teeeest" etc. AND matches "tst". [aeiou] matches every lowercase vowel [,.?] matches a literal ",", "." or "?". [0-9, a-z] matches any digit, or lowercase letter [^0-9] matches any character except a digit (^ means NOT the following)
You may search for an expression A or B as follows: "^(John|Tom) This will search for an occurrence of John or Tom. There should be nothing between the two expressions.
You may combine A or B and C or D in the same search as follows: "^(John|Tom)(Smith|Jones)" This will search for John or Tom followed by Smith or Jones.
If Regular Expression is not selected for the find/replace and in the Replace field the following special characters are also valid: Symbol ^^ ^s ^c ^b ^p ^t Function Matches a "^" character Is substituted with the selected (highlighted) text of the active file window. Is substituted with the contents of the clipboard. Matches a page break Matches a newline(paragraph) (CR/LF). Matches a tab character
134
Auto Reformat = 1
This setting causes the editor to automatically reformat a paragraph after a paste command if the Word-Wrap settings are set to wrap at a specific column number with the insertion of hard returns (CR/LF). UltraEdit defaults to this behavior and setting this value to 0 will disable this feature.
135
Column Overstrike =1
With this setting set to one (1), the column operations operate either in insert mode (as default) or overstrike/overpaste mode based on the insert/overstrike keyboard setting. This is toggled by the Insert Key and shows up on the status bar. If in the overstrike mode, cut/delete operations will remove the contents but leave spaces so that column data is not shifted. Paste operations will paste over the current position data and not shift columns either. If its is preferred that the overstrike mode is what you require permanently for column mode, you may set the INI value to two (2).
ConvertKBDInput = 1
This setting instructs UltraEdit to convert the keyboard input from ANSI to OEM if an OEM font is selected. The default setting is not to perform any conversion.
DisableFlatToolBar = 1
This setting disables the "Flat" style toolbar for Windows 95 and Windows NT 4.0 and later. If this setting is used, the toolbar will be shown with the raised buttons and separators between buttons.
DontUseRename = 1
This setting affects how UltraEdit generates the backup file. The reason for the setting is that on some systems, if UltraEdit renames the original file to the backup the original file when it is recreated does not maintain the file permissions that previously existed. This setting instructs UltraEdit to copy the original file to the backup and not to rename it. This is slower than renaming it but does preserve the file permissions. This can also be useful in the case of FTP connections to Operating Systems such as Unix in which filenames are case sensitive. If this setting is used the case of the filename will be preserved. If the file is renamed in UltraEdit mixed case filenames will be changed to a uniform case.
Lock File = 1
This setting causes the editor to keep the lock on any file that is opened. Additionally, if the file is already locked, it allows for open by read-only in this case prompting the user with a dialog box to confirm the open as read-only. This feature prevents modification of a file from outside of the edit session preventing loss of changes made.
136
Max Columns =
This setting specifies the maximum columns allowed within UltraEdit before it wraps the line (soft wrap). The default is 4096 columns but a maximum of 9216 is allowed. Some video drivers have a problem when this is set too high.
New File = 0
This setting instructs UltraEdit not to create a new empty document file when it starts up without other files to open. The default setting is to create a new document file if no files are being opened automatically when UltraEdit starts up.
No Temp Confirm = 0
This disables the dialog box asking for confirmation when opening a file without a temporary file.
Open Maximized = 1
This setting determines if UltraEdit should always open its main window in a maximized state. The default is for UltraEdit to remember the previous settings. If this setting is set to 1, UltraEdit will open the main window in a maximized state.
137
TitleNameOnly = 0
This setting allows the user to specify that UltraEdit should only display the filename only and not the path in the title bar for the editing window. When set to 0 the filename and path will be displayed (default). When set to 1, only the filename will be displayed.
Use Registry = 1
This setting causes the editor to save and retrieve all settings from the Registry. After UltraEdit determines the INI file in use it checks for this value before reading any other values. If this is set, UltraEdit stores all settings in the Registry.
138
To insert a new line, add a line between the open quote and close quote. To insert two lines with 1 and 2 at the beginning of the lines the command should be as follows:
1 2 AnsiToOem Bottom CloseFile ColumnModeOff ColumnModeOn ColumnCut ColumnDelete ColumnInsert ColumnInsertNum Copy Cut Delete DeleteLine Start number increment Leading Zero (optionally) Convert ANSI character set to OEM character set. Jump to end of file. Close the active file. Turn the column mode off. Turn the column mode on. Cut selected columns in column mode. Delete selected columns in column mode. Insert string columns. between quotes into selected
Insert number in selected columns. Copy selected text to the clipboard. Cut the selected text from the file to the clipboard. Delete the selected text. Delete the current line.
139
Delete the current line from cursor position to End of Line. Delete the current line from cursor position to Start of Line. Convert the file (line terminators) to MAC format. Convert the file (line terminators) to UNIX format. Else function for an IF command. IfSel Else do these commands if the IfSel failed. Endif
Ends the block of instructions controlled by the IfFound/IfNotFound statements. End of loop - go back to beginning of the loop see the Loop command. Stop Selecting Text (see Start Select for details). Exit loop and go to first command after the loop (after the EndLoop command) - see the Loop command. Exit Macro without processing any additional commands or returning an error. "" (Search string in quotes) MatchCase - indicates the search is case sensitive (optional) MatchWord indicates the search string will only match instances that are a complete word (optional) RegExp Indicates a Regular Expression search (optional) Up - Indicates search in reverse direction (optional) prompt Find the string in quotes based upon the parameters specified.
ExitMacro Find
GetString
Prompts the user for a string that is inserted in the file at the current location. The prompt is the prompt or question that is displayed to the user when the macro is run. GetString "Where country do you live in?
140
GetValue
prompt
Prompts the user for a value that is inserted in the file at the current location. The prompt is the prompt or question that is displayed to the user when the macro is run. GetValue "How old are you?
GotoBookMark GotoBookMarkSelect GotoLine GotoLineSelect GotoPage GotoPageSelect HexDelete HexInsert HexOff HexOn IfCharIs "string" or number Line number (#) Line number (#) Page number (#) Page number (#) Number of bytes to delete (#) Number of bytes to insert (#)
Jump to the next bookmark. Jump to the next bookmark and select text from cursor position to bookmark. Jump to specified line number. Jump to specified line number and select text from cursor position to line. Jump to specified page number. Jump to specified page number and select text from cursor position to page number. Delete the specified number of bytes from the file. Insert the specified number of bytes into the file. Turn Hex mode off - switch to text mode. Turn Hex mode on. This checks if the current character at the cursor position is in the specified string, or matches the decimal number. IfCharIs "xyz do these commands if the current character is x, y, or z. EndIf IfCharIs 34 do these commands if the current character is decimal value 34 - a double quote. EndIf
IfColNum
number
This checks if the current cursor position is the specific column number. IfColNum 10 do these commands if the current cursor position is column 10. Column 1 is the first column. EndIf
141
IfEof
This checks if the current cursor position is at the end of file. IFEof do these commands if at end of file EndIf
IfFound
This checks the results from the last find command in the macro and will execute the next set of instructions up to an "EndIf" if the last search was successful: Find "something" IfFound do these commands if "something" was found EndIf
IfNotFound
This checks the results from the last find command in the macro and will execute the next set of instructions up to an "EndIf" if the last search was NOT successful: Find "something" IfNotFound do these commands if "something" was NOT found EndIf
IfSel
This checks if there is currently any selected text within the active file. IfSel do these commands if "something" is selected EndIf
Change text editing mode to insert mode for characters typed Inserts a page break character at the current cursor position. Invert the case of selected text.
142
Key
Backspace Ctrl+ DEL DOWN ARROW END HOME LEFT ARROW PGDN PGUP RIGHT ARROR UP ARROW
Insert a key command into the macro. Generally used for navigation in the file and for backspace or delete. The Ctrl+ modifier may be used as with normal editing to modify the command.
For text input the string command is used, not the Key command.
Loop
Loop x times where x is a number. A value of 0 indicates Loop forever.i.e. Loop 10 do these commands 10 times EndLoop
Next Window NewFile OemToAnsi Open OverStrikeMode Paste PlayMacro Number of times to play it (#) File name ( )
Switch to next window. Create a new document in UltraEdit. Convert OEM character set to ANSI character set. Open the specified file. The Filename must be in quotes. Change text editing mode to overstrike mode for characters typed. Paste the contents of the clipboard into the file. Play another macro. Specify the number of times toplay the macro first, then the macro name. The macro name must be in quotes.
143
Replace
all
The Replace command replaces the previously found string with the string specified. This command MUST follow a Find command.
As with the Find string, the replace string must be in quotes. The closing quote must be the last nonspace character on the line.
Selected Text - Replace in selected text (Requires All). The replace string may cross multiple lines however if the last non-space character in any line is a quote it will terminate the string. All special characters permitted by the Replace Command are permitted here. Convert the file from hard returns to word wrap.
ReturnToWrap
Column number (#) at which wrap is performed. Zero for the column number indicates the wrap is to occur at the window boundary.
Save active file. Save the active file as the filename specified. The Filename must be in quotes. "^s" may be used in the filename. UltraEdit will replace this with the currently selected text in the active Window. Likewise, "^c may be used and UltraEdit will replace this with the contents of the clipboard. Select all text in the current file. Select all text from the current position to the end of file. Select all text from the current position to the top of file. Select the current word (same as double clicking a word). IgnoreCase - Ignore case of characters in the sort. Sort the file, or selected text in ascending order.
144
SpacesToTabsAll StartSelect
Convert all of the spaces in a file to tabs. Start selection. This turns the selection mode on. Any cursor movement or positioning will be with selection on and the text is selected. EndSelect will stop the selection mode. The selected text will remain selected until another command causes it not to be selected as with normal editing. Convert all of the Tab characters within a file to spaces. Template Number (#) Insert the specified template into the file. Insert the time and date into the file at the current location. Capitalize each word in the selected text. Set or remove a bookmark at the current line. Convert the selected text to lower case. Jump to top of file. Convert the selected text to upper case. Trim trailing spaces from each line of current file. Convert the active file (line terminators) from Mac/Unix to DOS format. Column number (#) at which wrap is performed. Convert the file from word wrap to hard returns.
TabsToSpaces Template TimeDate ToCaps ToggleBookMark ToLower Top ToUpper TrimTrailingSpaces UnixMacToDos WrapToReturn
Zero for the column number indicates the wrap is to occur at the window boundary.
Where (#) exists in the parameter column a numeric value is to be entered for that parameter. Likewise, where ( ) exists in the parameter column a string is to be entered between quotes. The text only describes the meaning of the parameter. All string parameters must be the last parameter.
145
Silent Installation
Executing the self-extracting EXEs (ULTRAEDI.EXE and UEDIT32I.EXE) without any parameters is the normal method of installing UltraEdit. This leads the user through the installation allowing the user to select the appropriate location and options. In some cases it may be desired to perform a silent installation of UltraEdit to allow automated unattended installations. This is possible with the following settings: uedit32i /s /m=filename /s /m This indicates a silent install This indicates the file location (fully qualified path/filename) of the file with the install parameters.
Currently there are two possible install parameters. If these are not set they will default to the same defaults provided with a normal interactive installation. MAINDIR=C:\PROGRAM FILES\ULTRAEDT INSTALL_TYPE=A - This specifies the installation directory - This specifies the install type (The possible options are A=Normal, B=From Network, C=To Network)
146
Uninstall or Overwrite?
The suggested option is to overwrite the existing installation of UltraEdit without uninstalling. This will maintain your current INI settings. You will be prompted as to whether or not you wish to overwrite your wordfile. If your wordfile is overwritten and you later wish to use your old wordfile, it will be renamed wordfile.old.
147
148
149
whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use or inability to use the SOFTWARE, even if IDM Computer Solutions, Inc. has been advised of the possibility of such damages.
150
Index
Advanced Features, 86 Advanced Menu Commands, 86 Alternate Capture Method, 91 Display/Modify Templates command, 87 Special Strings, 87 DOS Command, 89 Insert Templates Command, 89 Run Windows Program, 91 Tools Configuration/Use, 92 Command Line, 92 Command Output, 93 Menu Item Name, 93 Windows Program Checkbox, 93 Working Directory, 93 Advanced INI Settings, 135 Auto Reformat, 135 Caret Char = "some character", 135 Caret Type, 135 Column Overstrike, 136 ConvertKBDInput, 136 Default File Type, 136 DisableFlatToolBar, 136 DontUseRename, 136 Large File Buffers, 136 Lock File, 136 Make Changed Files Active, 137 Max Columns, 137 New File, 137 No Temp Confirm, 137 Open Link Files, 137 Open Maximized, 137 Reload FTP Files, 137 Show Tag Descriptions, 137 Sort Function List, 137 Temp File Dir, 138 TitleNameOnly, 138 Use DDE Associations, 138 Use Registry, 138 Alternate Capture Method, 91 ANSI to OEM, 29, 75 ASCII Table, 69 ASCII to EBCDIC, 28 ASCII to Unicode, 29 Backup, 95, 104 Carriage Return/Line Feed, 73 Close All Files command, 20 Column/Block Editing, 77 Column/Block Editing Features, 77 Column Menu Commands, 77 Column Mode, 78 Cut Columns command, 78 Delete Columns, 78 Insert Number, 79 Insert/Fill Columns, 78 Sum Columns/Selection, 79 Command Line Parameters, 123. See also Tools Configuration/Use Wildcard characters, 123 lists of files, 123 Command Line/Invocation Features, 123 DDE Support, 124 Compare Files, 26 compiler, 90 Configuration Features, 95 Date/Time, 42 Display Features, 58 Adding Individual Tag Lists, 65 ASCII Table, 69 Creating Custom Tag Lists, 64 Display Line Numbers, 69 Display Ruler, 68 File Tree View, 62 Common, 63 Open Files, 63 Project Files/Drive, 63 Function List, 63 Insert/Overstrike Modes, 61 Line Spacing, 69 Macro List, 63 Mirror Display Font, 67 No Scroll Left Side of Marker 1, 68 OEM Character Set, 67 Open File Tabs, 62 Output Window, 66 Replacing the Default Tag List, 66 Reset Fonts, 67 Set Colors, 67 Set Column Markers, 68 Set Font, 66 Font dialog box, 67 Set HEX/Column Mode Font, 66 Set Printer Font, 67 Show Column Marker 1/2, 68 Show Spaces/Tabs, 68 Status Bar command, 60 Tag List, 64 Tag List Modify, 64 Toolbar command, 60 View as (Highlighting File Type) command, 60 View Menu Commands, 59 Display/Modify Templates command Special Strings Date, 88 Time, 87 DOS Command, 89 DOS to MAC, 28 DOS to UNIX, 28 EBCDIC to ASCII, 28 Edit Features, 36 Blocking Text, 40
151
Comment Add/Remove, 42 Copy command, 38 Cursor Movement, 37 Cursor Arrows, 37 Home and End, 37 Insert/Overstrike Modes, 39 Text Selection/Highlighting, 39 Cut command, 38 Delete, 41 Delete Line, 41 Delete to End of Line, 41 Delete to Start of Line, 42 Drag and Drop Editing, 41 Drag and Drop Files, 41 Edit Menu Commands, 36 Insert Color, 43 Insert Date/Time, 42 Insert Literal Character, 43 Multiple Clipboards, 39 Paste command, 39 Read Only Command, 42 Redo command, 38 Right Mouse Button Commands, 43 Scrolling, 38 horizontal, 38 vertical, 38 Select All command, 39 Select Line command, 40 Select Range, 40 Selecting Text, 40 Spelling Checker, 42 Undo command, 38 Word Wrap Command, 42 Edit Menu Commands, 36 File Conversion ANSI to OEM, 29 ASCII to EBCDIC, 28 ASCII to Unicode, 29 DOS to MAC, 28 DOS to UNIX, 28 UNIX/MAC to DOS, 28 File Management, 16 Advanced Sort and Options, 27 Ignore Case, 28 Remove Duplicates, 27 Sort Order, 27 Starting Column, 28 Case Sensitive File Names, 26 Close command, 20 Compare Files, 26 Differences in color, 26 Differences Side-by-Side, 27 Ignore Blanks, 27 Only Show Lines That Differ, 27 Saving/Printing Output, 27 Delete Active File command, 29 Exit command, 35 Favorite Files +All Open Files, 35
Favorite Files, 34 Add Active File, 35 Add Directory, 35 Add File, 34 Close, 34 Open, 34 Remove File, 35 File Conversion, 28 FTP, 21 FTP Accounts, 21 FTP Accounts - Advanced, 22 Open from FTP, 23 Create Dir, 24 Delete, 24 Permissions, 24 Refresh, 24 Rename, 24 Save As to FTP, 24 Create Dir, 25 Delete, 25 Permissions, 25 Refresh, 25 Rename, 25 Insert File, 29 Insert String at Every Increment, 30 End Point, 30 Start Point, 30 Large file handling, 29 Make Copy/Backup, 26 New command, 19 Open command, 19 File Open Dialog Box, 19 Page Setup, 31 Page Break Character, 33 Page Margins, 33 Print 2 Pages on 1 Sheet, 33 Print Line Numbers, 33 Print Syntax Highlighting, 33 Wrap Text When Printing, 33 Print Setup, 33 Network, 34 Options, 34 Orientation, 34 Paper Size, 34 Paper Source, 34 Print Setup Dialog Box, 33 Printer, 34 Quick Open command, 20 Recent Files, 35 Recent Projects/Workspaces, 35 Save All command, 26 Save As command, 25 Save command, 25 Save Selection As command, 26 Send Mail command, 29 Using File Tabs, 62 File Menu Commands, 17 File Tabs, 62 Find command, 47
152
Font, 66 Format Features, 71 Add Indents, 76 ANSI to OEM, 75 Capitalize, 75 Convert CR/LF s to Wrap, 73 Convert Wrap to CR/LF s, 73 Format Menu Commands, 71 HTML Tidy, 76 Insert Page Break, 76 Invert Case, 75 OEM to ANSI, 75 Paragraph Formatting, 72 Reformat Paragraph command, 72 Remove Indents, 76 Spaces to Tabs (All), 74 Spaces to Tabs (Leading), 74 Tabs to Spaces, 74 To Lower Case, 75 To Upper Case, 75 Trim Trailing Spaces, 75 Format Menu Commands, 71 FTP, 21 General Configuration Page, 97 Backup Configuration Page Automatic Backup, 104 Backup Files on Save, 104 Default Backup Directory, 104 Backup Configuration Page, 104 Default to Read Only, 99 Directories Configuration Page Default Save Directory, 114 Default Template Directory, 114 Directories Configuration Page, 114 Disable Line numbers, 99 Double Click Selections, 98 Edit Configuration Page, 100 Auto-Completion, 102 Automatic Line Indentation, 101 Disable Drag & Drop, 101 Tab Settings, 102 Tab/Word Wrap Change List, 102 Word Wrap command, 103 File Associations, 113 File Change Detection Settings, 99 File Type Configuration Page, 112 File Open dialog box, 112 File Save As dialog box, 113 Find Configuration Page, 103 Continue Search at End of File, 104 Show Slim Find Dialog, 103 Key Mapping Configuration Page, 111 File Containing User Keyboard Mapping, 112 Large File Handling, 99 Multiple Instances, 98 Project Menu on Main Menu, 98 Recent Files List on File Menu, 98 Reload Open Files on Startup, 100 Save Bookmarks, 98
Spell Checker Configuration Check Spelling Dialog, 109 Dictionaries Dialog, 107 New Dictionary Dialog, 108 Options Dialog, 105 Spell Checker Options, 105 Syntax Highlighting Configuration Page, 115 Auto-Correct, 122 Block Comments, 117 Case Sensitivity, 117 Color Selection, 117 Delimiters, 121 Escape Character, 118 File Extensions/Types, 117 FORTRAN Specific, 120 Function Definition Strings, 121 HTML Specific, 119 Indentation, 122 Keywords, 119 Keywords beginning with a Substring, 119 Language Definition, 116 LaTex/Tex Specific, 120 Line Comments, 116 Marker Characters, 122 Strings, 118 Words Starting with /, 119 Toolbar Configuration Page, 111 Use Large Icons on Toolbar, 111 Use Default/Active File Directory For File Open, 100 Help Features, 129 About command, 129 Add Help Files, 129 Help menu commands, 129 Index command, 129 Using Help command, 129 Hex Editing Features, 44 Hex Insert/Delete, 45 Hex Mode Editing, 44 Hex Mode Line Terminators, 45 Hex Mode Detection, 45 Hex Mode Editing. See Hex Editing Features Highlighting, 115 INI File Selection, 135 Insert Templates command, 89 Installation and Registration, 146 Key Mapping, 111 Keyboard Commands, 130 License Agreements, 148 list box, 50, 93 List Box, 93 Macro Features, 80 Delete All, 83 Delete Macro/Modify Hot Key, 83 Edit Macro, 81 Commands, 82 Creating a New Macro, 82 Modifying an Existing Macro, 82 Parameters, 82
153
Load, 81 Load and Append to Existing, 81 Macro Definition Dialog, 82 Macro Menu Commands, 80 Playback, 85 Playback Multiple Times, 85 Record, 84 Notes for Recording Macros, 84 Save All, 81 Set Auto Load, 81 Stop Recording, 85 Warn on Exit if Macro Not Saved, 85 Macro Parameters, 139 Obtaining Authorization Information, 147 Output Window, 50, 93, 126 PC/Network Installation, 146 Print All Files command, 30 Print command, 30 Print Preview command, 31 Print Preview Toolbar, 31 Project Features, 55 Close Project command, 56 Delete Group, 57 Files, 56 Add Active File, 57 Add File, 57 Close, 57 Open, 57 Remove File, 57 New Group, 57 New Project command, 55 Project, 56 Workspace, 55 Open Project command, 56 Optional Wordfile, 57 Project Menu Commands, 55 Redo, 38 Regular Expressions (UltraEdit Syntax):, 132 Regular Expressions (Unix Syntax), 133 Replace command, 50 Revert to Saved, 25 Search Features, 46 Bookmarks, 53 Continue Search at End of File, 50 Find command, 47 ASCII, 49 Match Case, 48 Match Whole Word Only, 48 Search Direction, 48 Find Command List Lines Containing String, 48 Find in Files command Match Case, 49 Match Whole Word Only, 49 Regular Expressions, 50 Results to Edit Window, 50 Search Subdirectories, 50 Find in Files Command Search In, 49 Files Listed, 49
Project Files, 49 Find In Files command, 49 Find In Files Command Search In Open Files, 49 Find Next command, 50 Find Previous command, 50 Function List, 54 Goto Line/Page, 53 Match Brace, 53 Replace command, 50 ASCII, 52 Find Next, 51 Match Case, 52 Regular Expressions, 51 Replace, 51 Replace All, 51 Replace All in All the Open Files, 52 Replace All Within the Selected Text, 52 Replace in Current File, 51 Replace in Files command Match Case, 52 Match Whole Word Only, 52 Regular Expressions, 53 Search Subdirectories, 53 Replace In Files command, 52 Word Count, 54 Search Menu Commands, 47 Silent Installation, 146 Sort, 27 Special Character Summary, 48 Spell Checker, 105 Status Bar, 60 Syntax Highlighting, 33, 67, 96, 115 Syntax Highlighting Features, 115 System Features, 125 Move command, 125 Next Window command, 125 Size command, 125 Tag List, 64 Tag List Modify, 64 Telling UltraEdit Which INI File to Use, 135 Templates and Macros, 83 Tile windows, 127 Toolbar, 60 Undo, 38 Uninstall or Overwrite?, 147 View Menu Commands, 59 Window Management Features, 126 1,2, command, 128 Arrange Icons command, 127 Cascade command, 127 Close All Files command, 127 Duplicate Window command, 127 Next Window command, 127 Previous Window command, 127 Show File in Browser command, 128 Synchronized Scrolling, 128 Tile Horizontal command, 127 Tile Vertical command, 127
154
155