PredefinedSelectionTransformations Enum

Definition

Defines a set of actions that are predefined for manipulating selections within a view. For custom manipulations see the usage of ISelectionTransformer. These transformations can be passed in to PerformActionOnAllSelections(PredefinedSelectionTransformations), TryPerformActionOnSelection(Selection, PredefinedSelectionTransformations, Selection), and PerformAction(PredefinedSelectionTransformations).

public enum class PredefinedSelectionTransformations
public enum PredefinedSelectionTransformations
type PredefinedSelectionTransformations = 
Public Enum PredefinedSelectionTransformations
Inheritance
PredefinedSelectionTransformations

Fields

ClearSelection 0

Resets the active and anchor points to be at the insertion point.

MovePageDown 21

Moves the active, anchor, and insertion points ahead one viewport height, staying as close to the user's preferred x and y coordinates in the view as possible.

MovePageUp 19

Moves the active, anchor, and insertion points back one viewport height, staying as close to the user's preferred x and y coordinates in the view as possible.

MoveToBeginningOfLine 9

Moves the active, anchor, and insertion points back to the beginning of the current line.

MoveToEndOfDocument 25

Moves the active, anchor, and insertion points ahead to the end of the document.

MoveToEndOfLine 13

Moves the active, anchor, and insertion points ahead to the end of the current line.

MoveToHome 11

Moves the active, anchor, and insertion points alternately between the beginning of the line, and the first non-whitespace character.

MoveToNextCaretPosition 1

Moves the active, anchor, and insertion points ahead one position in the view.

MoveToNextLine 15

Moves the active, anchor, and insertion points ahead to next line, staying as close to the user's preferred x-coordinate in the view as possible.

MoveToNextSubWord 28

Moves the active, anchor, and insertion points ahead to the beginning of the next subword.

MoveToNextWord 5

Moves the active, anchor, and insertion points ahead to the beginning of the next word.

MoveToPreviousCaretPosition 3

Moves the active, anchor, and insertion points back one position in the view.

MoveToPreviousLine 17

Moves the active, anchor, and insertion points back to the previous line, staying as close to the user's preferred x-coordinate in the view as possible.

MoveToPreviousSubWord 30

Moves the active, anchor, and insertion points back to the end of the previous word.

MoveToPreviousWord 7

Moves the active, anchor, and insertion points back to the end of the previous word.

MoveToStartOfDocument 23

Moves the active, anchor, and insertion points back to the beginning of the document.

SelectCurrentWord 27

Moves the anchor point to the beginning of the current word. Moves the active and insertion points to the end of the current word.

SelectPageDown 22

Moves the active and insertion points ahead one viewport height, staying as close to the user's preferred x and y coordinates in the view as possible, keeping the anchor point where it is.

SelectPageUp 20

Moves the active and insertion points back one viewport height, staying as close to the user's preferred x and y coordinates in the view as possible, keeping the anchor point where it is.

SelectToBeginningOfLine 10

Moves the active and insertion points back to the beginning of the current line, keeping the anchor point where it is.

SelectToEndOfDocument 26

Moves the active and insertion points ahead to the end of the document, keeping the anchor point where it is.

SelectToEndOfLine 14

Moves the active and insertion points ahead to the end of the current line, keeping the anchor point where it is.

SelectToHome 12

Moves the active and insertion points alternately between the beginning of the line, and the first non-whitespace character, keeping the anchor point where it is.

SelectToNextCaretPosition 2

Moves the active and insertion points ahead one position in the view, keeping the anchor point where it is.

SelectToNextLine 16

Moves the active and insertion points ahead to next line, staying as close to the user's preferred x-coordinate in the view as possible, keeping the anchor point where it is.

SelectToNextSubWord 29

Moves the active and insertion points ahead to the beginning of the next subword, keeping the anchor point where it is.

SelectToNextWord 6

Moves the active and insertion points ahead to the beginning of the next word, keeping the anchor point where it is.

SelectToPreviousCaretPosition 4

Moves the active and insertion points back one position in the view, keeping the anchor point where it is.

SelectToPreviousLine 18

Moves the active and insertion points back to the previous line, staying as close to the user's preferred x-coordinate in the view as possible, keeping the anchor point where it is.

SelectToPreviousSubWord 31

Moves the active and insertion points back to the end of the previous subword, keeping the anchor point where it is.

SelectToPreviousWord 8

Moves the active and insertion points back to the end of the previous word, keeping the anchor point where it is.

SelectToStartOfDocument 24

Moves the active and insertion points back to the beginning of the document, keeping the anchor point where it is.

Applies to