Edit Properties Dialog Box

See Also

Allows you to set editing options for the current editing window or set color and font options for all editing sessions.

This dialog box appears when you choose Properties from the shortcut menu of any editing window or when you choose Properties from the Edit menu.

Dialog Box Options

Behavior

The options in this area affect the current editing window only.

Drag-and-drop editing

Enables drag-and-drop text editing for manipulating text with the mouse.

Word wrap

Wraps text lines within the window.

Automatic indent

Automatically indents text according to the first line's indent. This does not affect how the text is saved.

Appearance

Alignment

Specifies left, center, or right alignment of text.

Tab width (characters)

Specifies how many characters wide each tab is. The range is from 1 to 50 characters.

Font

Changes the font in the edit window. Choose Font to open the Font dialog box.

Show line/column position

Enables the display of line number and column position in the status bar. The line number isn’t displayed if word wrap is enabled.

Syntax coloring

Toggles whether colors are shown for syntax elements.

Save Options

Make backup copy

Specifies that Visual FoxPro create a backup copy each time you save a file.

Save with line feeds

Saves the file with line feeds that have been entered into it. If this box is not selected, line feeds are removed when the file is saved.

Save with end-of-file marker

Places a CTRL+Z character at the end of a file when the file is saved. This extra character, when saved with the file, helps resolve the difference between normal editing activity and MODIFY MEMO activity.

Compile before saving (Program editor)

Specifies that Visual FoxPro automatically compile the program and check for syntax errors when the file is saved.

Save preferences

Saves preferences for this type of editing window.

Apply to method code (Form or Class Designer)

Specifies the current settings as the default for all form or class methods.

Apply to menu code (Menu Designer)

Specifies the current settings as the default for all menu procedures.

Apply to .PRG or .TXT files (Program or text editor)

Specifies the current settings as the default for .prg or .txt files.

Apply to memos (Memo field editor)

Specifies the current settings as the default for memo fields.

File Information (Program or text editor)

File Name

The name and directory of the program or text file being edited.

Size

The size of the program or text file being edited.

Last Saved

The date and time the program or text file was last saved to disk.