Finds the next new line character starting at offset.

C# | Visual Basic | Visual 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
public: 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.

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: 5.0.0.4238