Esempio n. 1
0
        public void OpenFile(string path)
        {
            _largeFile = new LargeFile(path);
            CacheBuffer cacheBuffer = new CacheBuffer(_largeFile);

            _presentBuffer = new PresentBuffer(cacheBuffer);
            _presentBuffer.EncodingName = EncodingName;
            _presentBuffer.Read(0);
            Text = _presentBuffer.Text;
        }
Esempio n. 2
0
 public CacheBuffer(LargeFile largeFile)
 {
     _largeFile = largeFile;
 }