From c695db475a5ab425cc120bfb2b2384245e73b422 Mon Sep 17 00:00:00 2001 From: Matthew Kastor Date: Mon, 1 Apr 2013 01:34:38 -0400 Subject: [PATCH] set wrap limit wraps within 20 chars --- lib/ace/ext/show_settings_menu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }; } /**