Beispiel #1
0
        public async Task SaveAsync()
        {
            _textEditorForm.UpdatePosition(Name, _rtb.GetPosition());
            if (!_changed)
            {
                return;
            }
            await Env.Cipher.EncryptToFileAsync(File, new TitleTextPair(Title, Text).ToString());

            _changed = false;
        }