Preferences/ConfigurationPages/EditorHighlightersPage.py

changeset 3038
7fe9a53280bd
parent 3025
67064c71df21
child 3060
5883ce99ee12
child 3160
209a07d7e401
equal deleted inserted replaced
3037:a417a0670a36 3038:7fe9a53280bd
65 """ 65 """
66 Public slot to save the Editor Highlighter Associations configuration. 66 Public slot to save the Editor Highlighter Associations configuration.
67 """ 67 """
68 lexerAssocs = {} 68 lexerAssocs = {}
69 for index in range( 69 for index in range(
70 self.editorLexerList.topLevelItemCount()): 70 self.editorLexerList.topLevelItemCount()):
71 itm = self.editorLexerList.topLevelItem(index) 71 itm = self.editorLexerList.topLevelItem(index)
72 lexerAssocs[itm.text(0)] = itm.text(1) 72 lexerAssocs[itm.text(0)] = itm.text(1)
73 Preferences.setEditorLexerAssocs(lexerAssocs) 73 Preferences.setEditorLexerAssocs(lexerAssocs)
74 74
75 @pyqtSlot() 75 @pyqtSlot()

eric ide

mercurial