LINEDATA Struct

Definition

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

public value class LINEDATA
struct LINEDATA
[System.Runtime.InteropServices.ComConversionLoss]
public struct LINEDATA
type LINEDATA = struct
Public Structure LINEDATA
Inheritance
LINEDATA
Attributes

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.

Fields

fMarkers

If true, then syntax coloring related to the presence of markers is considered in the coloring information provided in the pAttributes parameter. If null, then the marker data does not affect the syntax coloring returned.

iEolType

Type of the new line character at the end of the line (for example "/n", "/r/n", and so on).

iLength

Number of plain text characters in the line, including the end of line (EOL) character.

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.

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.

Applies to