Lines Matching defs:changes

13 from idlelib.configdialog import idleConf, changes, tracers
28 mainpage = changes['main']
29 highpage = changes['highlight']
30 keyspage = changes['keys']
31 extpage = changes['extensions']
47 changes.clear()
88 changes['main']['something'] = 1
90 self.assertEqual(changes['main'], {})
106 """Test that font widgets enable users to make font changes.
108 Test that widget actions set vars, that var changes add three
109 options to changes and call set_samples, and that set_samples
110 changes the font of both sample boxes.
124 changes.clear()
228 changes.clear()
236 changes.clear()
264 """Test that highlight tab widgets enable users to make changes.
266 Test that widget actions set vars, that var changes add
267 options to changes and that themes work correctly.
292 changes.clear()
350 changes.clear()
374 changes.clear()
382 changes.clear()
397 changes.clear()
618 # No changes, so themes are an exact copy.
629 changes.add_option('highlight', first_new, 'hit-background', 'yellow')
635 # Check that difference in themes was in `hit-background` from `changes`.
696 # Base theme with nothing in `changes`.
704 # Apply changes.
706 changes.add_option('highlight', theme, 'console-'+key, value)
775 """Test that keys tab widgets enable users to make changes.
777 Test that widget actions set vars, that var changes add
778 options to changes and that key sets works correctly.
799 changes.clear()
856 changes.clear()
882 changes.clear()
891 changes.clear()
907 changes.clear()
1061 # No changes, so keysets are an exact copy.
1072 changes.add_option('keys', first_new, 'copy', '<Key-F11>')
1078 # Check that difference in keysets was in option `copy` from `changes`.
1095 changes.add_option('keys', 'my keys', 'spam', '<Shift-Key-a>')
1186 """Test that general tab widgets enable users to make changes.
1188 Test that widget actions set vars, that var changes add
1189 options to changes.
1198 changes.clear()
1217 changes.clear()
1227 changes.clear()
1252 changes.clear()
1256 changes.clear()
1267 """Test that shed tab widgets enable users to make changes.
1269 Test that widget actions set vars, that var changes add
1270 options to changes.
1279 changes.clear()
1331 changes.clear()
1543 self.assertNotIn('section', changes['main'])
1546 self.assertIn('section', changes['main'])
1547 self.assertEqual(changes['main']['section']['option'], '42')
1548 changes.clear()