Beispiel #1
0
 public HistorySessionTest()
 {
     _client = new Client()
     {
         HistoryList = new HistoryList(), RegisterMap = Vim.RegisterMap
     };
     _historySession = HistoryUtil.CreateHistorySession(_client, 0, "");
     _bindData       = _historySession.CreateBindDataStorage().CreateBindData();
 }
Beispiel #2
0
        public HistorySessionTest()
        {
            _client = new Client()
            {
                HistoryList = new HistoryList(), RegisterMap = Vim.RegisterMap
            };

            var vimBuffer = CreateVimBuffer();

            _historySession = HistoryUtil.CreateHistorySession(
                _client,
                0,
                EditableCommand.Empty,
                vimBuffer.VimTextBuffer.LocalAbbreviationMap,
                vimBuffer.MotionUtil);
            _bindData = _historySession.CreateBindDataStorage().CreateMappedBindData();
        }