Click or drag to resize

AsciiGlobalStructureAnalysisGetTabbedWordBounds Method

Gets the tabbed position for the start and end of all words in a line, assuming a certain tab width.

Namespace: Altaxo.Serialization.Ascii
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public List<int> GetTabbedWordBounds(
	string sLine,
	List<int> stringPositions,
	int tabSize
)

Parameters

sLine  String
Line to analyse.
stringPositions  ListInt32

[Missing <param name="stringPositions"/> documentation for "M:Altaxo.Serialization.Ascii.AsciiGlobalStructureAnalysis.GetTabbedWordBounds(System.String,System.Collections.Generic.List{System.Int32},System.Int32)"]

tabSize  Int32

[Missing <param name="tabSize"/> documentation for "M:Altaxo.Serialization.Ascii.AsciiGlobalStructureAnalysis.GetTabbedWordBounds(System.String,System.Collections.Generic.List{System.Int32},System.Int32)"]

Return Value

ListInt32
List of positions of the word starts and ends (ends=next position after the word). The list therefore always has an even number of members. If there is a word, the list starts always with the start position of the word, followed by the position of the first character after this word.
See Also