Add free text wrapping with constraints
This commit is contained in:
parent
2e8d62a1e3
commit
c2cd67105d
5 changed files with 75 additions and 6 deletions
|
|
@ -228,6 +228,11 @@ exports.launch = function(env) {
|
|||
session.setWrapLimit(80);
|
||||
renderer.setPrintMarginColumn(80);
|
||||
break;
|
||||
case "free":
|
||||
session.setUseWrapMode(true);
|
||||
session.setWrapLimitRange(null, null);
|
||||
renderer.setPrintMarginColumn(80);
|
||||
break;
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue