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

Commit

Permalink
Added showPrintMargin option
Browse files Browse the repository at this point in the history
- Added new opts.showPrintMargin to enable/disable the print margin.
  • Loading branch information
erikpena authored and douglasduteil committed Jan 8, 2015
1 parent 320ffbe commit cb419eb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ui-ace.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ angular.module('ui.ace', [])
if (angular.isDefined(opts.useSoftTabs)) {
session.setUseSoftTabs(opts.useSoftTabs);
}
if (angular.isDefined(opts.showPrintMargin)) {
acee.setShowPrintMargin(opts.showPrintMargin);
}

// commands
if (angular.isDefined(opts.disableSearch) && opts.disableSearch) {
Expand Down

0 comments on commit cb419eb

Please sign in to comment.