diff --git a/lib/ace/edit_session.js b/lib/ace/edit_session.js index f802da0b..2c556409 100644 --- a/lib/ace/edit_session.js +++ b/lib/ace/edit_session.js @@ -461,21 +461,29 @@ var EditSession = function(text, mode) { * Pass `true` to enable the use of soft tabs. Soft tabs means you're using spaces instead of the tab character (`'\t'`). * @param {Boolean} useSoftTabs Value indicating whether or not to use soft tabs **/ - this.setUseSoftTabs = function(val) { this.setOption("useSoftTabs", val); }; + this.setUseSoftTabs = function(val) { + this.setOption("useSoftTabs", val); + }; /** * Returns `true` if soft tabs are being used, `false` otherwise. * @returns {Boolean} **/ - this.getUseSoftTabs = function() { return this.$useSoftTabs; }; + this.getUseSoftTabs = function() { + return this.$useSoftTabs; + }; /** * Set the number of spaces that define a soft tab; for example, passing in `4` transforms the soft tabs to be equivalent to four spaces. This function also emits the `changeTabSize` event. * @param {Number} tabSize The new tab size **/ - this.setTabSize = function(tabSize) { this.setOption("tabSize", tabsSize) } + this.setTabSize = function(tabSize) { + this.setOption("tabSize", tabSize) + }; /** * Returns the current tab size. **/ - this.getTabSize = function() { return this.$tabSize; }; + this.getTabSize = function() { + return this.$tabSize; + }; /** * Returns `true` if the character at the position is a soft tab.