src/eric7/Preferences/ConfigurationPages/EditorHighlightersPage.py

branch
eric7
changeset 10069
435cc5875135
parent 9653
e67609152c5e
child 10373
093dcebe5ecb
equal deleted inserted replaced
10068:7febcdccb2a1 10069:435cc5875135
120 120
121 self.editorLexerList.clearSelection() 121 self.editorLexerList.clearSelection()
122 self.editorFileExtEdit.clear() 122 self.editorFileExtEdit.clear()
123 self.editorLexerCombo.setCurrentIndex(0) 123 self.editorLexerCombo.setCurrentIndex(0)
124 124
125 @pyqtSlot(QTreeWidgetItem, int)
125 def on_editorLexerList_itemClicked(self, itm, column): 126 def on_editorLexerList_itemClicked(self, itm, column):
126 """ 127 """
127 Private slot to handle the clicked signal of the lexer association 128 Private slot to handle the clicked signal of the lexer association
128 list. 129 list.
129 130
130 @param itm reference to the selecte item (QTreeWidgetItem) 131 @param itm reference to the selected item (QTreeWidgetItem)
131 @param column column the item was clicked or activated (integer) 132 @param column column the item was clicked or activated (integer)
132 (ignored) 133 (ignored)
133 """ 134 """
134 if itm is None: 135 if itm is None:
135 self.editorFileExtEdit.clear() 136 self.editorFileExtEdit.clear()

eric ide

mercurial