Difference between revisions of "Save/Load page"

From TED Notepad
Line 3: Line 3:
 
===={{field|Settings:Save/Load|New}}====
 
===={{field|Settings:Save/Load|New}}====
  
The {{field|Settings:Save/Load|Template file}} specifies path and file to be pre-loaded as template whenever a new document is created.
+
The '''{{field|Settings:Save/Load|Template file}}''' specifies path and file to be pre-loaded as template whenever a new document is created.
  
 
Note: The new document is still untitled. Saving it does not mean saving into the file specified as {{field|Settings:Save/Load|Template file}}.
 
Note: The new document is still untitled. Saving it does not mean saving into the file specified as {{field|Settings:Save/Load|Template file}}.
Line 9: Line 9:
 
===={{field|Settings:Save/Load|Loading}}====
 
===={{field|Settings:Save/Load|Loading}}====
  
The {{field|Settings:Save/Load|File size warning}} tells to issue a warning whenever a file bigger than this size is being loaded, simply to prevent accidental unwanted long loading times. Use zero to issue no such warnings anytime.
+
The '''{{field|Settings:Save/Load|File size warning}}''' tells to issue a warning whenever a file bigger than this size is being loaded, simply to prevent accidental unwanted long loading times. Use zero to issue no such warnings anytime.
  
 
Note: This value does not limit size of files loadable in TED Notepad, merely poses a friendly loading warning and a choice to interrupt a lengthy operation.
 
Note: This value does not limit size of files loadable in TED Notepad, merely poses a friendly loading warning and a choice to interrupt a lengthy operation.
  
The {{field|Settings:Save/Load|Only one instance of each file}} specifies, whether TED Notepad should check for other instances of the same file already opened. When this option is turned on, each file is cross-checked upon opening, and if it is already opened in another window of TED Notepad, a warning is issued, asking the user, whether to switch to the already opened window.
+
The '''{{field|Settings:Save/Load|Only one instance of each file}}''' specifies, whether TED Notepad should check for other instances of the same file already opened. When this option is turned on, each file is cross-checked upon opening, and if it is already opened in another window of TED Notepad, a warning is issued, asking the user, whether to switch to the already opened window.
  
The {{field|Settings:Save/Load|Warn when file is modified from outside}} specifies, whether a watch is to be set for every opened file. When this option is turned on, TED Notepad raises a warning each time the currently opened file is modified by some other application. It asks, whether to {{feature|Revert}} the file upon such event.
+
The '''{{field|Settings:Save/Load|Warn when file is modified from outside}}''' specifies, whether a watch is to be set for every opened file. When this option is turned on, TED Notepad raises a warning each time the currently opened file is modified by some other application. It asks, whether to {{feature|Revert}} the file upon such event.
  
 
Note: By reverting, you discard all unsaved modifications and load the new version of the file. The selection and actual scrolling will try to persist the loading, locating the same line in the new version of the file.
 
Note: By reverting, you discard all unsaved modifications and load the new version of the file. The selection and actual scrolling will try to persist the loading, locating the same line in the new version of the file.
Line 23: Line 23:
 
===={{field|Settings:Save/Load|Saving}}====
 
===={{field|Settings:Save/Load|Saving}}====
  
The {{field|Settings:Save/Load|Create backup files}} specifies, whether to create backup files by ''copying'' the previous version of the original file upon each save operation. The backup file name is created by appending {{string|.~}} to the original file name.
+
The '''{{field|Settings:Save/Load|Create backup files}}''' specifies, whether to create backup files by ''copying'' the previous version of the original file upon each save operation. The backup file name is created by appending {{string|.~}} to the original file name.
  
 
{{todo|verify behaviour in the latest version}}
 
{{todo|verify behaviour in the latest version}}
  
The {{field|Settings:Save/Load|Save recovery file every 5 mins}} specifies, whether to auto-save currently opened file every 5 minutes into a recovery file. The recovery file name is created by appending {{string|.$}} to the original file name. The auto-save operation is performed on background and occurs only, if there are unsaved modifications made to the document.
+
The '''{{field|Settings:Save/Load|Save recovery file every 5 mins}}''' specifies, whether to auto-save currently opened file every 5 minutes into a recovery file. The recovery file name is created by appending {{string|.$}} to the original file name. The auto-save operation is performed on background and occurs only, if there are unsaved modifications made to the document.
  
 
Note: Recovery files are automatically deleted after successful
 
Note: Recovery files are automatically deleted after successful
 
{{feature|Save}} operation; or upon closing the document by user request (e.g. by opening a new file or closing the editor window). However, in case of power loss or system crash, recovery files are kept. Upon loading documents, TED Notepad automatically searches for presence of recovery files and notifies the user in case bereaved recovery file.
 
{{feature|Save}} operation; or upon closing the document by user request (e.g. by opening a new file or closing the editor window). However, in case of power loss or system crash, recovery files are kept. Upon loading documents, TED Notepad automatically searches for presence of recovery files and notifies the user in case bereaved recovery file.
  
The {{field|Settings:Save/Load|Save directly to original}} allows to skip recovery files and auto-save directly to the original file. This type of auto-save operation is performed on background as well and occurs only, if there are unsaved modifications made to the document.
+
The '''{{field|Settings:Save/Load|Save directly to original}}''' allows to skip recovery files and auto-save directly to the original file. This type of auto-save operation is performed on background as well and occurs only, if there are unsaved modifications made to the document.
  
 
Note: Auto-saving like this does not resemble the manual {{feature|Save}} command in all manners, for example {{feature|Undo}} and {{feature|Redo}} queues are not reduced by an auto-save operation even if {{field|Settings:Edit|Reduce Undo/Redo upon Save}} setting is turned on.
 
Note: Auto-saving like this does not resemble the manual {{feature|Save}} command in all manners, for example {{feature|Undo}} and {{feature|Redo}} queues are not reduced by an auto-save operation even if {{field|Settings:Edit|Reduce Undo/Redo upon Save}} setting is turned on.
Line 38: Line 38:
 
{{todo|missing accelerator!}}
 
{{todo|missing accelerator!}}
  
The {{field|Settings:Save/Load|Use hidden recovery file}} specifies to set ''hidden'' attribute to all created recovery files. Since TED Notepad searches for presence of recovery files automatically upon loading documents, loss of information due to hidden recovery files is rather small.
+
The '''{{field|Settings:Save/Load|Use hidden recovery file}}''' specifies to set ''hidden'' attribute to all created recovery files. Since TED Notepad searches for presence of recovery files automatically upon loading documents, loss of information due to hidden recovery files is rather small.
  
The {{field|Settings:Save/Load|Force Read-only files}} specifies, whether files with read-only attribute can be forcibly written to. By using this option, TED Notepad overrides default system behaviour, which prevents modification of such files.
+
The '''{{field|Settings:Save/Load|Force Read-only files}}''' specifies, whether files with read-only attribute can be forcibly written to. By using this option, TED Notepad overrides default system behaviour, which prevents modification of such files.
  
 
{{tip}} You can save into read-only file by opening its {{feature|Properties}} dialog (hotkey {{hotkey|Ctrl+F9}}) and unchecking the read-only attribute. After saving, you may then choose whether to set the read-only attribute back.
 
{{tip}} You can save into read-only file by opening its {{feature|Properties}} dialog (hotkey {{hotkey|Ctrl+F9}}) and unchecking the read-only attribute. After saving, you may then choose whether to set the read-only attribute back.
  
The {{field|Settings:Save/Load|No mixed newlines}} prevents from saving files with mixed newlines. The user is forced to some specific type of {{feature|Newlines}} at all times, and this type is then used upon saving to convert all encountered newlines. See {{feature|Newlines}} for further details.
+
The '''{{field|Settings:Save/Load|No mixed newlines}}''' prevents from saving files with mixed newlines. The user is forced to some specific type of {{feature|Newlines}} at all times, and this type is then used upon saving to convert all encountered newlines. See {{feature|Newlines}} for further details.

Revision as of 17:57, 1 October 2013

This section is up to date for TED Notepad version 6.3.1.0.
Control page Control:dialog:Settings:Save/Load

New

The Template file specifies path and file to be pre-loaded as template whenever a new document is created.

Note: The new document is still untitled. Saving it does not mean saving into the file specified as Template file.

Loading

The File size warning tells to issue a warning whenever a file bigger than this size is being loaded, simply to prevent accidental unwanted long loading times. Use zero to issue no such warnings anytime.

Note: This value does not limit size of files loadable in TED Notepad, merely poses a friendly loading warning and a choice to interrupt a lengthy operation.

The Only one instance of each file specifies, whether TED Notepad should check for other instances of the same file already opened. When this option is turned on, each file is cross-checked upon opening, and if it is already opened in another window of TED Notepad, a warning is issued, asking the user, whether to switch to the already opened window.

The Warn when file is modified from outside specifies, whether a watch is to be set for every opened file. When this option is turned on, TED Notepad raises a warning each time the currently opened file is modified by some other application. It asks, whether to Revert the file upon such event.

Note: By reverting, you discard all unsaved modifications and load the new version of the file. The selection and actual scrolling will try to persist the loading, locating the same line in the new version of the file.

Note: For further details on how file Encoding is handled upon reverting, see Revert.

Saving

The Create backup files specifies, whether to create backup files by copying the previous version of the original file upon each save operation. The backup file name is created by appending .~ to the original file name.

This section is incomplete and wants to be finished later.
TODO: verify behaviour in the latest version

The Save recovery file every 5 mins specifies, whether to auto-save currently opened file every 5 minutes into a recovery file. The recovery file name is created by appending .$ to the original file name. The auto-save operation is performed on background and occurs only, if there are unsaved modifications made to the document.

Note: Recovery files are automatically deleted after successful Save operation; or upon closing the document by user request (e.g. by opening a new file or closing the editor window). However, in case of power loss or system crash, recovery files are kept. Upon loading documents, TED Notepad automatically searches for presence of recovery files and notifies the user in case bereaved recovery file.

The Save directly to original allows to skip recovery files and auto-save directly to the original file. This type of auto-save operation is performed on background as well and occurs only, if there are unsaved modifications made to the document.

Note: Auto-saving like this does not resemble the manual Save command in all manners, for example Undo and Redo queues are not reduced by an auto-save operation even if Reduce Undo/Redo upon Save setting is turned on.

This section is incomplete and wants to be finished later.
TODO: missing accelerator!

The Use hidden recovery file specifies to set hidden attribute to all created recovery files. Since TED Notepad searches for presence of recovery files automatically upon loading documents, loss of information due to hidden recovery files is rather small.

The Force Read-only files specifies, whether files with read-only attribute can be forcibly written to. By using this option, TED Notepad overrides default system behaviour, which prevents modification of such files.

Tip: You can save into read-only file by opening its Properties dialog (hotkey Ctrl+F9) and unchecking the read-only attribute. After saving, you may then choose whether to set the read-only attribute back.

The No mixed newlines prevents from saving files with mixed newlines. The user is forced to some specific type of Newlines at all times, and this type is then used upon saving to convert all encountered newlines. See Newlines for further details.