eric6/HexEdit/HexEditMainWindow.py

changeset 7628
f904d0eef264
parent 7533
88261c96484b
child 7759
51aa6c6b66f7
equal deleted inserted replaced
7626:7f643d41464e 7628:f904d0eef264
1390 @param key name of list to return 1390 @param key name of list to return
1391 @type str (must be 'search' or 'replace') 1391 @type str (must be 'search' or 'replace')
1392 @return the requested history list 1392 @return the requested history list
1393 @rtype list of tuples of (int, str) 1393 @rtype list of tuples of (int, str)
1394 """ 1394 """
1395 assert key in ['search', 'replace'] 1395 if key in ['search', 'replace']:
1396 1396 return self.__srHistory[key]
1397 return self.__srHistory[key] 1397
1398 return []
1398 1399
1399 @pyqtSlot() 1400 @pyqtSlot()
1400 def __showFileMenu(self): 1401 def __showFileMenu(self):
1401 """ 1402 """
1402 Private slot to modify the file menu before being shown. 1403 Private slot to modify the file menu before being shown.

eric ide

mercurial