public void Initialize()
		{
			_tokenizer = new Tokenizer();
			_tokenizedBufferEntity = new Entity<LinkedList<Token>>();
			_textBuffer = MockRepository.GenerateStub<ITextBufferAdapter>();
			_finder = new MatchingBraceFinder(_textBuffer, _tokenizedBufferEntity);
		}
 public void Initialize()
 {
     _tokenizer = new Tokenizer();
     _tokenizedBufferEntity = new Entity<LinkedList<Token>>();
     _textBuffer = MockRepository.GenerateStub<ITextBufferAdapter>();
     _formatter = new AutoFormatter(_textBuffer, _tokenizedBufferEntity);
 }
 public void Initialize()
 {
     _tokenizer = new Tokenizer();
     _tokenizedBufferEntity = new Entity<LinkedList<Token>>();
     _clojureSmartIndent = new ClojureSmartIndent(_tokenizedBufferEntity);
     _defaultOptions = new EditorOptions(4);
 }
		public void Initialize()
		{
			_tokenizer = new Tokenizer();
			_tokenizedBufferEntity = new Entity<LinkedList<Token>>();
			_textBuffer = MockRepository.GenerateStub<ITextBufferAdapter>();

			_bufferTextChangeHandler = new BufferTextChangeHandler(
				_textBuffer,
				_tokenizedBufferEntity);

			_bufferTextChangeHandler.TokenChanged += MockRepository.GenerateStub<EventHandler<TokenChangedEventArgs>>();
		}
 public TokenizedBufferBuilder(Tokenizer tokenizer)
 {
     _tokenizer = tokenizer;
 }
		public void Initialize()
		{
			_tokenizer = new Tokenizer();
			_parser = new NamespaceParser(new List<string>() {"ns"});
		}