Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

allow esc key to interrupt the console even if used in the source pane

  • Loading branch information...
commit 60f3926d9fe789c6726aa8f6b2f6064077983fc3 1 parent 52f87a8
@jjallaire jjallaire authored
View
7 src/gwt/src/org/rstudio/studio/client/workbench/views/source/editors/text/TextEditingTarget.java
@@ -301,6 +301,13 @@ else if (mod == KeyboardShortcut.CTRL
event.stopPropagation();
jumpToNextFunction();
}
+ else if ((ne.getKeyCode() == KeyCodes.KEY_ESCAPE) &&
+ !prefs_.useVimMode().getValue())
+ {
+ event.preventDefault();
+ event.stopPropagation();
+ commands_.interruptR().execute();
+ }
}
});
Please sign in to comment.
Something went wrong with that request. Please try again.