##// END OF EJS Templates
* Added support for Ctrl-L per Fernando's request....
epatters -
Show More
@@ -629,7 +629,13 b' class ConsoleWidget(QtGui.QWidget):'
629 cursor.removeSelectedText()
629 cursor.removeSelectedText()
630 intercepted = True
630 intercepted = True
631
631
632 elif key == QtCore.Qt.Key_L:
633 self.clear()
634 intercepted = True
635
632 elif key == QtCore.Qt.Key_X:
636 elif key == QtCore.Qt.Key_X:
637 # FIXME: Instead of disabling cut completely, only allow it
638 # when safe.
633 intercepted = True
639 intercepted = True
634
640
635 elif key == QtCore.Qt.Key_Y:
641 elif key == QtCore.Qt.Key_Y:
@@ -1285,7 +1291,10 b' class HistoryConsoleWidget(ConsoleWidget):'
1285 source, hidden, interactive)
1291 source, hidden, interactive)
1286
1292
1287 if executed and not hidden:
1293 if executed and not hidden:
1288 self._history.append(history.rstrip())
1294 # Save the command unless it was a blank line.
1295 history = history.rstrip()
1296 if history:
1297 self._history.append(history)
1289 self._history_index = len(self._history)
1298 self._history_index = len(self._history)
1290
1299
1291 return executed
1300 return executed
1 NO CONTENT: modified file
NO CONTENT: modified file
General Comments 0
You need to be logged in to leave comments. Login now