共用方式為


MARKERBEHAVIORFLAGS Enum

Definition

Provides flags that specify marker behavior.

This enumeration supports a bitwise combination of its member values.

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

Fields

Name Value Description
MB_DEFAULT 0

Default stream behavior.

MB_LINESPAN 1

Marker always adjusts itself to span only one line at a time.

MB_LEFTEDGE_LEFTTRACK 2

If edits occur on the left edge of the marker, then the marker tracks to the left.

MB_RIGHTEDGE_RIGHTTRACK 4

If edits occur on the right edge of the marker, then the marker tracks to the right.

MB_MULTILINESPAN 8

Marker can span multiple lines.

MB_TRACK_EDIT_ON_RELOAD 256

Forces the marker to track every edit as a replace, ignoring any reload semantics. Do not use this value unless you have markers that need to guarantee that they are tracking in response to OnChangeLineText(TextLineChange[], Int32).

Remarks

When ReloadLines is called, the environment does not send event notification (OnChangeLineText) to inform markers of changes to the underlying text. Generally, markers are only notified of text changes when ReplaceLines is called. However, if a value of MB_TRACK_EDIT_ON_RELOAD is specified, then the environment notifies the marker that the text underneath the marker has changed.

COM Signature

From textmgr.idl:

Applies to