C# 클래스 Mono.TextEditor.TextDocument

상속: AbstractAnnotatable, IBuffer, ICSharpCode.NRefactory.Editor.IDocument
파일 보기 프로젝트 열기: powerumc/monodevelop_korean 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
diffTracker DiffTracker

Private Properties

프로퍼티 타입 설명
BeginAtomicUndo void
CompareMarkers int
EndAtomicUndo void
GetDiffCodes int[]
HandleFoldSegmentTreetreeNodeRemoved void
HandleSplitterLineSegmentTreeLineRemoved void
ICSharpCode ICSharpCode.NRefactory.TextLocation
ICSharpCode ICSharpCode.NRefactory.Editor.IDocument
ICSharpCode ICSharpCode.NRefactory.Editor.IDocumentLine
ICSharpCode ICSharpCode.NRefactory.Editor.ITextAnchor
ICSharpCode ICSharpCode.NRefactory.Editor.ITextSource
ICSharpCode int
ICSharpCode string
ICSharpCode void
ICSharpCode void
ICSharpCode void
ICSharpCode void
ICSharpCode void
ICSharpCode void
ICSharpCode void
ICSharpCode void
IServiceProvider object
InformFoldChanged void
InformFoldTreeUpdated void
InterruptFoldWorker void
RemoveFolding void
SearchMatchingBracketBackward int
SearchMatchingBracketForward int
UpdateFoldSegmentWorker HashSet

공개 메소드들

메소드 설명
AddMarker ( Mono.TextEditor.DocumentLine line, Mono.TextEditor.TextLineMarker marker ) : void
AddMarker ( Mono.TextEditor.DocumentLine line, Mono.TextEditor.TextLineMarker marker, bool commitUpdate ) : void
AddMarker ( Mono.TextEditor.TextSegmentMarker marker ) : void
AddMarker ( int lineNumber, Mono.TextEditor.TextLineMarker marker ) : void
ClearFoldSegments ( ) : void
ClearUndoBuffer ( ) : void
CommitDocumentUpdate ( ) : void
CommitLineUpdate ( Mono.TextEditor.DocumentLine line ) : void
CommitLineUpdate ( int line ) : void
CommitMultipleLineUpdate ( int start, int end ) : void
CommitUpdateAll ( ) : void
Contains ( TextSegment segment ) : bool
Contains ( int offset ) : bool
CopyTo ( int sourceIndex, char destination, int destinationIndex, int count ) : void
CreateDocumentSnapshot ( ) : TextDocument
CreateImmutableDocument ( string text, bool suppressHighlighting = true ) : TextDocument
CreateReader ( ) : System.IO.TextReader
CreateReader ( int offset, int length ) : System.IO.TextReader
CreateSnapshot ( int offset, int length ) : ICSharpCode.NRefactory.Editor.ITextSource
Diff ( TextDocument changedDocument, bool includeEol = true ) : IEnumerable
EnsureOffsetIsUnfolded ( int offset ) : void
EnsureSegmentIsUnfolded ( int offset, int length ) : void
GetCharAt ( Mono.TextEditor.DocumentLocation location ) : char
GetCharAt ( int offset ) : char
GetCharAt ( int line, int column ) : char
GetCharacterClass ( char ch ) : CharacterClass
GetCurrentUndoDepth ( ) : int
GetEndFoldings ( Mono.TextEditor.DocumentLine line ) : IEnumerable
GetEndFoldings ( int lineNumber ) : IEnumerable
GetEndFoldings ( int offset, int length ) : IEnumerable
GetExtendingTextMarker ( int lineNumber ) : IExtendingTextLineMarker
GetFoldingContaining ( Mono.TextEditor.DocumentLine line ) : IEnumerable
GetFoldingContaining ( int lineNumber ) : IEnumerable
GetFoldingContaining ( int offset, int length ) : IEnumerable
GetFoldingsFromOffset ( int offset ) : IEnumerable
GetImmutableText ( ) : Mono.TextEditor.Utils.ImmutableText
GetImmutableText ( int offset, int count ) : Mono.TextEditor.Utils.ImmutableText
GetLine ( int lineNumber ) : Mono.TextEditor.DocumentLine
GetLineByOffset ( int offset ) : Mono.TextEditor.DocumentLine
GetLineCount ( Mono.TextEditor.FoldSegment segment ) : int
GetLineIndent ( Mono.TextEditor.DocumentLine segment ) : string
GetLineIndent ( int lineNumber ) : string
GetLineState ( Mono.TextEditor.DocumentLine line ) : LineState
GetLineText ( int line ) : string

Gets the line text without the delimiter.

GetLineText ( int line, bool includeDelimiter ) : string
GetLinesBetween ( int startLine, int endLine ) : IEnumerable
GetLinesReverseStartingAt ( int startLine ) : IEnumerable
GetLinesStartingAt ( int startLine ) : IEnumerable
GetMatchingBracketOffset ( System worker, int offset ) : int
GetMatchingBracketOffset ( int offset ) : int
GetOffset ( ICSharpCode location ) : int
GetStartFoldings ( Mono.TextEditor.DocumentLine line ) : IEnumerable
GetStartFoldings ( int lineNumber ) : IEnumerable
GetStartFoldings ( int offset, int length ) : IEnumerable
GetText ( ICSharpCode segment ) : string
GetTextAt ( DocumentRegion region ) : string
GetTextAt ( TextSegment segment ) : string
GetTextAt ( int offset, int count ) : string
GetTextBetween ( Mono.TextEditor.DocumentLocation start, Mono.TextEditor.DocumentLocation end ) : string
GetTextBetween ( int startOffset, int endOffset ) : string
GetTextBetween ( int startLine, int startColumn, int endLine, int endColumn ) : string
GetTextSegmentMarkersAt ( Mono.TextEditor.DocumentLine line ) : IEnumerable
GetTextSegmentMarkersAt ( TextSegment segment ) : IEnumerable
GetTextSegmentMarkersAt ( int offset ) : IEnumerable
IndexOf ( char c, int startIndex, int count ) : int

Gets the index of the first occurrence of the character in the specified array.

IndexOf ( string searchText, int startIndex, int count, StringComparison comparisonType ) : int

Gets the index of the first occurrence of the specified search text in this text source.

IndexOfAny ( char anyOf, int startIndex, int count ) : int

Gets the index of the first occurrence of any character in the specified array.

InformLoadComplete ( ) : void

Informs the document when the content is loaded. All outstanding actions are executed.

Insert ( int offset, string text, ICSharpCode anchorMovementType = AnchorMovementType.Default ) : void
IsBracket ( char ch ) : bool
IsEmptyLine ( DocumentLine line ) : bool
IsWholeWordAt ( int offset, int length ) : bool
IsWordSeparator ( char ch ) : bool
LastIndexOf ( char c, int startIndex, int count ) : int

Gets the index of the last occurrence of the specified character in this text source.

The search proceeds backwards from (startIndex+count) to startIndex. This is different than the meaning of the parameters on string.LastIndexOf!

LastIndexOf ( string searchText, int startIndex, int count, StringComparison comparisonType ) : int

Gets the index of the last occurrence of the specified search text in this text source.

The search proceeds backwards from (startIndex+count) to startIndex. This is different than the meaning of the parameters on string.LastIndexOf!

LocationToOffset ( DocumentLocation location ) : int
LocationToOffset ( int line, int column ) : int
MergeUndoOperations ( int number ) : void
OffsetToLineNumber ( int offset ) : int
OffsetToLocation ( int offset ) : DocumentLocation
OpenUndoGroup ( ) : IDisposable
OpenUndoGroup ( OperationType operationType ) : IDisposable
OptimizeTypedUndo ( ) : void
OrderTextSegmentMarkersByInsertion ( IEnumerable enumerable ) : IEnumerable
Redo ( ) : void
RegisterVirtualTextMarker ( int lineNumber, IExtendingTextLineMarker marker ) : void
Remove ( TextSegment segment ) : void
Remove ( int offset, int count ) : void
RemoveMarker ( TextSegmentMarker marker ) : bool

Removes a marker from the document.

RemoveMarker ( DocumentLine line, Type type ) : void
RemoveMarker ( DocumentLine line, Type type, bool updateLine ) : void
RemoveMarker ( TextLineMarker marker ) : void
RemoveMarker ( TextLineMarker marker, bool updateLine ) : void
RemoveMarker ( int lineNumber, Type type ) : void
RemoveTrailingWhitespaces ( TextEditorData data, DocumentLine line ) : void
Replace ( int offset, int count, string value ) : void
Replace ( int offset, int count, string value, ICSharpCode anchorMovementType = AnchorMovementType.Default ) : void
RequestUpdate ( DocumentUpdateRequest request ) : void
RollbackTo ( ICSharpCode version ) : void
RunWhenLoaded ( Action action ) : void

Performs an action when the content is loaded.

SetNotDirtyState ( ) : void

Marks the document not dirty at this point (should be called after save).

StackUndoToDepth ( int depth ) : void
TextDocument ( ) : System
TextDocument ( string text ) : System
UnRegisterVirtualTextMarker ( IExtendingTextLineMarker marker ) : void

un register virtual text marker.

Undo ( ) : void
UpdateFoldSegments ( List newSegments, bool startTask = false, bool useApplicationInvoke = false, CancellationToken masterToken = default(CancellationToken) ) : void
WaitForFoldUpdateFinished ( ) : void

보호된 메소드들

메소드 설명
OnBeforeUndoOperation ( EventArgs e ) : void
OnBeginUndo ( ) : void
OnEndUndo ( UndoOperationEventArgs e ) : void
OnFileNameChanged ( EventArgs e ) : void
OnMarkerAdded ( TextMarkerEvent e ) : void
OnMarkerRemoved ( TextMarkerEvent e ) : void
OnMimeTypeChanged ( EventArgs e ) : void
OnRedone ( UndoOperationEventArgs e ) : void
OnSyntaxModeChanged ( SyntaxModeChangeEventArgs e ) : void
OnTextReplaced ( DocumentChangeEventArgs args ) : void
OnTextReplacing ( DocumentChangeEventArgs args ) : void
OnTextSet ( EventArgs e ) : void
OnUndone ( UndoOperationEventArgs e ) : void
TextDocument ( ImmutableText buffer, ILineSplitter splitter ) : System

비공개 메소드들

메소드 설명
BeginAtomicUndo ( OperationType operationType = OperationType.Undefined ) : void
CompareMarkers ( Mono.TextEditor.TextLineMarker left, Mono.TextEditor.TextLineMarker right ) : int
EndAtomicUndo ( ) : void
GetDiffCodes ( int &codeCounter, int>.Dictionary codeDictionary, bool includeEol ) : int[]
HandleFoldSegmentTreetreeNodeRemoved ( object sender, RedBlackTree e ) : void
HandleSplitterLineSegmentTreeLineRemoved ( object sender, Mono.TextEditor.LineEventArgs e ) : void
ICSharpCode ( int offset ) : ICSharpCode.NRefactory.TextLocation
ICSharpCode ( ) : ICSharpCode.NRefactory.Editor.IDocument
ICSharpCode ( int lineNumber ) : ICSharpCode.NRefactory.Editor.IDocumentLine
ICSharpCode ( int offset ) : ICSharpCode.NRefactory.Editor.ITextAnchor
ICSharpCode ( ) : ICSharpCode.NRefactory.Editor.ITextSource
ICSharpCode ( int line, int column ) : int
ICSharpCode ( int offset, int length ) : string
ICSharpCode ( ) : void
ICSharpCode ( System writer ) : void
ICSharpCode ( System writer, int offset, int length ) : void
ICSharpCode ( int offset, ITextSource text ) : void
ICSharpCode ( int offset, ITextSource text, AnchorMovementType anchorMovementType ) : void
ICSharpCode ( int offset, int count, ITextSource text ) : void
ICSharpCode ( int offset, string text ) : void
ICSharpCode ( int offset, string text, AnchorMovementType anchorMovementType ) : void
IServiceProvider ( Type serviceType ) : object
InformFoldChanged ( FoldSegmentEventArgs args ) : void
InformFoldTreeUpdated ( ) : void
InterruptFoldWorker ( ) : void
RemoveFolding ( FoldSegment folding ) : void
SearchMatchingBracketBackward ( System worker, int offset, int bracket ) : int
SearchMatchingBracketForward ( System worker, int offset, int bracket ) : int
UpdateFoldSegmentWorker ( List newSegments, bool &update, CancellationToken token = default(CancellationToken) ) : HashSet

Updates the fold segments in a background worker thread. Don't call this method outside of a background worker. Use UpdateFoldSegments instead.

메소드 상세

AddMarker() 공개 메소드

public AddMarker ( Mono.TextEditor.DocumentLine line, Mono.TextEditor.TextLineMarker marker ) : void
line Mono.TextEditor.DocumentLine
marker Mono.TextEditor.TextLineMarker
리턴 void

AddMarker() 공개 메소드

public AddMarker ( Mono.TextEditor.DocumentLine line, Mono.TextEditor.TextLineMarker marker, bool commitUpdate ) : void
line Mono.TextEditor.DocumentLine
marker Mono.TextEditor.TextLineMarker
commitUpdate bool
리턴 void

AddMarker() 공개 메소드

public AddMarker ( Mono.TextEditor.TextSegmentMarker marker ) : void
marker Mono.TextEditor.TextSegmentMarker
리턴 void

AddMarker() 공개 메소드

public AddMarker ( int lineNumber, Mono.TextEditor.TextLineMarker marker ) : void
lineNumber int
marker Mono.TextEditor.TextLineMarker
리턴 void

ClearFoldSegments() 공개 메소드

public ClearFoldSegments ( ) : void
리턴 void

ClearUndoBuffer() 공개 메소드

public ClearUndoBuffer ( ) : void
리턴 void

CommitDocumentUpdate() 공개 메소드

public CommitDocumentUpdate ( ) : void
리턴 void

CommitLineUpdate() 공개 메소드

public CommitLineUpdate ( Mono.TextEditor.DocumentLine line ) : void
line Mono.TextEditor.DocumentLine
리턴 void

CommitLineUpdate() 공개 메소드

public CommitLineUpdate ( int line ) : void
line int
리턴 void

CommitMultipleLineUpdate() 공개 메소드

public CommitMultipleLineUpdate ( int start, int end ) : void
start int
end int
리턴 void

CommitUpdateAll() 공개 메소드

public CommitUpdateAll ( ) : void
리턴 void

Contains() 공개 메소드

public Contains ( TextSegment segment ) : bool
segment TextSegment
리턴 bool

Contains() 공개 메소드

public Contains ( int offset ) : bool
offset int
리턴 bool

CopyTo() 공개 메소드

public CopyTo ( int sourceIndex, char destination, int destinationIndex, int count ) : void
sourceIndex int
destination char
destinationIndex int
count int
리턴 void

CreateDocumentSnapshot() 공개 메소드

public CreateDocumentSnapshot ( ) : TextDocument
리턴 TextDocument

CreateImmutableDocument() 공개 정적인 메소드

public static CreateImmutableDocument ( string text, bool suppressHighlighting = true ) : TextDocument
text string
suppressHighlighting bool
리턴 TextDocument

CreateReader() 공개 메소드

public CreateReader ( ) : System.IO.TextReader
리턴 System.IO.TextReader

CreateReader() 공개 메소드

public CreateReader ( int offset, int length ) : System.IO.TextReader
offset int
length int
리턴 System.IO.TextReader

CreateSnapshot() 공개 메소드

public CreateSnapshot ( int offset, int length ) : ICSharpCode.NRefactory.Editor.ITextSource
offset int
length int
리턴 ICSharpCode.NRefactory.Editor.ITextSource

Diff() 공개 메소드

public Diff ( TextDocument changedDocument, bool includeEol = true ) : IEnumerable
changedDocument TextDocument
includeEol bool
리턴 IEnumerable

EnsureOffsetIsUnfolded() 공개 메소드

public EnsureOffsetIsUnfolded ( int offset ) : void
offset int
리턴 void

EnsureSegmentIsUnfolded() 공개 메소드

public EnsureSegmentIsUnfolded ( int offset, int length ) : void
offset int
length int
리턴 void

GetCharAt() 공개 메소드

public GetCharAt ( Mono.TextEditor.DocumentLocation location ) : char
location Mono.TextEditor.DocumentLocation
리턴 char

GetCharAt() 공개 메소드

public GetCharAt ( int offset ) : char
offset int
리턴 char

GetCharAt() 공개 메소드

public GetCharAt ( int line, int column ) : char
line int
column int
리턴 char

GetCharacterClass() 공개 정적인 메소드

public static GetCharacterClass ( char ch ) : CharacterClass
ch char
리턴 CharacterClass

GetCurrentUndoDepth() 공개 메소드

public GetCurrentUndoDepth ( ) : int
리턴 int

GetEndFoldings() 공개 메소드

public GetEndFoldings ( Mono.TextEditor.DocumentLine line ) : IEnumerable
line Mono.TextEditor.DocumentLine
리턴 IEnumerable

GetEndFoldings() 공개 메소드

public GetEndFoldings ( int lineNumber ) : IEnumerable
lineNumber int
리턴 IEnumerable

GetEndFoldings() 공개 메소드

public GetEndFoldings ( int offset, int length ) : IEnumerable
offset int
length int
리턴 IEnumerable

GetExtendingTextMarker() 공개 메소드

public GetExtendingTextMarker ( int lineNumber ) : IExtendingTextLineMarker
lineNumber int
리턴 IExtendingTextLineMarker

GetFoldingContaining() 공개 메소드

public GetFoldingContaining ( Mono.TextEditor.DocumentLine line ) : IEnumerable
line Mono.TextEditor.DocumentLine
리턴 IEnumerable

GetFoldingContaining() 공개 메소드

public GetFoldingContaining ( int lineNumber ) : IEnumerable
lineNumber int
리턴 IEnumerable

GetFoldingContaining() 공개 메소드

public GetFoldingContaining ( int offset, int length ) : IEnumerable
offset int
length int
리턴 IEnumerable

GetFoldingsFromOffset() 공개 메소드

public GetFoldingsFromOffset ( int offset ) : IEnumerable
offset int
리턴 IEnumerable

GetImmutableText() 공개 메소드

public GetImmutableText ( ) : Mono.TextEditor.Utils.ImmutableText
리턴 Mono.TextEditor.Utils.ImmutableText

GetImmutableText() 공개 메소드

public GetImmutableText ( int offset, int count ) : Mono.TextEditor.Utils.ImmutableText
offset int
count int
리턴 Mono.TextEditor.Utils.ImmutableText

GetLine() 공개 메소드

public GetLine ( int lineNumber ) : Mono.TextEditor.DocumentLine
lineNumber int
리턴 Mono.TextEditor.DocumentLine

GetLineByOffset() 공개 메소드

public GetLineByOffset ( int offset ) : Mono.TextEditor.DocumentLine
offset int
리턴 Mono.TextEditor.DocumentLine

GetLineCount() 공개 메소드

public GetLineCount ( Mono.TextEditor.FoldSegment segment ) : int
segment Mono.TextEditor.FoldSegment
리턴 int

GetLineIndent() 공개 메소드

public GetLineIndent ( Mono.TextEditor.DocumentLine segment ) : string
segment Mono.TextEditor.DocumentLine
리턴 string

GetLineIndent() 공개 메소드

public GetLineIndent ( int lineNumber ) : string
lineNumber int
리턴 string

GetLineState() 공개 메소드

public GetLineState ( Mono.TextEditor.DocumentLine line ) : LineState
line Mono.TextEditor.DocumentLine
리턴 LineState

GetLineText() 공개 메소드

Gets the line text without the delimiter.
public GetLineText ( int line ) : string
line int /// The line number. ///
리턴 string

GetLineText() 공개 메소드

public GetLineText ( int line, bool includeDelimiter ) : string
line int
includeDelimiter bool
리턴 string

GetLinesBetween() 공개 메소드

public GetLinesBetween ( int startLine, int endLine ) : IEnumerable
startLine int
endLine int
리턴 IEnumerable

GetLinesReverseStartingAt() 공개 메소드

public GetLinesReverseStartingAt ( int startLine ) : IEnumerable
startLine int
리턴 IEnumerable

GetLinesStartingAt() 공개 메소드

public GetLinesStartingAt ( int startLine ) : IEnumerable
startLine int
리턴 IEnumerable

GetMatchingBracketOffset() 공개 메소드

public GetMatchingBracketOffset ( System worker, int offset ) : int
worker System
offset int
리턴 int

GetMatchingBracketOffset() 공개 메소드

public GetMatchingBracketOffset ( int offset ) : int
offset int
리턴 int

GetOffset() 공개 메소드

public GetOffset ( ICSharpCode location ) : int
location ICSharpCode
리턴 int

GetStartFoldings() 공개 메소드

public GetStartFoldings ( Mono.TextEditor.DocumentLine line ) : IEnumerable
line Mono.TextEditor.DocumentLine
리턴 IEnumerable

GetStartFoldings() 공개 메소드

public GetStartFoldings ( int lineNumber ) : IEnumerable
lineNumber int
리턴 IEnumerable

GetStartFoldings() 공개 메소드

public GetStartFoldings ( int offset, int length ) : IEnumerable
offset int
length int
리턴 IEnumerable

GetText() 공개 메소드

public GetText ( ICSharpCode segment ) : string
segment ICSharpCode
리턴 string

GetTextAt() 공개 메소드

public GetTextAt ( DocumentRegion region ) : string
region DocumentRegion
리턴 string

GetTextAt() 공개 메소드

public GetTextAt ( TextSegment segment ) : string
segment TextSegment
리턴 string

GetTextAt() 공개 메소드

public GetTextAt ( int offset, int count ) : string
offset int
count int
리턴 string

GetTextBetween() 공개 메소드

public GetTextBetween ( Mono.TextEditor.DocumentLocation start, Mono.TextEditor.DocumentLocation end ) : string
start Mono.TextEditor.DocumentLocation
end Mono.TextEditor.DocumentLocation
리턴 string

GetTextBetween() 공개 메소드

public GetTextBetween ( int startOffset, int endOffset ) : string
startOffset int
endOffset int
리턴 string

GetTextBetween() 공개 메소드

public GetTextBetween ( int startLine, int startColumn, int endLine, int endColumn ) : string
startLine int
startColumn int
endLine int
endColumn int
리턴 string

GetTextSegmentMarkersAt() 공개 메소드

public GetTextSegmentMarkersAt ( Mono.TextEditor.DocumentLine line ) : IEnumerable
line Mono.TextEditor.DocumentLine
리턴 IEnumerable

GetTextSegmentMarkersAt() 공개 메소드

public GetTextSegmentMarkersAt ( TextSegment segment ) : IEnumerable
segment TextSegment
리턴 IEnumerable

GetTextSegmentMarkersAt() 공개 메소드

public GetTextSegmentMarkersAt ( int offset ) : IEnumerable
offset int
리턴 IEnumerable

IndexOf() 공개 메소드

Gets the index of the first occurrence of the character in the specified array.
public IndexOf ( char c, int startIndex, int count ) : int
c char Character to search for
startIndex int Start index of the area to search.
count int Length of the area to search.
리턴 int

IndexOf() 공개 메소드

Gets the index of the first occurrence of the specified search text in this text source.
public IndexOf ( string searchText, int startIndex, int count, StringComparison comparisonType ) : int
searchText string The search text
startIndex int Start index of the area to search.
count int Length of the area to search.
comparisonType StringComparison String comparison to use.
리턴 int

IndexOfAny() 공개 메소드

Gets the index of the first occurrence of any character in the specified array.
public IndexOfAny ( char anyOf, int startIndex, int count ) : int
anyOf char Characters to search for
startIndex int Start index of the area to search.
count int Length of the area to search.
리턴 int

InformLoadComplete() 공개 메소드

Informs the document when the content is loaded. All outstanding actions are executed.
public InformLoadComplete ( ) : void
리턴 void

Insert() 공개 메소드

public Insert ( int offset, string text, ICSharpCode anchorMovementType = AnchorMovementType.Default ) : void
offset int
text string
anchorMovementType ICSharpCode
리턴 void

IsBracket() 공개 정적인 메소드

public static IsBracket ( char ch ) : bool
ch char
리턴 bool

IsEmptyLine() 공개 메소드

public IsEmptyLine ( DocumentLine line ) : bool
line DocumentLine
리턴 bool

IsWholeWordAt() 공개 메소드

public IsWholeWordAt ( int offset, int length ) : bool
offset int
length int
리턴 bool

IsWordSeparator() 공개 정적인 메소드

public static IsWordSeparator ( char ch ) : bool
ch char
리턴 bool

LastIndexOf() 공개 메소드

Gets the index of the last occurrence of the specified character in this text source.
The search proceeds backwards from (startIndex+count) to startIndex. This is different than the meaning of the parameters on string.LastIndexOf!
public LastIndexOf ( char c, int startIndex, int count ) : int
c char The search character
startIndex int Start index of the area to search.
count int Length of the area to search.
리턴 int

LastIndexOf() 공개 메소드

Gets the index of the last occurrence of the specified search text in this text source.
The search proceeds backwards from (startIndex+count) to startIndex. This is different than the meaning of the parameters on string.LastIndexOf!
public LastIndexOf ( string searchText, int startIndex, int count, StringComparison comparisonType ) : int
searchText string The search text
startIndex int Start index of the area to search.
count int Length of the area to search.
comparisonType StringComparison String comparison to use.
리턴 int

LocationToOffset() 공개 메소드

public LocationToOffset ( DocumentLocation location ) : int
location DocumentLocation
리턴 int

LocationToOffset() 공개 메소드

public LocationToOffset ( int line, int column ) : int
line int
column int
리턴 int

MergeUndoOperations() 공개 메소드

public MergeUndoOperations ( int number ) : void
number int
리턴 void

OffsetToLineNumber() 공개 메소드

public OffsetToLineNumber ( int offset ) : int
offset int
리턴 int

OffsetToLocation() 공개 메소드

public OffsetToLocation ( int offset ) : DocumentLocation
offset int
리턴 DocumentLocation

OnBeforeUndoOperation() 보호된 메소드

protected OnBeforeUndoOperation ( EventArgs e ) : void
e EventArgs
리턴 void

OnBeginUndo() 보호된 메소드

protected OnBeginUndo ( ) : void
리턴 void

OnEndUndo() 보호된 메소드

protected OnEndUndo ( UndoOperationEventArgs e ) : void
e UndoOperationEventArgs
리턴 void

OnFileNameChanged() 보호된 메소드

protected OnFileNameChanged ( EventArgs e ) : void
e EventArgs
리턴 void

OnMarkerAdded() 보호된 메소드

protected OnMarkerAdded ( TextMarkerEvent e ) : void
e TextMarkerEvent
리턴 void

OnMarkerRemoved() 보호된 메소드

protected OnMarkerRemoved ( TextMarkerEvent e ) : void
e TextMarkerEvent
리턴 void

OnMimeTypeChanged() 보호된 메소드

protected OnMimeTypeChanged ( EventArgs e ) : void
e EventArgs
리턴 void

OnRedone() 보호된 메소드

protected OnRedone ( UndoOperationEventArgs e ) : void
e UndoOperationEventArgs
리턴 void

OnSyntaxModeChanged() 보호된 메소드

protected OnSyntaxModeChanged ( SyntaxModeChangeEventArgs e ) : void
e SyntaxModeChangeEventArgs
리턴 void

OnTextReplaced() 보호된 메소드

protected OnTextReplaced ( DocumentChangeEventArgs args ) : void
args DocumentChangeEventArgs
리턴 void

OnTextReplacing() 보호된 메소드

protected OnTextReplacing ( DocumentChangeEventArgs args ) : void
args DocumentChangeEventArgs
리턴 void

OnTextSet() 보호된 메소드

protected OnTextSet ( EventArgs e ) : void
e EventArgs
리턴 void

OnUndone() 보호된 메소드

protected OnUndone ( UndoOperationEventArgs e ) : void
e UndoOperationEventArgs
리턴 void

OpenUndoGroup() 공개 메소드

public OpenUndoGroup ( ) : IDisposable
리턴 IDisposable

OpenUndoGroup() 공개 메소드

public OpenUndoGroup ( OperationType operationType ) : IDisposable
operationType OperationType
리턴 IDisposable

OptimizeTypedUndo() 공개 메소드

public OptimizeTypedUndo ( ) : void
리턴 void

OrderTextSegmentMarkersByInsertion() 공개 정적인 메소드

public static OrderTextSegmentMarkersByInsertion ( IEnumerable enumerable ) : IEnumerable
enumerable IEnumerable
리턴 IEnumerable

Redo() 공개 메소드

public Redo ( ) : void
리턴 void

RegisterVirtualTextMarker() 공개 메소드

public RegisterVirtualTextMarker ( int lineNumber, IExtendingTextLineMarker marker ) : void
lineNumber int
marker IExtendingTextLineMarker
리턴 void

Remove() 공개 메소드

public Remove ( TextSegment segment ) : void
segment TextSegment
리턴 void

Remove() 공개 메소드

public Remove ( int offset, int count ) : void
offset int
count int
리턴 void

RemoveMarker() 공개 메소드

Removes a marker from the document.
public RemoveMarker ( TextSegmentMarker marker ) : bool
marker TextSegmentMarker Marker.
리턴 bool

RemoveMarker() 공개 메소드

public RemoveMarker ( DocumentLine line, Type type ) : void
line DocumentLine
type Type
리턴 void

RemoveMarker() 공개 메소드

public RemoveMarker ( DocumentLine line, Type type, bool updateLine ) : void
line DocumentLine
type Type
updateLine bool
리턴 void

RemoveMarker() 공개 메소드

public RemoveMarker ( TextLineMarker marker ) : void
marker TextLineMarker
리턴 void

RemoveMarker() 공개 메소드

public RemoveMarker ( TextLineMarker marker, bool updateLine ) : void
marker TextLineMarker
updateLine bool
리턴 void

RemoveMarker() 공개 메소드

public RemoveMarker ( int lineNumber, Type type ) : void
lineNumber int
type Type
리턴 void

RemoveTrailingWhitespaces() 공개 정적인 메소드

public static RemoveTrailingWhitespaces ( TextEditorData data, DocumentLine line ) : void
data TextEditorData
line DocumentLine
리턴 void

Replace() 공개 메소드

public Replace ( int offset, int count, string value ) : void
offset int
count int
value string
리턴 void

Replace() 공개 메소드

public Replace ( int offset, int count, string value, ICSharpCode anchorMovementType = AnchorMovementType.Default ) : void
offset int
count int
value string
anchorMovementType ICSharpCode
리턴 void

RequestUpdate() 공개 메소드

public RequestUpdate ( DocumentUpdateRequest request ) : void
request DocumentUpdateRequest
리턴 void

RollbackTo() 공개 메소드

public RollbackTo ( ICSharpCode version ) : void
version ICSharpCode
리턴 void

RunWhenLoaded() 공개 메소드

Performs an action when the content is loaded.
public RunWhenLoaded ( Action action ) : void
action Action /// The action to run. ///
리턴 void

SetNotDirtyState() 공개 메소드

Marks the document not dirty at this point (should be called after save).
public SetNotDirtyState ( ) : void
리턴 void

StackUndoToDepth() 공개 메소드

public StackUndoToDepth ( int depth ) : void
depth int
리턴 void

TextDocument() 공개 메소드

public TextDocument ( ) : System
리턴 System

TextDocument() 보호된 메소드

protected TextDocument ( ImmutableText buffer, ILineSplitter splitter ) : System
buffer ImmutableText
splitter ILineSplitter
리턴 System

TextDocument() 공개 메소드

public TextDocument ( string text ) : System
text string
리턴 System

UnRegisterVirtualTextMarker() 공개 메소드

un register virtual text marker.
public UnRegisterVirtualTextMarker ( IExtendingTextLineMarker marker ) : void
marker IExtendingTextLineMarker /// marker. ///
리턴 void

Undo() 공개 메소드

public Undo ( ) : void
리턴 void

UpdateFoldSegments() 공개 메소드

public UpdateFoldSegments ( List newSegments, bool startTask = false, bool useApplicationInvoke = false, CancellationToken masterToken = default(CancellationToken) ) : void
newSegments List
startTask bool
useApplicationInvoke bool
masterToken CancellationToken
리턴 void

WaitForFoldUpdateFinished() 공개 메소드

public WaitForFoldUpdateFinished ( ) : void
리턴 void

프로퍼티 상세

diffTracker 공개적으로 프로퍼티

public DiffTracker diffTracker
리턴 DiffTracker