Partilhar via


GLDE_FLAGS Enum

Definition

Provides information about a line in the buffer.

This enumeration supports a bitwise combination of its member values.

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

Fields

Name Value Description
gldeDefault 0

Default behavior: whole line, no attributes, regular locking.

gldeSubset 1

Returns information only for the line subset defined by the iStartIndex and iEndIndex parameters.

gldeColorizerState 2

Not implemented.

gldeSyntaxAttr 4

Return syntax coloring attributes and the colorizer state.

gldeMarkerAttr 8

Returns marker coloring attributes plus other attributes.

gldeFullAttr 12

Combining with a bitwise or of gldeSyntaxAttr and gldeMarkerAttr.

gldeNoReadLock 16

This value tells GetLineDataEx(UInt32, Int32, Int32, Int32, LINEDATAEX[], MARKERDATA[]) or ReleaseLineDataEx(LINEDATAEX[]) to skip locking entirely. This is only safe to do if you have separately put a read (or read/write) lock on the buffer beforehand, and keep it locked until you've released the LINEDATAEX structure again using ReleaseLineDataEx(LINEDATAEX[]). This allows a fast iteration over an entire set of lines, factoring out the locking overhead, which becomes significant if you are iterating over many lines.

gldeNoWidgetMargin 32

Specifies that there is no widget margin, so appropriate markers can color text.

Remarks

COM Signature

From textmgr.idl:

Applies to