示例#1
0
 public override void LoadUserDefinedPresets()
 {
     autoListMembersCheckBox.Checked           = _settings.GetValue <bool>("AutoCompletion.AutoComplete");
     showSuggestionsListComboBox.SelectedIndex = Convert.ToInt32(!_settings.GetValue <bool>("AutoCompletion.ShowSuggestionsWhenTyping"));
     autoCompleteCharsTextBox.Text             = _settings.GetValue <string>("AutoCompletion.AutoCompleteCommitChars");
     completeOnSpaceBarCheckBox.Checked        = _settings.GetValue <bool>("AutoCompletion.AutoCompleteCommitOnSpaceBar");
     completeOnTabCheckBox.Checked             = _settings.GetValue <bool>("AutoCompletion.AutoCompleteCommitOnTab");
     autoCompleteCodeBlocksCheckBox.Checked    = _settings.GetValue <bool>("AutoCompletion.AutoCompleteCodeBlocks");
     autoAddParanthesesCheckBox.Checked        = _settings.GetValue <bool>("AutoCompletion.AutoCompleteMethodParantheses");
 }
 public override void LoadUserDefinedPresets()
 {
     lineNumbersCheckBox.Checked          = _settings.GetValue <bool>("General.LineNumbers");
     wordWrapCheckBox.Checked             = _settings.GetValue <bool>("General.WordWrap");
     syntaxHighlightingCheckBox.Checked   = _settings.GetValue <bool>("General.SyntaxHighlighting");
     trackChangesCheckBox.Checked         = _settings.GetValue <bool>("General.TrackUnsavedChanges");
     highLightCurrentLineCheckBox.Checked = _settings.GetValue <bool>("General.HighlightCurrentLine");
     documentMiniMapCheckBox.Checked      = _settings.GetValue <bool>("General.ShowDocumentMiniMap");
 }