diff --git a/lib/ace/ext/show_settings_menu.js b/lib/ace/ext/show_settings_menu.js index af846834..c00e114a 100644 --- a/lib/ace/ext/show_settings_menu.js +++ b/lib/ace/ext/show_settings_menu.js @@ -46,7 +46,7 @@ define(function(require, exports, module) { // this allows the settings menu to supply a wrap limit // using a text input field easily editor.session.setWrapLimit = function (limit) { - editor.session.setWrapLimitRange(limit, limit); + editor.session.setWrapLimitRange(limit - 20, limit); }; } /**