Méthode | Description | |
---|---|---|
CacheIndentEngine ( |
Creates a new CacheIndentEngine instance from the given prototype.
|
|
CacheIndentEngine ( IStateMachineIndentEngine decoratedEngine, int cacheRate = 2000 ) : ICSharpCode.NRefactory.Editor |
Creates a new CacheIndentEngine instance.
|
|
Clone ( ) : IStateMachineIndentEngine | ||
GetEngine ( int offset ) : IStateMachineIndentEngine | ||
Push ( char ch ) : void | ||
Reset ( ) : void | ||
ResetEngineToPosition ( int offset ) : void |
Resets the engine to offset. Clears all cached engines after the given offset.
|
|
Update ( int position ) : void | If the position is negative, the engine will update to: document.TextLength + (offset % document.TextLength+1) Otherwise it will update to: offset % document.TextLength+1 |
Méthode | Description | |
---|---|---|
ICloneable ( ) : object | ||
IDocumentIndentEngine ( ) : IDocumentIndentEngine |
public CacheIndentEngine ( |
||
prototype | /// A CacheIndentEngine instance. /// | |
Résultat | ICSharpCode.NRefactory.Editor |
public CacheIndentEngine ( IStateMachineIndentEngine decoratedEngine, int cacheRate = 2000 ) : ICSharpCode.NRefactory.Editor | ||
decoratedEngine | IStateMachineIndentEngine |
/// An instance of |
cacheRate | int | /// The number of chars between caching. /// |
Résultat | ICSharpCode.NRefactory.Editor |
public Clone ( ) : IStateMachineIndentEngine | ||
Résultat | IStateMachineIndentEngine |
public GetEngine ( int offset ) : IStateMachineIndentEngine | ||
offset | int | |
Résultat | IStateMachineIndentEngine |
public ResetEngineToPosition ( int offset ) : void | ||
offset | int | |
Résultat | void |