set wrap limit wraps within 20 chars

This commit is contained in:
Matthew Kastor 2013-04-01 01:34:38 -04:00 committed by nightwing
commit c695db475a

View file

@ -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);
};
}
/**