| 1873 | self.context_int.pack(side=TOP, padx=5, pady=5) |
| 1874 | |
| 1875 | def load_shelled_cfg(self): |
| 1876 | # Set variables for shell windows. |
| 1877 | self.auto_squeeze_min_lines.set(idleConf.GetOption( |
| 1878 | 'main', 'PyShell', 'auto-squeeze-min-lines', type='int')) |
| 1879 | # Set variables for editor windows. |
| 1880 | self.autosave.set(idleConf.GetOption( |
| 1881 | 'main', 'General', 'autosave', default=0, type='bool')) |
| 1882 | self.line_numbers_default.set(idleConf.GetOption( |
| 1883 | 'main', 'EditorWindow', 'line-numbers-default', type='bool')) |
| 1884 | self.context_lines.set(idleConf.GetOption( |
| 1885 | 'extensions', 'CodeContext', 'maxlines', type='int')) |
| 1886 | |
| 1887 | |
| 1888 | class ExtPage(Frame): |