FindNextNewLine Method (text, offset, newLineType)
NamespacesICSharpCode.AvalonEdit.DocumentTextUtilitiesFindNextNewLine(ITextSource, Int32, String%)
Finds the next new line character starting at offset.
Declaration Syntax
C#Visual BasicVisual C++
public static int FindNextNewLine(
	ITextSource text,
	int offset,
	out string newLineType
Public Shared Function FindNextNewLine ( _
	text As ITextSource, _
	offset As Integer, _
	<OutAttribute> ByRef newLineType As String _
) As Integer
static int FindNextNewLine(
	ITextSource^ text, 
	int offset, 
	[OutAttribute] String^% newLineType
text (ITextSource)
The text source to search in.
offset (Int32)
The starting offset for the search.
newLineType (String%)
The string representing the new line that was found, or null if no new line was found.
Return Value
The position of the first new line starting at or after offset, or -1 if no new line was found.

Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: