Block|Begin Selection

(available in EditPad Pro only)

Select Begin Selection from the Block menu to tell EditPad Pro to remember the current position of the text cursor. Doing this will not have any visible effect. After using Block|Begin Selection, you can use Block|End Selection to select text starting at the position remembered by Block|Begin Selection. If you have more than one file open in EditPad Pro, Begin Selection will remember the position separately for each file. Selecting Begin Selection when working with one file does not wipe out the position remembered for any other file.

These commands are very useful when you want to make a very large selection, or if you want to perform a search to find the start and the end of the selection. You can do whatever you want between invoking Begin Selection and invoking End Selection, including selecting part of the text in any way. The position stored by Begin Selection is remembered until you use Begin Selection again.

The Begin Selection command works slightly differently when selections are persistent. Then it is possible that part of the file is already selected, without the text cursor being positioned at the end of the selection. In that case, Begin Selection moves the starting position of the selection to the current position of the text cursor, and nothing is remembered. If the new starting position is further away from the ending position than the old one, the selection will be expanded. If the new starting position is below the ending position when the old one was above it, or vice versa, the selection will be pivoted around the ending position. If the new starting position is inside the old selection, the selection will be shrunk.

If there is no selection, Begin Selection remembers the position for use with End Selection, whether selections are persistent or not.

If you use the menu item or toolbar button to invoke this command, it will be invoked on EditPad's main editor, where you edit files. If you press the shortcut key on the keyboard, it will be invoked on whichever editor is showing the text cursor (vertical blinking bar), whether that's the main editor, the search box or the replace box.

See also

Block Menu
Block|End Selection
Block|Expand Selection
Block|Rectangular Selections
Block|Between Matching Brackets
Block|Go to Beginning
Block|Go to End
Editor Preferences