コード例 #1
0
        private void loadSettings()
        {
            singletonSettings = EditorSettings.getInstance();

            HighlightWordProperties highlightWordProperties = new HighlightWordProperties(singletonSettings.HighlightWord);

            this.propHighlightWord.SelectedObject = highlightWordProperties;

            HighlightLineProperties highlightLineProperties = new HighlightLineProperties(singletonSettings.HighlightCurrentLine);

            this.propHighlightLine.SelectedObject = highlightLineProperties;

            nRows.Value = singletonSettings.Outlining.MaxRowsInTooltip;

            SelectedCB.Checked = singletonSettings.HighlightWord.SelectedWord;
            EnableBM.Checked   = singletonSettings.GeneralSettings.EnableBM;
            EnableCL.Checked   = singletonSettings.GeneralSettings.EnableCL;
            EnableWH.Checked   = singletonSettings.GeneralSettings.EnableWH;
            EnableOL.Checked   = singletonSettings.GeneralSettings.EnableOL;
        }
コード例 #2
0
        private void LoadSettings()
        {
            EditorSettings settings = EditorSettings.getInstance();

            EnableBM = settings.GeneralSettings.EnableBM;
        }