Method | Description | |
---|---|---|
CanBeSavedInCurrentEncoding ( this textBuffer ) : bool |
Checks if file contents can be saved to disk in the current encoding without data loss.
|
|
GetEncoding ( this textBuffer ) : |
Checks if file contents can be saved to disk in the current encoding without data loss.
|
|
GetFilePath ( this textBuffer ) : string | ||
IsContentEqualsOrdinal ( this textBuffer, ITrackingSpan span1, ITrackingSpan span2 ) : bool | ||
IsConververtibleTo ( this textBuffer, |
Checks if file contents can be represented in the specified encoding without data loss.
|
|
Save ( this textBuffer, |
||
ToTextDocument ( this textBuffer ) : ITextDocument |
public static CanBeSavedInCurrentEncoding ( this textBuffer ) : bool | ||
textBuffer | this | |
return | bool |
public static GetEncoding ( this textBuffer ) : |
||
textBuffer | this | |
return |
public static GetFilePath ( this textBuffer ) : string | ||
textBuffer | this | |
return | string |
public static IsContentEqualsOrdinal ( this textBuffer, ITrackingSpan span1, ITrackingSpan span2 ) : bool | ||
textBuffer | this | |
span1 | ITrackingSpan | |
span2 | ITrackingSpan | |
return | bool |
public static IsConververtibleTo ( this textBuffer, |
||
textBuffer | this | |
encoding | ||
return | bool |
public static Save ( this textBuffer, |
||
textBuffer | this | |
encoding | ||
return | void |
public static ToTextDocument ( this textBuffer ) : ITextDocument | ||
textBuffer | this | |
return | ITextDocument |