Skip to content

Commit

Permalink
working on a fix for #3057
Browse files Browse the repository at this point in the history
  • Loading branch information
benfry committed Apr 1, 2015
1 parent fadba81 commit ff415dc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/src/processing/app/Editor.java
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,11 @@ public void processKeyEvent(KeyEvent evt) {
super.processKeyEvent(evt);

if (inputHandler != null) {
// Prevent sketch being marked modified cia ctrl-, on Windows/Linux
if ((evt.getModifiers() & InputEvent.CTRL_MASK) != 0 &&
evt.getKeyChar() == ',') {
return;
}
switch (evt.getID()) {
case KeyEvent.KEY_TYPED:
inputHandler.keyTyped(evt);
Expand Down

0 comments on commit ff415dc

Please sign in to comment.