Commit 183271c7 by Bridger Maxwell

Removed debug comments.

parent 22c46e96
......@@ -498,17 +498,17 @@ var CodeMirror = (function() {
if (!bound) return false;
}
var prevShift = shiftSelecting;
// try { //TODO: Reenable this try/catch
try {
if (options.readOnly) suppressEdits = true;
if (dropShift) shiftSelecting = null;
bound(instance);
// } catch(e) {
// if (e != Pass) throw e;
// return false;
// } finally {
// shiftSelecting = prevShift;
// suppressEdits = false;
// }
} catch(e) {
if (e != Pass) throw e;
return false;
} finally {
shiftSelecting = prevShift;
suppressEdits = false;
}
return true;
}
function handleKeyBinding(e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment