Home Menus

# File Menu

### New

Creates a new untitled document using the default dialect

### New with Dialect...

Creates a new untitled document, offering a choice of dialect

### Open...

Open an existing SQLEditor file

### Open recent

A submenu offering recently used documents

### Import From File

Create a new document by importing from an existing SQL text file

See also: Importing from a SQL file

### Import From Database

See also: Importing from a Database

### Close Document

Close the current document. If there are unsaved changed you will be asked if you want to save

The following commands apply with versions support turned off

### Save

Save the current document, to the existing file (if one exists) or SQLEditor will ask you to choose a location to save

### Save As...

Save the current document to a new location

### Revert to Saved

Abandon any changes in the current document and revert the version that was last saved

The following commands apply on 10.7 and later, with versions support enabled

### Save a version

Save the current state of the document as a snapshot in the timeline

### Duplicate

Create a copy of the current document, to allow saving as a separate document

### Revert Document

Revert to a previous revision of the document

### Export to File

Export the current document to a SQL text file (or database migration)

See also: Importing from a SQL file

### Export to Database

Export the current document to a database, possibly updating an existing database

See also: Exporting to a database

### Export Diff

Export a SQL diff to a file. The current document is compared against another document or snapshot. You can choose which in the save panel

### Export

If there are any export plugins installed, then they may appear here.

### Save as Image

Save the entire current document as an image.

See also: Save as Image

### Document Options...

Displays the Document Options Window for the current document

See also: The Document Options Window

### Page Setup...

Displays the standard Mac OS X page setup window.

### Print

Displays the standard Mac OS X print sheet. SQLEditor adds a panel which offers control over how the document is fitted to the paper