1276 Public method to get the search or replace history list. |
1276 Public method to get the search or replace history list. |
1277 |
1277 |
1278 @param key name of list to return |
1278 @param key name of list to return |
1279 @type str (must be 'search' or 'replace') |
1279 @type str (must be 'search' or 'replace') |
1280 @return the requested history list |
1280 @return the requested history list |
1281 @type list of tuples of (int, str) |
1281 @rtype list of tuples of (int, str) |
1282 """ |
1282 """ |
1283 assert key in ['search', 'replace'] |
1283 assert key in ['search', 'replace'] |
1284 |
1284 |
1285 return self.__srHistory[key] |
1285 return self.__srHistory[key] |