public void SetContentLines(int contentLines)
        {
            DocInfoDataModel docInfoData = _docInfoCacheRepository.GetItem();

            docInfoData.ContentInfo.Lines = contentLines;

            _docInfoCacheRepository.SetItem(docInfoData);
        }
        public void SetUnmodifiedDocumentState()
        {
            DocInfoDataModel docInfoData = _docInfoCacheRepository.GetItem();

            docInfoData.DocumentState = DocumentState.Unmodified;

            _docInfoCacheRepository.SetItem(docInfoData);
        }
        public void SetContentLength(int contentLength)
        {
            DocInfoDataModel docInfoData = _docInfoCacheRepository.GetItem();

            docInfoData.ContentInfo.Length = contentLength;

            _docInfoCacheRepository.SetItem(docInfoData);
        }
        public void SetFilePath(string filePath)
        {
            Guard.ThrowIfNullOrWhitespace(filePath, nameof(filePath));

            DocInfoDataModel docInfoData = _docInfoCacheRepository.GetItem();

            docInfoData.FileInfo.FilePath = filePath;

            _docInfoCacheRepository.SetItem(docInfoData);
        }