Table of Contents

Method GetStringAndColorData

Namespace
Alternet.Editor.Wpf
Assembly
Alternet.Editor.Wpf.v9.dll

GetStringAndColorData(int, ref string, ref StringItemInfo[])

Returns text and color information related to the specified line.

public virtual int GetStringAndColorData(int index, ref string text, ref StringItemInfo[] data)

Parameters

index int

The index of line in strings array.

text string

Returns text of the given line.

data StringItemInfo[]

Returns color information of specified line.

Returns

int

Corresponding index within ISyntaxStringscollection.

GetStringAndColorData(int, ref string, ref StringItemInfo[], bool)

protected int GetStringAndColorData(int index, ref string text, ref StringItemInfo[] data, bool needData)

Parameters

index int
text string
data StringItemInfo[]
needData bool

Returns

int