public void Enable()
        {
            if (autoClose != null) return;
            autoClose = new AutoClose();
            if (settings.CloseFunctionAndNew)
                autoClose.EnableFunctionAndNewClose();

            enabled = true;

            if (settings.CreateParameters)
            autoClose.abbreviations = this.abbreviations;
        }
        // Enable DoubleChar and add Listener to Open documents
        public void EnabledAutoCloseAndListenOpenDocuments()
        {
            if (autoClose != null) return;
            autoClose = new AutoClose();

            autoClose.InsertAllDocument();

            if (settings.CloseFunctionAndNew)
                autoClose.EnableFunctionAndNewClose();

            if(settings.CreateParameters)
            autoClose.abbreviations = abbreviations;

            enabled = true;
        }