General Preferences

Most of the connection parameters and parameters for messages and queues are defined by default, on the basis of the operations you do most often.

  1. In the Tools menu, click on General Preferences.
    You can also use
    SHIFT + CTRL + F11 (See the List of Shortcut Keys).

The General Preferences window is divided into two sections:

You can reset the CuteHTML Pro parameters at any time by clicking on Restore.  

 

CuteHTML Pro lets you define the following parameters:

Environment

Environment options include display parameter commands. The Environment menu includes options for displaying or hiding display items for the Editor window and the Code Inspector.

Main Environment options

Show status bar 

The status bar is displayed below the Edit Window. It provides information on the status of the document: position in the Edit Window, modifications done, etc. This option is activated by default.

Display special characters bar 

The Special Characters toolbar lets you quickly access special characters (accented characters, symbols, etc.). When displayed, it can be seen above the Edit Window.  This option is activated by default.

Display vertical toolbar 

The vertical toolbar offers functionalities that can help you with editing tasks: display or hide line numbers or bookmarks in the margins, code highlighting tool, code completion tool.

Desktop docked in a single window  

This option lets you dock all the display items in one single window. When disabled, the Edit Window and browser window will be displayed separately.

Display internal browser 

The internal browser is integrated to CuteHTML Pro. It lets you view the progress made as you edit your Web pages. When this option is activated, a distinct window opens every time the application is run.

Create new document on startup 

When this option is activated, CuteHTML Pro will create a new document every time the software is run. This option is activated by default.

Reopen last opened files on startup 

With this option, CuteHTML Pro file saves the last files opened, in memory, when you exit the application. When you start up CuteHTML Pro again, these documents are automatically opened.

Reopen last project on startup  

With this option, CuteHTML Pro saves the last project opened, in memory, when you exit the application. When you start up CuteHTML Pro again, the project is automatically opened.

Auto-save desktop settings 

When you activate this option, changes made to the work environment (customization of toolbars, item display and masks, etc.) are saved. They will be displayed as they last were the next time you start up CuteHTML Pro. Display definitions can also be saved for future use.

Disable Java and scripts in internal browser 

When this option is activated, the CuteHTML Pro internal browser does not display the execution of Java items or scripts. This facilitates the execution of the command displayed.

Check for last version on the Internet 

This option lets you check the GlobalSCAPE website to see if any more recent versions of CuteHTML Pro are available.

Show file extensions on editor tabs 

Displays file extensions on tabs of opened pages. This function can be useful when you work with different types of files (.html, .asp, .css, etc.).

Display tips of the day on startup 

When this option is activated, a tip is displayed whenever CuteHTML Pro is run. This option can also be disabled from the Tips window.
This option is activated by default.

Internal Browser

[Top of page]

Work offline only 

Stops your computer from automatically connecting to the Internet when you click on a hyperlink in the internal browser window.

Suppress all dialogs 

Prevents, if you are using Internet Explorer, dialog boxes from being displayed in the internal browser.

Automatically save FTP files before viewing 

When you ask to view your page in the  internal browser, CuteHTML Pro saves it, by default, on the FTP server before displaying it. 

Display status bar 

The status bar is displayed below the internal browser.

Auto-refresh browser 

This option automatically refreshes the Web page you are editing so that you can see your progress as you work.

When you select this option, the milliseconds field is activated. You can define the frequency at which the page is refreshed.

Use a base URL 

At start up, the internal browser connects directly to the URL specified in the Base URL field.

Use an HTTP Proxy 

Activate this option if your computer connects to a proxy server.

When you select this option, the Proxy Port zone is activated. In the next field, enter your server port number. A proxy server normally uses a port 80.

External Browser

[Top of page]

Search on disk  

From the dropdown list, select the work unit that contains the executable browser program you want to associate. This program is usually located in C:\Program Files.

Locating the External Browser on Disk >> 

Automatic Browser Search

  1. In the Search on disk zone, select the drive that contains your external browser. Your C drive should be displayed by default.

  2. Select the default browser by checking the corresponding box.
    CuteHTML Pro offers the following options: Internet Explorer, Netscape or Opera.  You can also enter the name of another browser in the field. In fact, if you know the browser address, you can enter it directly in the adjoining zone. 

  3. Click on Search.

  • If you selected Netscape, CuteHTML Pro searches for the file netscape.exe.

  • If you selected Microsoft Internet Explorer, CuteHTML Pro searches for the file iexplore.exe.

Search results are displayed in the lower zone of the dialog box. Double-click on the program file to associate, to display it in the browser zone.

Netscape 

Select this option if you want Netscape as your main external browser.

Microsoft Explorer 

Select this option if you want Microsoft Internet Explorer as your main external browser.

Empty field 

Select this option if you want to assign another browser as your main external browser. You can choose the browser Opera.exe, proposed by CuteHTML Pro, or enter the complete name of the desired browser software and its execution extension (.exe) in the dropdown list field.

  

  • In the field next to the selected browser, enter the software location (address) on your computer. You can also do a search.

Maximize browser window when launched 

The browser window will always be full screen once you activate this option.

Use a temporary file for previews 

When you preview a file, CuteHTML Pro creates a temporary file in the same folder. Activating this option displays the last file previewed in the internal browser.

Misc. Options

Save files before previewing in external browser  

Once this option is activated, the HTML document being edited must be saved before it can be previewed with the external browser. This option is activated by default.

Save project before previewing in external browser 

CuteHTML Pro automatically saves the project when you display the documents.

Editor Options

[Top of page]

Editor options let you configure the basic editor parameters: file history and document encoding and editing options.

The commands in the Editor sub-menu provide access to other editing options:

Always insert UPPERCASE tabs 

This options enables tags to be automatically converted to uppercase characters as they are entered. This option is helpful when you need to draw a distinction between tags in the Edit Window. This option is activated by default.

Always quote string attributes  

When this option is checked, all attributes comprised of character strings will be in quotation marks.

Always quote numeric attributes 

When this option is checked, all attributes comprised of numbers will be in quotation marks.

Force default values for tags 

Check this option to display all default attributes in the tables in the generated HTML code.

File History Length 

This option lets you specify the number of files to keep in the history. The list of history files is displayed when you open the dropdown list associated to the Open command in the File menu.

Project History Length  

This option lets you specify the number of project to keep in the history. The list of history files is displayed when you open the dropdown list associated to the Open command in the menu Project.

Selectable characters by double-click 

Specify the special characters (except for A through Z and 0 through 9) that will be selected when you double-click on a word in the Edit Window.

Encoding

[Top of page]

Generate special characters 

This options enables characters to be automatically converted to special characters. It is useful if you are working with older browser versions.

When you select this option, the Special characters in decimals box is activated.  This latter option lets you display all special characters in decimals. For example, the character é = &eacute, a special character, becomes &#233, a special character in decimals.

Convert ISO 8859-1 special characters 

This options enables special characters to be converted according to ISO standard 8859-1.

Attention: This standard is not supported by Netscape 4 and older versions. 

Activate Encoding

This option lets you activate or disable the international automatic encoding system in CuteHTML Pro. Activating this option will activate the adjoining zones.

Encoding 

This dropdown list gives the various available encoding options. Select the one that corresponds to your alphabet. Western alphabets correspond to ISO-8859-1.

Encode pages without encoding specification  

This option lets you encode HTML pages with no specified encoding META tags. The encoding will follow the encoding alphabet selected in the preferences.

When you select this option, the box Show a confirmation before applying an encoding is displayed. If you activate this option and the document does not include an encoding alphabet, CuteHTML Pro asks for a confirmation before executing the encoding.

File types that should not be encoded 

This list gives the extensions (file types) that should be ignored by the encoding.  Enter the file extension directly in the field. Separate extensions with commas (,). An asterisk (*) authorizes all characters preceding the file extension; you must enter it.

Validate values entered in Code Inspector

When this option is activated, CuteHTML Pro validates modifications according to the information contained in reference files (see Reference Editor).

Display all CSS properties  

This option lets you see all of the style sheet properties. This option is activated by default.

Tables

[Top of page]

Show   in cells 

This option lets you automatically insert NBSP codes in table cells, to display the latter.

Quick table cell widths in percentage 

Activate this option to force a cell width on the table cells. By default, the width of cells is proportional to the number of cells in a row.

If this option is disabled, no particular size will be assigned to the cells. Rather, their size will be adjusted on the basis of the cell contents.

Code Helpers

[Top of page]

The code content parameters define the Edit Window tool options, the code tooltips and the code completion options. You can also access display options for these commands on the vertical toolbar in the Edit Window.

Code Tooltips  

Check this box to display code tooltips. These are help balloons that are displayed whenever the mouse cursor remains in a specific location for more than a certain amount of time.

Code Completion 

Check this box to activate the CuteHTML Pro code completion assistant. You can also activate the assistant by pressing CTRL + Space.

Delay 

Use the indicator to change the delay time before a tooltip help balloon is displayed.

File Handling

[Top of page]

Automatically copy referenced files to current directory 

When activated, this option automatically copies files referred by links to the current directory. This prevents the relativization of the access path to a set address, and subsequently, the broken links that can occur when the file is uploaded to the server.

Keep networked path of referenced files 

This option is useful if you use CuteHTML Pro to edit Web pages for an Intranet. Otherwise, disable this option, to prevent the relativization of access paths.

Force lowercase for referenced file names

When activated, this option enables uppercase characters to be automatically converted to lowercase when files are saved. This is useful when the host server does not recognize uppercase characters in file names.

Save files in Unix format 

Activate this option if your site is hosted by a Unix server.

Remember last Open/Save directory 

Once this option is activated, the address of the directory used is saved. This option works in conjunction with commands for opening and saving files. This option is activated by default.

Create a backup copy 

This option lets you create a backup copy of each document modified and saved. Activating this option will activate the adjoining zones.

You can enter the file extension name in the File backup extension zone. By default, CuteHTML Pro proposes the extension .bak.

You must indicate the directory in which the backup should be saved in the Backup folder zone. If necessary, click on Open to search for the directory.

File Sharing with other applications  

There may be a conflict if you use CuteHTML Pro to open a file that is already open in another application. File sharing options let you determine the behavior of CuteHTML Pro:

  • Only if read access is required: you can open files in read-only mode. To make changes to the file, save it under another name.

  • Files cannot be shared: CuteHTML Pro notifies you that the file is being used by another application, and refuses to open it.

  • Files can be shared without restrictions: CuteHTML Pro lets you open and modify the file. If you use this option, make sure you avoid all version conflicts.

Document Types

[Top of page]

When you open a document in CuteHTML Pro, the application determines the file type, by checking the extension.

By default, file extensions are associated to a specific document type. You can change this association or create new file extensions.

Default document type for new documents 

This dropdown list gives the various types of documents to which a file extension can be associated.

Types 

This zone displays the list of extensions associated with the document type selected in the zone above.

Options of selected type 

This zone lets you identify and add a new extension to the list.

  1. Begin by selecting the document type to which you want to associate the extension.

  2. Enter the extension in the zone.

  3. Click on Add to add it to the list.

Extensions always begin with the character . (point), and are generally comprised of only 2 or 3 characters (some HTML documents will have more, such as secured HTML, .shtml).

Define additional options:

  • Insert comments upon creation: A comment is inserted at the beginning of the document when you create a new file of the type selected in the list Types.

  • Insert document prolog: A prologue is inserted at the beginning of the document when you create a new file of the type selected in the list Types. Example: <!doctype html public "-//w3c//dtd html 4.0//en">.

  • Customize initial content: Activate this option to access the Edit button. Click on it to display the dialog box Initial content of HTML documents, which lets you customize the initial script.

Add 

This button lets you add an extension to the list.

Delete 

This button lets you delete an extension from the list.

  1. Select the extension to delete from the list.

  2. Click on Delete.

Default visible file extensions 

List of extensions displayed in the Managers when no masks are applied. Enter the file extension you want to add directly in the field. Separate extensions with commas (,). An asterisk (*) authorizes all characters preceding the file extension; you must enter it.

Associations

[Top of page]

These options let you further define an extension's association to the document type by indicating behavior when the file is opened in Windows Explorer.

File types associated with CuteHTML Pro 

This zone displays the list of extensions associated with CuteHTML Pro in Windows.

Select dormant 

This button lets you select the list of dormant extensions, namely those that are not associated to a behavior.

Add extension 

This button lets you add an extension to the list.

  1. Click on it to display the corresponding dialog box.

  2. In the field, enter the new extension and click on OK.

The extension is automatically added to the list.

Remove extension 

This button lets you remove an extension from the list.

  1. Select the extension to be removed from the list Associated extensions by clicking on it.

  2. Click on Remove extension.

A confirmation message is displayed. Click on OK to execute the removal.

Add CuteHTML Pro in Internet Explorer Edit menu 

This option lets you identify Internet Explorer as the default browser for opening this type of file in Windows Explorer.

Once in Windows Explorer, double-clicking on a file with this extension will launch CuteHTML Pro, which will open the file.

Syntax Checking

[Top of page]

The options in this menu are used to defined how the HTML syntax check and document check are done.

Other than the basic commands for limiting the number of messages received, syntax checking options include:

Number of messages

Maximum number of errors 

This zone lets you determine the maximum number of error messages when checking HTML documents. Once this number is reached, the HTML check stops.

Maximum number of warnings 

This zone lets you determine the maximum number of warning messages displayed in the message window when checking HTML documents. Once this number is reached, the HTML check stops.

HTML 

[Top of page]

Attribute integrity 

This option lets you ensure that the mandatory attributes determined by the HTML syntax editor are respected. This option is activated by default.

Optional end tag without start tag 

End tags, given their status as orphans, can never be associated with an opening. Example: Paragraph end tag </P>, and no start tag <P>.This option is activated by default.

Unknown start tag 

There is no start tag in the HTML reference file specified in the syntax editor. This option is activated by default.

Missing optional end tag  

No end tag was detected for the corresponding start tag, despite it being optional. Example: When the box is checked and you use a tag <P> without an end tag </P>.

Dead links 

A link points to an inexistent target or address. This option is activated by default.

Unknown end tag 

There is no end tag in the Reference Editor's HTML reference file. This option is activated by default.

Unclosed comment 

The comment has no end tag.

Disallow unknown tags  

An unknown tag has been detected. An unknown tag is a tag that does not adhere to the rules established in the HTML syntax editor. For example, a tag <META>, found elsewhere than in the tag <HEAD>.This option is activated by default.

Required attribute missing 

A required attribute, which must be associated to a tag, is missing. Example: the attribute <HREF>, for a link, is missing. This option is activated by default.

Required end tag without start tag 

An end tag, to which no start tag has been associated, is missing.
This option is activated by default.

Required end tag not found  

A required end tag is not detected. This option is activated by default.

Tag containing illegal symbol 

An unauthorized character is detected within a tag (example, &). This option is activated by default.

Optional start tag 

A warning message will be displayed if you use an optional start tag.

Disallow attributes in end tags  

An attribute is detected within an end tag. End tags can never include attributes. This option is activated by default.

Tag bracket not found 

One of the start or end tag brackets is missing (tags are always enclosed in brackets, namely < and  >). This option is activated by default.

Duplicate internal links (anchors) 

When two links have the same name. This option is activated by default.

Tag must be empty 

A warning message will be displayed if you add parameters or values not authorized for a particular tag.

Unclosed script blocks 

A script tag is not closed.

CSS

[Top of page]

When checking the document, activating the options below will display their respective messages:

Unterminated CSS comment  

An error was made in formulating a CSS comment.

  

Unknown @-rule  

One of these rules is unknown. It can either not exist, or include a syntax error. The @-rule (CSS2 rules) makes it possible to provide special information to the application that will interpret the style sheets.

Illegal @import rule 

The @import rule is illegal.

Illegal @charset rule 

The @charset rule is illegal.

Bad formed or not correct URL  

A URL address includes a syntax error.

Unknown pseudo-class 

The pseudo-class identified is unknown; it may either not exist, or include a syntax error. Pseudo-classes are items that are executed with the class attribute, to apply specific effects to items.

Unknown medium type 

The medium identified is unknown. In a CSS rule, a medium is a peripheral used to execute a visual effect: computer monitor, television, projection screen, etc.

Improper character set or language code 

A character string cannot be identified as either a code or rule.

Unknown CSS property  

A rule's property is unknown; it can either not exist, or include a syntax error.

CSS property not defined for selector  

A rule property cannot be associated to the specified selector; either it does not exist, or it includes a syntax error.

Bad value for CSS property  

The value associated with a rule property is unknown; either it does not exist, or it includes a syntax error.

Unknown HTML attribute  

The HTML attribute associated with a rule property is unknown; either it does not exist, or it includes a syntax error.

Bad HTML comment  

An HTML comment associated to a rule includes a syntax error.

Syntax errors 

A syntax error can be detected.

JavaScript

[Top of page]

Identifier expected but reserved word found 

A word specified as an identifier (ID) is in the document, but cannot serve as an identifier.

Identifier reserved for future use 

The identifier (ID) cannot be used when called, as it is reserved for another use.

Predefined object 

An object's definition was modified, whereas this was not permitted.

Predefined method 

An object's method was modified, whereas this was not permitted.

Expected character not found 

A character is missing from the script.

Unterminated string 

A specified character string is not closed.

Digit expected 

The number for executing the script cannot be found.

Multiline comment not closed 

The script multiline comment is not closed.

Expression terminated 

The expression has been completed, but some items are still missing.

Operator expected 

The operator for processing information is missing.

Statement not allowed there  

The statement has not been inserted in the right section of the script.

Improper function placement 

The function has been defined at the wrong place.

Duplicate identifier 

The name of the function is included twice in the script.

Identifier expected 

The function identifier (ID) is missing.

Bad "switch" statement 

A syntax error has occurred in the switch statement.

Bad "try" statement  

A syntax error has occurred in the try statement.

Illegal label 

The name of the label used in the function is not authorized.

Syntax error  

A syntax error has been identified.

Missing semicolon between statements 

The semicolons for separating statements within a function are missing.

Incorrect regular expression 

The expression contains errors.

Illegal class name 

The name of the class used in the function is not authorized.

Check objects, methods and functions 

Check statements for objects, methods and functions. A message will be displayed if any errors are found.

Check .NET modifiers 

Verification of .NET modifiers A message will be displayed if any errors are found.

PHP

[Top of page]

Identifier expected but reserved word found 

A word specified as an identifier (ID) is in the document, but cannot serve as an identifier.

Predefined function statements 

The statement for these functions is predefined and cannot be modified.

Illegal character 

The script includes unauthorized characters.

Expected character not found 

A character is missing from the script.

Unterminated string 

A specified character string is not closed.

Multiline comment not closed 

The script multiline comment is not closed.

Statement not allowed there 

A certain character string is not authorized.

Nested functions not allowed 

Nested functions are included in a location where they are not permitted.

Duplicated identifier 

The name of the function is included twice in the script.

Identifier expected  

The function identifier (ID) is missing.

Bad "switch" statement 

A syntax error has occurred in the switch statement.

Syntax errors 

A syntax error can be detected.

Semicolon between statements

There are semicolons in statements, whereas this is not permitted.

Incorrect heredoc string syntax 

The syntax in the heredoc statement is incorrect.

Bad "if" statement 

The syntax of if statements contains errors.

Variable expected 

A variable is missing from the statement.

Bad "class" statement  

The syntax in the class statement is incorrect.

String expected 

You cannot find a character string you are looking for.

VB

[Top of page]

Syntax errors 

A syntax error can be detected.

Reserved word errors 

The identifier (ID) cannot be used when called, as it is reserved for another use.

Duplicated identifier 

The name of the function is included twice in the script.

Statement or operator not allowed  

An identified character string is not authorized.

Incorrect Function statement 

The syntax of Function statements contains errors.

Incorrect "Class" statement 

The syntax of Class statements contains errors.

Incorrect "For" statement 

The syntax of For statements contains errors.

Incorrect "If" statement 

The syntax of If statements contains errors.

Incorrect "Select Case" statement 

The syntax of Select Case statements contains errors.

Conflicting scope definition  

A message will be displayed if there is conflicting use of these functions.

Conflicting declaration modifiers 

Modifiers are checked. A message will be displayed if there is conflicting use.

External Interpreters 

To use the external interpreter function, you must have the necessary files.

Two types of interpreters can be used:

Associating an interpreter file  

  1. Enter the name and address of the interpreter file in the zone corresponding to the type of file you wish to associate. If necessary, click on Open file to search for the file on your workstation.

  2. In the Parameters zone, specify the parameters to associate to external interpreters.