Method | 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 |
Method | Description | |
---|---|---|
ICloneable ( ) : object | ||
IDocumentIndentEngine ( ) : IDocumentIndentEngine |
public CacheIndentEngine ( |
||
prototype | /// A CacheIndentEngine instance. /// | |
return | 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. /// |
return | ICSharpCode.NRefactory.Editor |
public GetEngine ( int offset ) : IStateMachineIndentEngine | ||
offset | int | |
return | IStateMachineIndentEngine |
public ResetEngineToPosition ( int offset ) : void | ||
offset | int | |
return | void |