SideBySide2: Document Shift-{Left,Right} in ? help popup

Shift-Left and Shift-Right can be used to transfer focus between
the two CM3 instances.

Change-Id: Ifd2976d77d2be25c9af673580fa123c6f086ef1b
This commit is contained in:
Shawn Pearce
2014-04-24 12:42:13 -07:00
parent 3720f22a9c
commit 4048817429
6 changed files with 17 additions and 0 deletions

View File

@@ -74,6 +74,12 @@ public abstract class KeyCommand implements KeyPressHandler {
case KeyCodes.KEY_ESCAPE:
namedKey(b, KeyConstants.I.keyEsc());
break;
case KeyCodes.KEY_LEFT:
namedKey(b, KeyConstants.I.keyLeft());
break;
case KeyCodes.KEY_RIGHT:
namedKey(b, KeyConstants.I.keyRight());
break;
default:
b.openSpan();
b.setStyleName(KeyResources.I.css().helpKey());

View File

@@ -35,4 +35,6 @@ public interface KeyConstants extends Constants {
String keyShift();
String keyEnter();
String keyEsc();
String keyLeft();
String keyRight();
}

View File

@@ -13,3 +13,5 @@ keyMeta = Meta
keyShift = Shift
keyEnter = Enter
keyEsc = Esc
keyLeft = Left
keyRight = Right