Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Commit cb419eb

Browse files
erikpenadouglasduteil
authored andcommitted
Added showPrintMargin option
- Added new opts.showPrintMargin to enable/disable the print margin.
1 parent 320ffbe commit cb419eb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ui-ace.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ angular.module('ui.ace', [])
5858
if (angular.isDefined(opts.useSoftTabs)) {
5959
session.setUseSoftTabs(opts.useSoftTabs);
6060
}
61+
if (angular.isDefined(opts.showPrintMargin)) {
62+
acee.setShowPrintMargin(opts.showPrintMargin);
63+
}
6164

6265
// commands
6366
if (angular.isDefined(opts.disableSearch) && opts.disableSearch) {

0 commit comments

Comments
 (0)