'Update the text widgets\' font if it is changed'

def ResetFont(self):

    fontWeight = 'normal'
    if idleConf.GetOption('main', 'EditorWindow', 'font-bold', type='bool'):
        fontWeight = 'bold'
    self.text.config(font=(idleConf.GetOption('main', 'EditorWindow', 'font'), idleConf.GetOption('main', 'EditorWindow', 'font-size'), fontWeight))
