Difference between revisions of "File menu"

From TED Notepad
Line 53: Line 53:
 
====Revert (Ctrl+E)====
 
====Revert (Ctrl+E)====
  
Reverts (reloads) the currently opened
+
Reverts (reloads) the currently opened document. All unsaved changes will be lost. If content of the file has changed from outside of TED Notepad in the meantime, a new version of the file will be loaded.
file. All unsaved changes will get lost. If content of the file has
 
changed from outside of TED Notepad in the meantime, a new version of
 
the file will be loaded.
 
  
 
====Recent Files menu====
 
====Recent Files menu====

Revision as of 18:29, 1 March 2006

This section is incomplete and wants to be finished later.
TODO: This section is currently under contruction. See manual for more refference.

New (Ctrl+N)

Creates a new empty document. TED Notepad may ask, whether to save the current document before creating a new one.

Open (Ctrl+O)

Shows the Open dialog and then opens selected file. TED Notepad may ask, whether to save the current document before opening a new one.

Save (Ctrl+S)

Saves the current document to a file from which it was loaded or to which it was saved for the last time. If no such file was specified before, TED Notepad will ask to choose one.

Save As...

Asks for a file name to save the current document to and then saves the document to that file.

Encoding: ANSI/Unicode/UTF-8 (Ctrl+U)

Toggles between saving in ANSI, UTF-8 and both Unicode file formats. You can see the actual state of this option in the Status bar too.

Note: This option can be toggled also by double-clicking on the Status bar field.

See chapter Managing documents for more details on these file formats.

Newlines: Win/UNIX/Mac (Ctrl+I)

Toggles between saving in UNIX, Mac and the default Windows file format. You can also see the actual state of this option in the Status bar.

This option may be toggled also by double-clicking on the Status bar field.

See chapter Managing documents for more details on file formats.

Print (Ctrl+P)

Shows the Print dialog and the prints the current document.

Note: While the document is being printed, long lines are wrapped to fit on the page. However, the lines are wrapped to fit the sheet, therefore the actual word wrapping used while displaying the document on the screen may be different. If you want to print the document with lines wrapped the same way as they are wrapped while being displayed, use Commit Word Wrap tool before printing. See chapter Word Wrap tools for more details.

Versions note: Prior to 5.0.1, There were several issues with printing and word wrapping during the printing. The text was not always wrapped correctly. Some early versions did not wrap the lines at all. 5.0.1 and above should be able to print correctly, as described above.

Minimize To Tray (Ctrl+M)

Minimizes (hides) the main application window and adds a small icon to the System Tray area. (i.e. Task Bar area for icons, near the clock.)

To restore (unhide) the window back to its previous position, just click on the icon.

Properites (Ctrl+J)

Shows the system Properties dialog of the current document. This feature is dissabled, when no document was loaded or when a new document has not been saved yet, because there is no document to show the dialog for.

Revert (Ctrl+E)

Reverts (reloads) the currently opened document. All unsaved changes will be lost. If content of the file has changed from outside of TED Notepad in the meantime, a new version of the file will be loaded.

Recent Files menu

Shows up to 10 recently opened files.

Note, that files that were not opened successfuly are not collected here. Such unsuccessful opens may occur for example when opening a binary file.

Note: Recent Files recollection can be turned off in the Settings dialog. See chapter Settings dialog.

Exit (Esc)

Closes the current document, then quits upon success. TED Notepad may ask, whether to save the current document before closing.

Note: An optional setting may disable the Esc hotkey. See chapter Settings dialog.

Save and Exit (F10)

Saves and closes the current document, then quits upon success.

Exit wihout saving! (Shift+Esc)

Closes the current document and does not ask about to save it! Then quits.

No recently made settings, Recent files, Filters nor Favourites will be saved as well.

Note: An optional setting may disable the Shift+Esc hotkey. See chapter Settings dialog.

Tip: Run TED Notepad with /ns command line parameter in order never to save any settings. See chapter Command line parameters.