##// END OF EJS Templates
Changed right arrow key movement function to mirror left arrow key movement.
unknown -
Show More
@@ -1364,13 +1364,12 b" class ConsoleWidget(MetaQObjectHasTraits('NewBase', (LoggingConfigurable, QtGui."
1364
1364
1365 elif key == QtCore.Qt.Key_Right:
1365 elif key == QtCore.Qt.Key_Right:
1366 original_block_number = cursor.blockNumber()
1366 original_block_number = cursor.blockNumber()
1367 cursor.movePosition(QtGui.QTextCursor.Right,
1367 self._control.moveCursor(QtGui.QTextCursor.Right,
1368 mode=anchormode)
1368 mode=anchormode)
1369 if cursor.blockNumber() != original_block_number:
1369 if cursor.blockNumber() != original_block_number:
1370 cursor.movePosition(QtGui.QTextCursor.Right,
1370 self._control.moveCursor(QtGui.QTextCursor.Right,
1371 n=len(self._continuation_prompt),
1371 n=len(self._continuation_prompt),
1372 mode=anchormode)
1372 mode=anchormode)
1373 self._set_cursor(cursor)
1374 intercepted = True
1373 intercepted = True
1375
1374
1376 elif key == QtCore.Qt.Key_Home:
1375 elif key == QtCore.Qt.Key_Home:
General Comments 0
You need to be logged in to leave comments. Login now