Editor Preferences

On the Editor tab of the Preferences you can set the options that affect basic editing tasks that are not file type specific.

Editing Options

Highlighting the active line makes it easier to keep track of where you are in the file, particularly when switching between EditPad and other applications. The active line is the line the text cursor is on. Just like the text cursor itself, the active line is only highlighted when the editor has keyboard focus. If you want it to be highlighted permanently, turn on "maintain highlight after losing keyboard focus" too. You can configure the color of the active line in the color palette for each file type. Click on "editor: highlight active line" in the list. Click the Background Color button to change the highlight color.

In EditPad, rotating the mouse wheel scrolls the active file 3 lines up or down. Holding down the Ctrl key while rotating the mouse wheel scrolls the active file one screen up or down. Essentially, holding down the Ctrl key speeds up scrolling with the mouse wheel. In many other applications, Ctrl+Wheel zooms in our out. As a plain text editor, EditPad Pro does not have the ability to zoom. But EditPad Pro can mimic zooming by increasing or decreasing the font size of the active file. Turn on "Control+Wheel changes the font size instead of scrolling one page" if you prefer to change the font rather than to scroll quickly when using Ctrl+Wheel.

By default, "selected text can be moved or copied by dragging it with the mouse" is turned on. This allows drag-and-drop editing within EditPad. It also allows you to drag text from EditPad into other applications. People with limited dexterity using a mouse may find themselves accidentally moving text when trying to select text. Turning off this option prevents that.

In EditPad, the Edit|Cut and Edit|Copy are always enabled by default. If no text is selected, these commands cut or copy the active line. This makes allows you to quickly cut and copy whole lines, as it removes the need to select them. You can turn off the option "copy active line when nothing is selected" if you want EditPad to disable the Cut and Copy commands when no text is selected, as most Windows applications do.

If you copy text to the clipboard while editing a file using syntax coloring, then EditPad places both plain text and rich text on the clipboard. When you paste the rich text version into a word processor, it will be pasted with the same font and colors you were using in EditPad. The rich text version is only generated when another application requests it. When copying and pasting within EditPad or between EditPad and another plain text editor, no time or memory is wasted to generate the RTF. If you don't want word processors to paste rich text, either use the "paste as plain text" or "paste unformatted text" command in your word processor, or tell EditPad Pro not to copy it by turning off the option "copy syntax coloring as rich text to the clipboard".

Normally, when you paste text, that text is inserted at the position of the text cursor, regardless of where the cursor is placed and which text is being pasted. If you often copy and paste whole lines of text, you may want to turn on "paste whole lines when lines are copied as a whole". A line is copied as a whole if all the text on that line and the line break at the end of the line are selected when you copy them. If the option to paste whole lines is on, and you copy a whole line in EditPad, and then paste it, the line is pasted before the line that the cursor is on, as if the cursor was positioned at the start of the line. This allows you to quickly copy and paste whole lines without worrying about the horizontal position of the text cursor. This option also affects the Block|Move and Block|Duplicate commands in the same way. If you move or duplicate a whole line, the line is moved or copied as if the cursor was on the start of the line that it is on. This option only affects whole lines copied in EditPad. When pasting text copied from another application, EditPad cannot determine whether it was a complete line or not.

By default, selections in EditPad Pro behave like in most other Windows applications. When you move the text cursor, by pressing a key on the keyboard or clicking somewhere with the mouse, the selection will disappear. When typing in some text or pasting from the clipboard, the selected text will be replaced by the text you typed in or pasted. If you turn on "persistent selections", moving the text cursor will not cause the selection to disappear. Also, typing in text or pasting text will not delete the selected text. The typed or pasted text will be inserted at the position of the text cursor, whether that is outside the selection, at the edge of the selection, or inside the selection. If it is inside the selection, the selection will be expanded to include both the text originally selected and the newly entered text.

Turn on "zero-based line and column numbers" if you want EditPad Pro to start counting lines and columns from zero instead of one. This option affects the status bar, as well as Options|Line Numbers and Options|Column Numbers.

You can change the encoding for the ASCII section in the hex editor if you work with binary files that also store text in a particular code page. This setting changes the way bytes are translated into characters in the right hand section of the text editor, and how characters that you type in are translated into bytes. You can only select 8-bit code pages, as the hex editor displays one character per byte.

Line Break Symbols

You can show or hide line break symbols with the Options|Visualize Line Breaks command. You can set the default in the editor options for each file type. These two determine whether line breaks are visualized or not. The Line Break Symbols section in the Preferences determines how they are visualized.

If you choose to show the generic ¶ symbol then you'll need to rely on the status bar to determine the line break style used by the file.

By default, EditPad shows line break symbols for all line breaks that are part of a selected block, even when you've turned off the option to visualize line breaks. EditPad Lite, which does not have any options for visualizing line breaks, does this too. This makes it easy to tell the difference between selecting a line of text and selecting a line of text including the line break at the end of the line. In EditPad Pro, you can disable this by turning off "always visualize line breaks in selected text". If you do this, there is no visual difference between selecting a line with or without the line break that terminates it.

Appearance

When you use the Fold|Fold command to fold a range of lines, EditPad Pro indicates those with a "plus" button in the left margin. When you use Fold|Unfold, the "plus" will change into a "minus", and a vertical line will appear next to the range of lines. Automatic folding points also appear this way. If you find the vertical lines distracting, you can disable them. Then only the "plus" or "minus" buttons will appear. You may prefer this style if you only work with automatic folding ranges that span logical blocks that are obvious from the file's content.