public TextMateIndentationTracker(TextEditor editor) { this.editor = editor; DocumentIndentEngine = new TextMateDocumentIndentEngine(editor); engine = new CacheIndentEngine(DocumentIndentEngine); }
/// <summary> /// Creates a new CacheIndentEngine instance from the given prototype. /// </summary> /// <param name="prototype"> /// A CacheIndentEngine instance. /// </param> public CacheIndentEngine(CacheIndentEngine prototype) { currentEngine = prototype.currentEngine.Clone(); }