Support for moving cursor with control or alt pressed down

This commit is contained in:
Inez Korczynski 2011-11-11 03:06:47 +00:00
parent c03e5fbc49
commit 5acd21638a

View file

@ -350,7 +350,7 @@ es.SurfaceView.prototype.moveCursor = function( instruction ) {
instruction === 'left' ? -1 : 1
);
if ( this.keyboard.keys.shift && ( this.keyboard.keys.control || this.keyboard.keys.alt ) ) {
if ( this.keyboard.keys.control || this.keyboard.keys.alt ) {
var wordRange = this.documentView.model.getWordBoundaries(
instruction === 'left' ? newTo : offset
);