Edit menu

Undo, Redo

 

This will undo (or redo) the last editing task. Source Edit supports unlimited undo actions but you can limit the number of undo actions if you want to preserve some memory. You can set the limit on the Settings page of the Options dialog box.

Cut, Copy, Paste

  

Source Edit of course supports the standard clipboard actions. Cut or Copy selected text and put them on the clipboard. Paste text from the clipboard into the active document.

Paste and Cycle, Clipboard History

Upon opening Source Edit, the program registers itself with Windows as a Clipboard Viewer, giving Source Edit the ability to be informed of Windows Clipboard changes automatically. By default Source Edit maintains a history of the last 15 text items posted to the Clipboard, this value can be altered using the Settings page of the Option dialog box.

The Clipboard History command will bring up a dialog box that allows you to view and browse the history and pick a clip to paste in to the current document.

The Paste and Cycle command works much like the regular paste command except that it will keep the pasted text selected and if you hit the command again it will paste the previous clip in the history and keep on cycling through the clipboard history.

Delete

Delets the selected text in the current document.

Cut Current Line

This command will cut the current line and put it on the Windows Clipboard. You don't have to select any text before picking this command.

Read Only

This command will put the current document in read-only mode. Source Edit will then not allow you to change the content. This is a usefull feature for files that you have opened for reference only and shouldn't be changed by accident. However it's only the memory buffer Source Edit use to store the contents of the file that will be read-only. No file locks will exists, because of this the file can still be altered in another application outside of Source Edit. If this occurs Source Edit will warn you that the file has been changed and ask you if you want to reload the document or not. This question will also be asked even if the document isn't in read-only mode but has been altered outside of Source Edit. Since no file lock exists Source Edit allows you to save a read-only document which would alter the time stamp of the file.

Select Line

This command will select the current line.

Select All

Selects all text in the current document.

Select Range

Shows the Select Range dialog box.

In this dialog you can specify the line and column a selection should start and end with. If you already have text selected when you launch this dialog the current range will be shown. The Select in Column mode option will select the range as a rectangular selection. As shown below:



You can also select in Column mode with the mouse if you hold down either the Ctrl or the Alt key while dragging the mouse over the text.

File Format

You can change the format of the current opened file. There are 4 different options here: DOS, Unix, Macintosh and Unicode. By default Source Edit will keep the format the file had when it was opened.

The line ending characters these three different systems use are:

DOS (and Windows) : Both a Carriage Return (CR) and a Line Feed (LF) character
Unix : a LF character
Macintosh : a CR character

Replace Tabs with Spaces, Replace Spaces with Tabs

These two commands will replace tabs with spaces or the other way around in the selected text.

Trim trailing spaces

This command will remove all trailing whitespaces on each line of the current document.

Time Stamp

Shows the Time Stamp dialog which allows you to insert the current date and/or time in the current document. The format of the date and time will be according to your regional settings.

Comment block, Uncomment block

 

If the current file use a syntax highlighter for a language that has single line comment character these commands will add or remove comments to a block of selected text. For example: if you are editing a Java class file the Comment block will add the single line comment // at the beginning of each line of the selected text. Uncomment will remove them.

Code Completion

This command will bring up the code completion list. This list will contain all keywords, operators, and so on, that are defined for the current language.



You can insert the selected word from the list by either double clicking it or by pressing Tab or Enter. The Esc key will close the list.