共用方式為


GLDE_FLAGS Enumeration

Provides information about a line in the buffer.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'宣告
<FlagsAttribute> _
Public Enumeration GLDE_FLAGS
'用途
Dim instance As GLDE_FLAGS
[FlagsAttribute]
public enum GLDE_FLAGS
[FlagsAttribute]
public enum class GLDE_FLAGS
[<FlagsAttribute>]
type GLDE_FLAGS
public enum GLDE_FLAGS

Members

Member name Description
gldeDefault Default behavior: whole line, no attributes, regular locking.
gldeSubset Returns information only for the line subset defined by the iStartIndex and iEndIndex parameters.
gldeColorizerState Not implemented.
gldeSyntaxAttr Return syntax coloring attributes and the colorizer state.
gldeMarkerAttr Returns marker coloring attributes plus other attributes.
gldeFullAttr Combining with a bitwise or of gldeSyntaxAttr and gldeMarkerAttr.
gldeNoReadLock This value tells GetLineDataEx or ReleaseLineDataEx 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. 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 Specifies that there is no widget margin, so appropriate markers can color text.

Remarks

COM Signature

From textmgr.idl:

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace