Contents Previous Chapter Next Chapter 7. Tools This chapter introduces the various commands that help you compose a Web page. The functions of these commands include spell-checking, using key macros, and creating image maps, among others. For example, using the Preference command (item 17), you can change the document default settings or the appearance of the editor on the screen.
Use the [Spelling ...] command to check the spelling of the current page. WebEditor will display a possibly mistyped or misspelled word and suggest a correct spelling. You can ignore the word, change the word, ignore all instances of the word, change all instances of the word, or add the word to the user dictionary. Select [Tools | Spelling ...], and the [Spelling Check] dialog box will pop up and the editor will start the spelling check. Any possibly misspelled words are shown in the [Wrong Word] field, and a set of words close to the misspelled word are listed in the [Suggestions] window. The word thought to be the closest to the original word is shown in the [Change To] field. [Caution] Use the [Edit | Undo] menu to restore an original word that was mistakenly replaced by another word. [Spelling Check]
Wrong Word Shows a word in the document that is neither in the system nor the user dictionary. Change To Shows the most likely correct spelling. You can also select one from among the words in the [Suggestions] window or type in the correct word directly. Suggestions Shows other words that are close to the original word. The number of suggested words may be one or more. In some cases, there may be no suggested words. User Dictionary Shows the file name of the user dictionary used by the [Spelling...] command. [Ignore] Click the [Ignore] button to leave the word unchanged and skip to the next word. [Ignore All] Click the [Ignore All] button to leave the word unchanged, ignore all text instances of the same word, and continue. Note that this ignoring effect is valid only while the current [Spelling Check] dialog box is open, since the current word is not added to the user dictionary. [Change] Click the [Change] button to replace the word in the text with the word shown in the [Change To] field. [Change All] Click the [Change All] button to replace all the instances of the word in the text with the word shown in the [Change To] field. [Add] Click the [Add] button to leave the word unchanged and add it to the user dictionary. Once a word is added to the user dictionary, the word is considered correct afterwards even if the current [Spelling Check] dialog box is closed. Note that the user dictionary will not have any concept of the standard forms of a word, so an inflected form of a word may be regarded as a wrong word and must be added to the dictionary as a different word. [Document Top] Click the [Document Top] button to move to the top of the document and restart the spelling check. [User Dic] Click this button to open the [User Dictionary] dialog box and add or delete words. Clicking this button is the same function as selecting the [Tools | User Dictionary ...] menu. [Tools | User Dictionary...] Use this menu when you want to edit the user dictionary file. You can add a new word or remove a word already in the dictionary. Words entered in the user dictionary are considered correct when executing the [Spelling...] command. When you select the [Tools | User Dictionary...] menu or click [User Dic] in the [Spelling Check] dialog box, the [User Dictionary] dialog box will pop up. To add a word
To remove a word
To create a user dictionary The user dictionary file is located in the same directory in which Namo WebEditor is installed. The basic two files are "User.dic" and "User01.dic." To create a new user dictionary, copy one of the files to another name and use the new file. You can make a new user dictionary file ("Newuser.dic") using a preexisting file ("User.dic") in the following two ways: In the DOS prompt:
In Windows 95:
[Caution] There is no specific limit on the number of words that can be added to the dictionary as long as the system storage allows. However, it is not a good practice to enroll more than tens of thousands of words in a single user dictionary since too many words in a dictionary may slow down the speed of the system. [Tools | AutoCorrect] <Shift+F7> When the AutoCorrect function is enabled, Namo WebEditor automatically changes any mistyped word to the correct one while editing the document if the mistyped/correct word pair is stored in the AutoCorrect dictionary. Select [Tools | AutoCorrect] to enter a mistyped form of a word or phrase and the corresponding correct form. Namo WebEditor is initially formatted with about 2,000 pairs in the autocorrection dictionary. The AutoCorrect function is very useful for the following cases:
How to add an item to the AutoCorrect dictionary
Item input format
[Tools - Key Macro - Record Keystrokes] <Ctrl+Shift+M> [Tools - Key Macro - Stop Recording] <Ctrl+Shift+M> [Tools - Key Macro - Playback Recording] <Ctrl+M> The Key Macro has three commands: Record Keystrokes, Stop Recording, and Playback Recording. This feature allows you to record a sequence of key strokes and later repeat them conveniently. Select the [Tools - Key Macro - Record Keystrokes] menu to start the recording of a key macro. You can now input a sequence of key strokes. When the input is finished, select the [Tools - Key Macro - Stop Recording] menu to store the sequence as the key macro. Recording a key macro Select the [Tools - Key Macro - Record Keystrokes] menu or press <Ctrl+Shift+M>. At the Status bar, the string "REC" is displayed. Type the key strokes you wish to record. When you finish the keystrokes, select the [Tools - Key Macro - Stop Recording] menu or press <Ctrl+Shift+M>. The "REC" string disappears and the recording ends. [Caution] If you try to use the keyboard to select the [Tools - Key Macro - Stop Recording] menu, the key strokes used to reach the menu become part of the key macro. Intead, use the mouse or the hot key <Ctrl+Shift+M> to stop recording. Play back the key macro Select the [Tools - Key Macro - Playback] menu or press <Ctrl+M>. The recorded key strokes are internally repeated as if they were typed into the keyboard. [Caution] Movements or clicks of the mouse are not included in the key macro. In addition, when a new key macro is recorded, the previous key macro is no longer available. When you shut down Namo WebEditor, the current key macro disappears. [Tools - Image Map] Using this [Image Map] menu, you can easily create an image map. An image map consists of a number of image areas, each of which has an associated hyperlink. The hyperlinks are connected when the mouse is clicked over the corresponding image area. The [Image Map] menu is activated when an image is selected. The [Tools - Image Map] menu has 5 submenus: [Select a Hot Zone], [Draw a Rectangle], [Draw a Circle], [Draw a Polygon], and [Make Transparent]. To leave the image-map editing mode, click on any document area other than the image or press the <Esc> key.
A hot zone is an image area associated with a hyperlink. When there are many hot zones in an image, use this command to select one hot zone among them. You can move the selected hot zone or change the size of the zone by dragging with the mouse.
Use the Draw a Rectangle command to make a rectangular hot zone. When this command is selected, the mouse pointer is changed into a cross-shaped cursor. To specify the area of the rectangular hot zone, follow this procedure: Select the image on which you want to create the hot zone. Select [Tools - Image Map - Draw a Rectangle]. The mouse pointer changes into the cross-shaped cursor. Click the left button on the upper-left corner of the rectangle and drag the mouse while holding down the left button. The size of the rectangle changes while you drag the mouse When the rectangle reaches the desired size, release the mouse button. The size of the rectangle is set and simultaneously the [Create Hyperlink] dialog box pops up. In the [Create Hyperlink] dialog box, specify the hyperlink for the created hot zone. (Refer to the [Hyperlink...] menu for more details about specifying a hyperlink.) Click [OK] when finished.
Use the Draw a Circle command to make a circular hot zone. A rectangular area is associated with circular areas. To specify the area of a circular hot zone, follow this procedure: Select the image on which you want to create the hot zone. Select the [Tools - Image Map - Draw a Circle] menu. The mouse pointer changes into a cross-shaped cursor. Click the left button at the upper left corner of the enclosing rectangle of the circle you want. Drag the mouse while holding down the left button. Both the circle and the enclosing rectangle change their sizes as you drag the mouse. When the circle reaches the desired size, release the mouse button. The size of the circle is determined and at the same time the [Create Hyperlink] dialog box pops up. In the [Create Hyperlink] dialog box, specify the hyperlink for the created hot zone. Refer to the [Hyperlink...] menu for more details about specifying a hyperlink. Click the [OK] button when you finish the specification.
Use the Draw a Polygon command to create a polygon-shaped hot zone. To specify the area of the polygon-shaped hot zone and to associate a hyperlink, follow this procedure: Select the image on which you want to create the hot zone. Select [Tools - Image Map - Draw a Polygon]. The mouse pointer changes into the cross-shaped cursor. Click the left mouse button on the starting point of the polygon. Move the mouse and click the left button at the desired next corner point. Repeat this move-and-click operation to create as many corner points as you want. As you move your mouse, the boundary line of the polygon is displayed. To specify the last corner point, double-click the left mouse button. The shape of the polygon is now determined and at the same time the [Create Hyperlink] dialog box pops up. In the [Create Hyperlink] dialog box, specify the hyperlink for the created hot zone. (Refer to the [Hyperlink...] menu for more details about specifying a hyperlink.) Click [OK] when you finish the specification.
Use this command to make transparent the area of an image that has been filled by a color. The two images above give an example of using the Make Transparent command. We used the Make Transparent command on the left image so that the white area became transparent, creating a better-looking Web page. The resulting image is shown to the right. To use the command, do the following procedure: Select the image you wish to make transparent. In the example, the background color of the page is gray and that of the image is white. You may want to change the white to transparent. When the image is selected, the boundary line and the control point appears around the image. At the same time, the image-map tool bar appears right above the status bar. Select the [Tools - Image Map - Make Transparent] menu or click the [Make
transparent] button Move the mouse pointer over the image. The mouse pointer changes to a dropper-shaped cursor. Move the cursor over the color to be made transparent and click. In this example, you click the mouse on the white color. When the color is selected, the [Save Image As Transparent GIF] dialog box pops up. You will see the color to be made transparent, the image path, and the [Interlaced GIF] option in the dialog box. If these settings are acceptable, click the [OK] button. (Note that the image path should end with the ".GIF" extension.) The image file is saved. You will then see the new image with the selected color made transparent, allowing the background color to show. [Tools - Change Case] Use this command to create a wholesale change to the case of a selected part of a document. You can change all words to upper case or lower case, change the first letter of each sentence or each word to upper case, or toggle the case. When the [Tools - Change Case] menu is selected, the [Change Case] dialog box appears.
(12) Symbols to Double-Byte Character Set (DBCS) [Tools - Symbols to DBCS] Use this command to properly display the DBCS characters used to represent languages not using Roman characters. If a document is created in the DBCS system and the encoding information is not correctly specified, DBCS characters may appear garbled in other systems. [Tools - Import from Netscape] This command imports a current page from Netscape Navigator to Namo WebEditor. WebEditor takes the URL address of the current page in Navigator and opens that page from the URL. You can edit the imported page, but you will not be able to directly save the page back into the original file associated with the URL address. To save the page into the original file, select the [File - Save] menu. When [HTTP/FTP mapping] dialog box appears, provide the FTP access method (the host IP address, the directory, the user name, and the password) for the URL address. Additionally, you can save the page into another local disk file using the [File - Save As ...] menu. (14) Import from Microsoft Internet Explorer [Tools - Import from Internet Explorer] This command imports a current page from Microsoft Internet Explorer to Namo WebEditor. WebEditor takes the URL address of the current page in IE and opens that page from the URL. You can edit the imported page, but you will not be able to directly save the page back into the original file associated with the URL address. To save the page into the original file, select the [File - Save] menu. When [HTTP/FTP mapping] dialog box appears, provide the FTP access method (the host IP address, the directory, the user name, and the password) for the URL address. Additionally, you can save the page into another local disk file using the [File - Save As ...] menu. [Tools | HTTP/FTP Mapping...] Use the [Tools - HTTP/FTP Mapping ...] menu to specify the FTP access method for a remote URL address. The specified FTP access method is useful when you save a document to a URL address--typically, after opening and editing the remote document. For example, suppose there is a user with the ID "namoboy" in the host whose address is "namo.co.kr," and the user has stored his Web documents in the directory "public_html." namoboy -- public_html -- index.html profile.html bull.gif title.gif (Each Web server has its own directory for storing Web documents. In general, the directory differs from server to server. You should ask the server administrator for the correct path of the directory.) When you select the [Tools - HTTP/FTP Mapping], the [HTTP/FTP Mapping List]
dialog box appears. In the dialog box, click the [Add...] button to create a new
HTTP/FTP mapping. The [HTTP/FTP Mapping] dialog box pops up. Fill in the fields in
the box appropriately. You can also modify or remove any mappings currently in the mapping list. After editing the mapping list, close the dialog box by clicking [OK]. Once this HTTP/FTP mapping is specified, you can edit and save all the documents from the URL address "www.namo.co.kr/~namoboy" using the given FTP access method. HTTP/FTP mapping is convenient and efficient way of working with remote document files as if they were in local disk.
Select this menu to start Namo SiteManager. SiteManager is helpful for modifying and managing Web site that contain many directories and HTML documents. SiteManager systematically manages link connections between documents as well as the location and type of image files included in the documents. For more details about Namo SiteManager, refer to the part 2 of this manual. [Tools - Preferences] In this menu, you can set program environments and document default properties. The document default properties set here apply to all new documents created thereafter. The [Program Preferences] dialog box has four window tabs. Each tab lets you modify various system variables. Document Default Tab Colors You can choose the colors used in HTML documents from this list, which consists of 16 default colors. You can also choose a custom color from a set of colors used by your system. The colors chosen will apply to all new documents created thereafter. They will not apply to currently open or previously created documents. Background Text Hyperlink Visited hyperlink Active hyperlink Encoding and Fonts Charset Proportional Fixed [Caution] This font setting is concerned only with the font displayed in WebEditor. For example, if you select 72 point, WebEditor displays the text in 72 point size, but a Web browser, such as Netscape Navigator, does not. Each browser follows its own default normal font size. Information Author Browser Tab You can select a Web browser for previewing the document. The primary default is Netscape Navigator, the secondary is. Internet Explorer. Although Namo WebEditor follows the HTML 3.2 spec and provides an almost perfect WYSIWYG editing environment, you should verify the display of documents you create within browsers, as some unavoidable differences exist among browsers in the way Web pages are displayed. Primary Browser Browser 1 Program Path DDE Service Name Enter the name of the DDE (Dynamic Data Exchange) service as the name of the primary browser. This field is activated when you select [Other] in the [Browser1] drop-down list. Secondary Browser Browser 2 Program Path DDE Service Name Toolbar Tab You can add or delete buttons in the toolbar and rearrange the order of the buttons. You can INSERT separator to distinguish button groups. If you click the [Restore Default] button, the selected toolbar returns as the default.
Editor Tab You can set up the environments and various options related to Namo WebEditor. Dialog Font Select the type and the size of the font used in the dialog box. You can select from any font provided in Windows 95 or NT. The size of the font can be from 8 to 72 points. We recommend that you use a size that is not too large; 8 points is the best for the font size. The default setting is the MS Sans Serif 8 point. Loading Documents You can choose to always show a dialog confirming the removal of comments. If this option is set, you are asked whether to remove the comments in the document when opening a document. Remove comments If this option is set, when a document is opened, Namo WebEditor will read in the document with all comments removed. Preserve comments If this option is set, HTML documents are opened with all comments in the document shown. In WebEditor, the appearance of a document may not be exactly the same as that in a general Web browser, since the comments are displayed for the purpose of later editing. [Caution] Be careful when selecting the [Remove Comments] option, since the HTML document may have some important comments that should not be removed, such as server scripts. Settings Use inline IME If this option is on, the IME (Input Method Editor) is activated. The IME deals with the input process for synthesizing two-byte characters, such as Korean or Japanese characters. We recommend you turn on this option if you use double-byte character sets. Lock insert key If this option is on, input always remains in Insert mode even if the <Insert> key is pressed. [Caution] If you change this option to Overwrite, the input mode will change to Overwrite. But once you press the <Insert> key, the input mode is changed to Insert, and the input mode becomes set at Insert until you change this setting. Show nbsp warning In HTML, a sequence of two or more contiguous spaces is normally equivalent to one space. Therefore, to represent multiple spaces that can be displayed actually, you should use the " " (non-breaking space) command. In Namo WebEditor, spaces after the first one are automatically converted to non-breaking spaces. Specifically, if this option is set on, Namo WebEditor asks via a confirmation dialog box whether to convert an additional space to a non-breaking space or to ignore it. Load last-edited documents If this option is on and you start WebEditor, the program automatically opens the documents being edited when WebEditor was last closed. Namo WebEditor also restores the cursor position of each document. Note, however, that documents closed using the [File - Close] menu will not be opened at this time. Tab width Here, you can determine the number of spaces to replace the <Tab> character in the document. The default is 8 spaces. Save Documents Make backup file If this option is on, Namo WebEditor makes a backup for the old file when the updated file is saved. The old .html or .htm file is renamed and saved into the .bak file. If a .bak file already exists, the new backup file overwrites the existing one. Save interval This field denotes the period of time in minutes. WebEditor will automatically save an opened document with this function. For example, if the value of this [Save interval] field is 10, WebEditor automatically saves each opened document every 10 minutes from the last save. |