C# Класс NetIde.Core.ToolWindows.TextEditor.NiTextLines

Наследование: NiTextBuffer, INiTextLines
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Advise ( INiTextLinesEvents sink, int &cookie ) : HResult
Advise ( object sink, int &cookie ) : HResult
CreateTextMarker ( NiTextMarkerType type, NiTextMarkerHatchStyle hatchStyle, bool extendToBorder, int color, int foreColor, int startLine, int startIndex, int endLine, int endIndex, INiTextMarker &textMarker ) : HResult
GetLineText ( int startLine, int startIndex, int endLine, int endIndex, string &result ) : HResult
NiTextLines ( ) : System
NiTextLines ( IDocument document ) : System
ReplaceLines ( int startLine, int startIndex, int endLine, int endIndex, string text ) : HResult
Unadvise ( int cookie ) : HResult

Приватные методы

Метод Описание
Document_DocumentChanged ( object sender, ICSharpCode.TextEditor.Document.DocumentEventArgs e ) : void
GetTextMarkerType ( NiTextMarkerType type, bool extendToBorder ) : TextMarkerType
TranslateOffset ( int startLine, int startIndex, int endLine, int endIndex ) : Range

Описание методов

Advise() публичный Метод

public Advise ( INiTextLinesEvents sink, int &cookie ) : HResult
sink INiTextLinesEvents
cookie int
Результат HResult

Advise() публичный Метод

public Advise ( object sink, int &cookie ) : HResult
sink object
cookie int
Результат HResult

CreateTextMarker() публичный Метод

public CreateTextMarker ( NiTextMarkerType type, NiTextMarkerHatchStyle hatchStyle, bool extendToBorder, int color, int foreColor, int startLine, int startIndex, int endLine, int endIndex, INiTextMarker &textMarker ) : HResult
type NiTextMarkerType
hatchStyle NiTextMarkerHatchStyle
extendToBorder bool
color int
foreColor int
startLine int
startIndex int
endLine int
endIndex int
textMarker INiTextMarker
Результат HResult

GetLineText() публичный Метод

public GetLineText ( int startLine, int startIndex, int endLine, int endIndex, string &result ) : HResult
startLine int
startIndex int
endLine int
endIndex int
result string
Результат HResult

NiTextLines() публичный Метод

public NiTextLines ( ) : System
Результат System

NiTextLines() публичный Метод

public NiTextLines ( IDocument document ) : System
document IDocument
Результат System

ReplaceLines() публичный Метод

public ReplaceLines ( int startLine, int startIndex, int endLine, int endIndex, string text ) : HResult
startLine int
startIndex int
endLine int
endIndex int
text string
Результат HResult

Unadvise() публичный Метод

public Unadvise ( int cookie ) : HResult
cookie int
Результат HResult