Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Reverse comment
Browse files Browse the repository at this point in the history
  • Loading branch information
TomMalbran committed Mar 13, 2014
1 parent c4190aa commit b72ae54
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/editor/Editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -1847,8 +1847,7 @@ define(function (require, exports, module) {
// Do not apply this option to inline editors
return;
} else if ((useTabChar && prefName === SPACE_UNITS) || (!useTabChar && prefName === TAB_SIZE)) {
// Set the CodeMirror option as long as it's not a change
// that is in conflict with the useTabChar setting.
// This change conflicts with the useTabChar setting, so do not change the CodeMirror option
return;
} else {
this._codeMirror.setOption(cmOptions[prefName], newValue);
Expand Down

0 comments on commit b72ae54

Please sign in to comment.