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; }
public CacheBuffer(LargeFile largeFile) { _largeFile = largeFile; }