parameters: (self)
docstring: Save configuration changes to the user config file.
docstring_summary: Save configuration changes to the user config file.
docstring_tokens: Save configuration changes to the user config file .
function: def SaveAllChangedConfigs(self):
          "Save configuration changes to the user config file."
          idleConf.userCfg['main'].Save()
          for configType in self.changedItems.keys():
              cfgTypeHasChanges = False
              for section in self.changedItems[configType].keys():
                  if section == 'HelpFiles':
                      #this section gets completely replaced
                      idleConf.userCfg['main'].remove_section('HelpFiles')
                      cfgTypeHasChanges = True
                  for item in self.changedItems[configType][section].keys():
                      value = self.changedItems[configType][section][item]
                      if self.SetUserValue(configType,section,item,value):
                          cfgTypeHasChanges = True
              if cfgTypeHasChanges:
                  idleConf.userCfg[configType].Save()
          for configType in ['keys', 'highlight']:
              # save these even if unchanged!
              idleConf.userCfg[configType].Save()
          self.ResetChangedItems()
function_tokens: def SaveAllChangedConfigs ( self ) : idleConf . userCfg [ 'main' ] . Save ( ) for configType in self . changedItems . keys ( ) : cfgTypeHasChanges = False for section in self . changedItems [ configType ] . keys ( ) : if section == 'HelpFiles' : #this section gets completely replaced idleConf . userCfg [ 'main' ] . remove_section ( 'HelpFiles' ) cfgTypeHasChanges = True for item in self . changedItems [ configType ] [ section ] . keys ( ) : value = self . changedItems [ configType ] [ section ] [ item ] if self . SetUserValue ( configType , section , item , value ) : cfgTypeHasChanges = True if cfgTypeHasChanges : idleConf . userCfg [ configType ] . Save ( ) for configType in [ 'keys' , 'highlight' ] : # save these even if unchanged! idleConf . userCfg [ configType ] . Save ( ) self . ResetChangedItems ( )