Méthode | Description | |
---|---|---|
AvalonEditDocumentAdapter ( ) : System |
Creates a new document.
|
|
AvalonEditDocumentAdapter ( |
Creates a new AvalonEditDocumentAdapter instance.
|
|
CreateAnchor ( int offset ) : ITextAnchor | ||
CreateReader ( ) : System.IO.TextReader | ||
CreateReader ( int offset, int length ) : System.IO.TextReader | ||
CreateSnapshot ( ) : ITextBuffer | ||
CreateSnapshot ( int offset, int length ) : ITextBuffer | ||
EndUndoableAction ( ) : void | ||
GetCharAt ( int offset ) : char | ||
GetLine ( int lineNumber ) : IDocumentLine | ||
GetLineForOffset ( int offset ) : IDocumentLine | ||
GetService ( |
||
GetText ( int offset, int length ) : string | ||
Insert ( int offset, string text ) : void | ||
Insert ( int offset, string text, AnchorMovementType defaultAnchorMovementType ) : void | ||
OffsetToPosition ( int offset ) : Location | ||
OpenUndoGroup ( ) : IDisposable | ||
PositionToOffset ( int line, int column ) : int | ||
Remove ( int offset, int length ) : void | ||
Replace ( int offset, int length, string newText ) : void | ||
Replace ( int offset, int length, string newText, ICSharpCode defaultAnchorMovementType ) : void | ||
StartUndoableAction ( ) : void | ||
ToLocation ( TextLocation position ) : Location | ||
ToPosition ( Location location ) : TextLocation |
Méthode | Description | |
---|---|---|
AttachEvents ( ) : void | ||
DetachEvents ( ) : void | ||
document_Changed ( object sender, ICSharpCode.AvalonEdit.Document.DocumentChangeEventArgs e ) : void | ||
document_Changing ( object sender, ICSharpCode.AvalonEdit.Document.DocumentChangeEventArgs e ) : void |
public AvalonEditDocumentAdapter ( ) : System | ||
Résultat | System |
public AvalonEditDocumentAdapter ( |
||
document | The document to wrap. | |
parentServiceProvider | IServiceProvider | The service provider used for GetService calls. |
Résultat | System |
public CreateAnchor ( int offset ) : ITextAnchor | ||
offset | int | |
Résultat | ITextAnchor |
public CreateReader ( ) : System.IO.TextReader | ||
Résultat | System.IO.TextReader |
public CreateReader ( int offset, int length ) : System.IO.TextReader | ||
offset | int | |
length | int | |
Résultat | System.IO.TextReader |
public CreateSnapshot ( int offset, int length ) : ITextBuffer | ||
offset | int | |
length | int | |
Résultat | ITextBuffer |
public GetLine ( int lineNumber ) : IDocumentLine | ||
lineNumber | int | |
Résultat | IDocumentLine |
public GetLineForOffset ( int offset ) : IDocumentLine | ||
offset | int | |
Résultat | IDocumentLine |
public GetService ( |
||
serviceType | ||
Résultat | object |
public GetText ( int offset, int length ) : string | ||
offset | int | |
length | int | |
Résultat | string |
public Insert ( int offset, string text ) : void | ||
offset | int | |
text | string | |
Résultat | void |
public Insert ( int offset, string text, AnchorMovementType defaultAnchorMovementType ) : void | ||
offset | int | |
text | string | |
defaultAnchorMovementType | AnchorMovementType | |
Résultat | void |
public OffsetToPosition ( int offset ) : Location | ||
offset | int | |
Résultat | Location |
public PositionToOffset ( int line, int column ) : int | ||
line | int | |
column | int | |
Résultat | int |
public Remove ( int offset, int length ) : void | ||
offset | int | |
length | int | |
Résultat | void |
public Replace ( int offset, int length, string newText ) : void | ||
offset | int | |
length | int | |
newText | string | |
Résultat | void |
public Replace ( int offset, int length, string newText, ICSharpCode defaultAnchorMovementType ) : void | ||
offset | int | |
length | int | |
newText | string | |
defaultAnchorMovementType | ICSharpCode | |
Résultat | void |
public static ToLocation ( TextLocation position ) : Location | ||
position | TextLocation | |
Résultat | Location |
public static ToPosition ( Location location ) : TextLocation | ||
location | Location | |
Résultat | TextLocation |