Beispiel #1
0
 public TextMateIndentationTracker(TextEditor editor)
 {
     this.editor          = editor;
     DocumentIndentEngine = new TextMateDocumentIndentEngine(editor);
     engine = new CacheIndentEngine(DocumentIndentEngine);
 }
Beispiel #2
0
 /// <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();
 }