11 |
11 |
12 from .ConfigurationPageBase import ConfigurationPageBase |
12 from .ConfigurationPageBase import ConfigurationPageBase |
13 from .Ui_EditorTypingPage import Ui_EditorTypingPage |
13 from .Ui_EditorTypingPage import Ui_EditorTypingPage |
14 |
14 |
15 import Preferences |
15 import Preferences |
|
16 |
16 |
17 |
17 class EditorTypingPage(ConfigurationPageBase, Ui_EditorTypingPage): |
18 class EditorTypingPage(ConfigurationPageBase, Ui_EditorTypingPage): |
18 """ |
19 """ |
19 Class implementing the Editor Typing configuration page. |
20 Class implementing the Editor Typing configuration page. |
20 """ |
21 """ |
144 index = self.pageIds[language] |
145 index = self.pageIds[language] |
145 except KeyError: |
146 except KeyError: |
146 index = self.pageIds[' '] |
147 index = self.pageIds[' '] |
147 self.stackedWidget.setCurrentIndex(index) |
148 self.stackedWidget.setCurrentIndex(index) |
148 |
149 |
|
150 |
149 def create(dlg): |
151 def create(dlg): |
150 """ |
152 """ |
151 Module function to create the configuration page. |
153 Module function to create the configuration page. |
152 |
154 |
153 @param dlg reference to the configuration dialog |
155 @param dlg reference to the configuration dialog |