Share via


LINEDATA Structure

Used to pass direct-access to line data in a buffer through IVsTextLines. This structure returns all of the information for a single line.

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

Syntax

'Declaration
Public Structure LINEDATA
public struct LINEDATA
public value class LINEDATA
[<Sealed>]
type LINEDATA =  struct end
JScript supports the use of structures, but not the declaration of new ones.

The LINEDATA type exposes the following members.

Methods

  Name Description
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from ValueType.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Fields

  Name Description
Public field fMarkers If true, then syntax coloring related to the presence of markers is considered in the coloring information provided in the pAttributes parameter. If nulla null reference (Nothing in Visual Basic), then the marker data does not affect the syntax coloring returned.
Public field iEolType Type of the new line character at the end of the line (for example "/n", "/r/n", and so on).
Public field iLength Number of plain text characters in the line, including the end of line (EOL) character.
Public field pAttributes An array of ULONG containing a list of syntax coloring attributes for each character in the line. Syntax coloring for a line is affected by the markers present in the line and keyword coloring.
Public field pszText Array of WCHAR containing all the characters in the line. Use the iLength parameter to determine the end of text in the line. The pszText parameter is not NULL-terminated.

Top

Remarks

The fMarkers parameter allows you to determine the syntax coloring for the line of text without considering the syntax coloring due to the markers present in the line of text.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace