Preferences/ConfigurationPages/EditorHighlightersPage.py

branch
Py2 comp.
changeset 3060
5883ce99ee12
parent 3058
0a02c433f52d
parent 3038
7fe9a53280bd
child 3145
a9de05d4a22f
equal deleted inserted replaced
3058:0a02c433f52d 3060:5883ce99ee12
67 """ 67 """
68 Public slot to save the Editor Highlighter Associations configuration. 68 Public slot to save the Editor Highlighter Associations configuration.
69 """ 69 """
70 lexerAssocs = {} 70 lexerAssocs = {}
71 for index in range( 71 for index in range(
72 self.editorLexerList.topLevelItemCount()): 72 self.editorLexerList.topLevelItemCount()):
73 itm = self.editorLexerList.topLevelItem(index) 73 itm = self.editorLexerList.topLevelItem(index)
74 lexerAssocs[itm.text(0)] = itm.text(1) 74 lexerAssocs[itm.text(0)] = itm.text(1)
75 Preferences.setEditorLexerAssocs(lexerAssocs) 75 Preferences.setEditorLexerAssocs(lexerAssocs)
76 76
77 @pyqtSlot() 77 @pyqtSlot()

eric ide

mercurial