Compartilhar via


RelativeSelectionStateFlags Enum

Definition

Specifies the state of a selection relative to another layer.

This enumeration supports a bitwise combination of its member values.

public enum class RelativeSelectionStateFlags
public enum class RelativeSelectionStateFlags
enum RelativeSelectionStateFlags
[System.Flags]
public enum RelativeSelectionStateFlags
[<System.Flags>]
type RelativeSelectionStateFlags = 
Public Enum RelativeSelectionStateFlags
Inheritance
RelativeSelectionStateFlags
Attributes

Fields

Name Value Description
RSS_DEFAULT 0

Coordinates relative to the top view layer.

RSS_TOP_LAYER 0

Coordinates relative to the top view layer.

rssDefault 0

Same as RSS_DEFAULT. For compatibility.

rssTopLayer 0

Same as RSS_TOP_LAYER. For compatibility.

RSS_BUFFER 1

Coordinates relative to the buffer.

rssBuffer 1

Same as RSS_BUFFER. For compatibility.

RSS_RELATIVE_LAYER 2

Coordinates relative to the layer specified in pReference.

rssRelativeLayer 2

Same as RSS_RELATIVE_LAYER. For compatibility.

RSS_TRACKSEL 16

Coordinates relative to tracking selection.

rssTrackSel 16

Same as RSS_TRACKSEL. For compatibility.

RSS_SET_WITHOUT_SCROLLING 4096

Flags for SetRelativeSelectionState(UInt32, IVsTextLayer, SELECTIONSTATE[]) tells the view to not scroll to force the selection to be visible.

RSS_SET_TO_NEAREST_LOCAL 8192

For RSS_BUFFER or RSS_RELATIVE_LAYER, tells the view to put the caret at the nearest local position.

Remarks

COM Signature

From textmgr.idl:

Applies to