set wrap limit wraps within 20 chars
This commit is contained in:
parent
6b1e90fbc7
commit
c695db475a
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ define(function(require, exports, module) {
|
||||||
// this allows the settings menu to supply a wrap limit
|
// this allows the settings menu to supply a wrap limit
|
||||||
// using a text input field easily
|
// using a text input field easily
|
||||||
editor.session.setWrapLimit = function (limit) {
|
editor.session.setWrapLimit = function (limit) {
|
||||||
editor.session.setWrapLimitRange(limit, limit);
|
editor.session.setWrapLimitRange(limit - 20, limit);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue