public bool SaveState()
        {
            bool _result = false;

            if (_StateSnippet == null)
            {
                return(false);
            }
            _StateSnippet.SetCode(_tb.Text, out _result);

            _StateSnippet.Wordwrap    = _tb.WordWrap;
            _StateSnippet.CurrentLine = _tb.CurrentLineNumber();
            if (_result)
            {
                _StateSnippet.CodeLastModificationDate = DateTime.Now;
            }
            return(_result);
        }